1 2004-05-28 Peter Barada <peter@the-baradas.com>
3 * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing
4 with zero offset into mode 2 addressing to save a word.
6 2004-05-27 H.J. Lu <hongjiu.lu@intel.com>
8 * config/tc-ia64.c (ar_is_in_integer_unit): Removed.
9 (ar_is_only_in_integer_unit): New.
10 (ar_is_only_in_memory_unit): New.
11 (generate_unwind_image): Silence gcc on 32bit host.
12 (md_assemble): Use ar_is_only_in_integer_unit instead of
13 ar_is_in_integer_unit. Check AR access.
15 2004-05-27 Peter Barada <peter@the-baradas.com>
17 * config/tc-m68k.c (md_begin): Sort the opcode table into
19 (m68k_compare_opcode): New function to do the sorting.
21 2004-05-24 Peter Barada <peter@the-baradas.com>
23 * config/m68k-parse.y(operand): Allow for MAC/EMAC mask
24 addressing on MIT style operands.
25 * config/m68k-parse.y(yylex): Allow '-&' for predecrement
27 * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type
30 2004-05-23 Alan Modra <amodra@bigpond.net.au>
32 * expr.c (operand, operator): Don't reject '++' and '--'.
34 2004-05-20 Richard Sandiford <rsandifo@redhat.com>
36 * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
39 2004-05-17 Adam Nemet <anemet@lnxw.com>
41 * configure.in: Add ppc-*-lynxos*. Update i386-*-lynxos* to ELF.
42 * configure: Regenerate.
44 2004-05-13 Paul Brook <paul@codesourcery.com>
46 * dw2gencfi.c (output_cie): Handle dwarf3 format CIE entries.
48 2004-05-13 Joel Sherrill <joel@oarcorp.com>
50 * configure.in (or32-*-rtems*): Switch to elf.
51 * configure: Regenerate.
53 2004-05-13 Nick Clifton <nickc@redhat.com>
55 * po/fr.po: Updated French translation.
57 2004-05-11 Nick Clifton <nickc@redhat.com>
59 * doc/as.texinfo (Section): Document G and T flags to .section
60 directive. Document the extra arguments that the G flag
61 requires. Document the #tls flag.
63 2004-05-11 H.J. Lu <hongjiu.lu@intel.com>
65 * subsegs.c (section_symbol): Create a new section symbol if
66 the existing one doesn't match.
67 * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol.
69 2004-05-07 Richard Sandiford <rsandifo@redhat.com>
71 * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120
72 to cope with VR4181A errata MD(1) and MD(4).
74 2004-05-07 Brian Ford <ford@vss.fsi.com>
76 * NEWS: Mention .secrel32 for pe[i]-i386.
78 2004-05-07 Alexandre Oliva <aoliva@redhat.com>
80 * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
83 2004-05-06 Daniel Jacobowitz <dan@debian.org>
85 * Makefile.am (DIST_SUBDIRS): Define.
86 * aclocal.m4: Regenerate with automake 1.8.4.
87 * Makefile.in: Likewise.
88 * doc/Makefile.in: Likewise.
90 2004-05-06 David Mosberger-Tang <davidm@hpl.hp.com>
92 * config/tc-ia64.c (dot_serialize): Declare.
93 (dot_serialize): New function.
94 (md_pseudo_table): Add ".serialize.data" and
95 ".serialize.instruction" directives.
97 2004-05-06 Nick Clifton <nickc@redhat.com>
99 * messages (as_internal_value_out_of_range): Print a message about
100 a value being out of range. Be consistent about whether the
101 values are printed in decimal or hexadecimal.
102 (as_warn_value_out_of_range): Generate a warning message about an
104 (as_bad_value_out_of_range): Generate an error message about an
106 * as.h: Prototype the new functions.
107 * config/tc-alpha.c (insert_operand): Use new function.
108 * config/tc-arc.c (arc_insert_operand): Likewise.
109 * config/tc-mn10200.c (mn10200_insert_operand): Likewise.
110 * config/tc-mn10300.c (mn10300_insert_operand): Likewise.
111 * config/tc-ppc.c (ppc_insert_operand): Likewise.
112 * config/tc-s390.c (s390_insert_operand): Likewise.
113 * config/tc-v850.c (v850_insert_operand): Likewise.
115 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
117 * configure.in: Set em=linux for frv-*-*linux*.
118 * configure: Rebuilt.
119 * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
120 (frv_md_fdpic_enabled): New.
121 * config/tc-frv.c (frv_md_fdpic_enabled): New.
122 (DEFAULT_FDPIC): New.
123 (frv_flags): Use DEFAULT_FDPIC.
124 (frv_pic_flag): Likewise.
126 (md_longopts): Add -mnopic.
127 (md_parse_option): Handle it.
128 (md_show_usage): Add -mfdpic and -mnopic.
130 2004-05-05 Peter Barada <peter@the-baradas.com>
132 * config/tc-m68k.c: Add find_cf_chip to print list of valid
133 chips for invalid coldfire instructions, rename selectors
134 for ColdFire sub-variants, add 521x,5249,547x,548x and aliases,
135 add current_chip to track which chip is referred to(including save/restore),
136 use current_chip to select control registers, not current_arch.
137 (md_show_usage): Add new chips.
138 * doc/c-m68k.texi: Document new command line switches.
140 2004-05-05 Jakub Jelinek <jakub@redhat.com>
142 * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
143 (NOP_OPCODE): Define.
144 (s390_align_code): Remove prototype.
145 * tc-s390.c (s390_align_code): Remove.
147 2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
149 * config/tc-ia64.c (make_unw_section_name): Removed.
150 (start_unwind_section): New function.
151 (generate_unwind_image): Take const segT instead of const
153 (dot_handlerdata): Adjusted.
154 (dot_endp): Likewise.
156 2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
158 * config/obj-elf.c (obj_elf_change_section): Allow the
159 ".note.GNU-stack" section has SHF_EXECINSTR.
161 2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
163 * config/obj-elf.c (get_section): Return bfd_boolean.
164 (obj_elf_change_section): Call bfd_get_section_by_name_if
165 instead of bfd_map_over_sections.
167 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
169 * config/obj-elf.c (get_section): New function.
170 (obj_elf_change_section): Support multiple sections with same
173 2004-04-30 Nick Clifton <nickc@redhat.com>
175 * config/tc-arm.c (create_register_alias): Fix typo checking for
176 case sensitive register aliases.
177 (co_proc_number): Use error message string in all_reg_maps[]
179 (cp_reg_required_here): Likewise.
180 (fp_reg_required_here): Likewise.
182 2004-04-29 Brian Ford <ford@vss.fsi.com>
184 * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags.
186 2004-04-28 Chris Demetriou <cgd@broadcom.com>
188 * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build)
189 (load_address, macro, mips_ip, md_parse_option)
190 (mips_force_relocation, mips_validate_fix, md_apply_fix3)
191 (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all
192 embedded-PIC handling, and update comments.
193 (SWITCH_TABLE): Remove.
194 * config/tc-mips.h (DIFF_EXPR_OK): Delete.
195 (enum mips_pic_level): Remove EMBEDDED_PIC.
196 (EXTERN_FORCE_RELOC): Remove embedded-PIC handling.
197 (TC_FORCE_RELOCATION): Update comment.
198 * ecoff.c (ecoff_build_lineno): Add comment about some code that
199 might be safe to remove now that MIPS embedded-PIC is gone.
201 2004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
203 * config/obj-som.c (obj_som_init_stab_section): Add new arguments in
204 call to obj_set_subsection_attributes.
205 (obj_som_init_stab_section): Likewise.
206 * config/tc-hppa.c (default_subspace_dict): Add comdat field.
207 (pa_def_subspaces): Provide comdat default.
208 (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and
209 not SEC_IS_COMMON if section is comdat, common or dup_common. Update
210 calls to create_new_subspace and update_subspace to pass comdat flag.
211 (create_new_subspace, update_subspace): Add new comdat argument. Use
212 it in calls to obj_set_subsection_attributes.
213 * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter
214 and use of comdat, common and dup_comm parameters.
216 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
218 * config/obj-elf.c (obj_elf_change_section): Check if the old
219 group name is NULL before comparison.
221 2004-04-23 Chris Demetriou <cgd@broadcom.com>
223 * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
225 2004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
227 * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
229 2004-04-23 Chris Demetriou <cgd@broadcom.com>
231 * config/tc-mips.c (md_longopts): Remove -membedded-pic option.
232 (OPTION_MEMBEDDED_PIC): Remove.
233 (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
234 (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
235 (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
236 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
237 (OPTION_ELF_BASE): Renumber.
238 (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
239 (md_show_usage): Remove mention of -membedded-pic.
240 * doc/as.texinfo: Remove mention of -membedded-pic.
242 2004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
244 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
245 * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
247 (md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
248 s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
249 USE_GLOBAL_POINTER_OPT.
251 2004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
253 * config/tc-mips.c (macro): One more use of load_delay_nop.
255 2004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
257 * config/tc-mips.c (load_delay_nop): New function.
258 (load_address, macro): Use load_delay_nop() to build a nop
259 which can be omitted with gpr_interlocks.
261 2004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
263 * config/tc-mips.c (hilo_interlocks, gpr_interlocks,
264 cop_interlocks): Remove superfluous CPU entries.
266 2004-04-22 Paul Brook <paul@codesourcery.com>
268 * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
270 2004-04-22 Peter Barada <peter@the-baradas.com>
272 * NEWS: Added support for EMAC instructions and MAC/EMAC
274 * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
275 scale factor tokens, trailing_ampersand to mark mask addressing
276 for MAC/EMAC instructions.
277 * config/m68k-parse.y: Add options_ampersand clause, '<<',
279 (yylex): Handle '>', '<', and '&' following '+'.
280 * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
281 architectures in archs[].
282 (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
283 for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
285 (m68k_ip): Handle trailing '&' on MAC/EMAC insns.
286 (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
288 Add EMAC operands to init_table[].
290 2004-04-22 Bruno De Bus <bdebus@elis.ugent.be>
292 * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
294 (TC_SEGMENT_INFO_TYPE): Define to enum mstate.
295 * config/tc-arm.c (enum mstate): Delete from here.
296 (mapping_state): Remove the static mapstate variable and instead
297 store the state in the segment. This allows a per-section mapping
298 state. Handle and ignore MAP_UNDEFINED states.
299 (arm_elf_change_section): Get the current mapping state from the
301 (s_ltorg): Set the mapping state to MAP_DATA.
302 (arm_cleanup): Use arm_elf_change_section to get the mapping state
303 for each pool as it is emitted.
305 2004-04-22 Nick Clifton <nickc@redhat.com>
307 * config/tc-arm.h: Formatting tidy ups.
309 2004-04-20 Chris Demetriou <cgd@broadcom.com>
311 * NEWS: Note that MIPS -membedded-pic option is deprecated.
313 2004-04-20 DJ Delorie <dj@redhat.com>
315 * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define.
316 * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32".
317 [TE_PE] (O_secrel): Define.
318 [TE_PE] (x86_pe_cons_fix_new): New.
319 [TE_PE] (pe_directive_secrel): Likewise.
320 (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL.
322 2004-04-19 Eric Christopher <echristo@redhat.com>
324 * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
325 of previous patch for fix in gcc.
327 2004-04-19 Jakub Jelinek <jakub@redhat.com>
329 * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
331 2004-04-19 Nathan Sidwell <nathan@codesourcery.com>
333 * read.c (do_align): Call md_flush_pending_output, if defined.
335 2004-04-16 Alan Modra <amodra@bigpond.net.au>
337 * expr.c (operand): Correct checks for ++ and --.
339 2004-04-14 H.J. Lu <hongjiu.lu@intel.com>
341 * config/tc-generic.c: Add some comments.
343 2004-04-14 Richard Sandiford <rsandifo@redhat.com>
345 * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
346 -{no-}mfix-vr4122-bugs.
347 * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
348 (append_insn, mips_emit_delays): Update accordingly.
349 (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
350 (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
351 (md_parse_option): Update after above changes.
352 (md_show_usage): Add -mfix-vr4120.
354 2004-04-13 Bob Wilson <bob.wilson@acm.org>
356 * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
357 of .section directive; add a reference to the ELF .subsection
360 2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
362 * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
365 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
367 * Makefile.am: Remove mips from aout targets.
368 * Makefile.in: Regenerate.
369 * configure.in: Remove mips-dec-bsd* target.
370 * configure: Regenerate.
372 2004-04-07 Alan Modra <amodra@bigpond.net.au>
375 * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
376 to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64.
377 Update "mapping". Restrict some @ modifiers to 32 bit.
379 2004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
380 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
382 * config/tc-sh.c (dont_adjust_reloc_32): New variable.
383 (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
384 dont_adjust_reloc_32 is set.
385 (md_longopts): Add option -renesas.
386 (md_parse_option, md_show_usage): Likewise.
387 * doc/c-sh.texi: Likewise.
389 2004-04-01 Dave Korn <dk@artimi.com>
391 * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
392 hi16 and lo16 fixS structs.
393 (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
394 exactly the same way as for RELOC_DLX_REL16.
395 (machine_ip): properly respect LO flag in the_insn and
396 output RELOC_DLX_LO16 rather than RELOC_DLX_16.
397 (md_apply_fix3): apply RELOC_DLX_LO16.
399 2004-03-30 Stan Shebs <shebs@apple.com>
401 Remove long-obsolete MPW support.
402 * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
403 * configure.in: Remove mention of ppc-*-mpw* config.
404 * configure.in: Likewise.
406 2004-03-30 Nick Clifton <nickc@redhat.com>
408 * config/tc-arm.c (meabi_flags): Make its use conditional upon
409 OBJ_ELF being defined.
411 2004-03-27 Alan Modra <amodra@bigpond.net.au>
413 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
415 2004-03-23 Paul Brook <paul@codesourcery.com>
417 * config/tc-arm.c (meabi_flags): New variable.
418 (arm_parse_eabi): New function.
419 (md_begin): Set flags for EABI v3.
421 (arm_long_opts): Add meabi.
422 * doc/as.texinf <ARM>: Document -meabi.
423 * doc/c-arm.texi: Ditto.
425 2004-03-22 Bob Wilson <bob.wilson@acm.org>
427 * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
428 tables even when use_literal_section flag is not set.
430 2004-03-22 Alan Modra <amodra@bigpond.net.au>
432 * config/tc-sh.c: Remove trailing whitespace.
434 2004-03-22 Hans-Peter Nilsson <hp@axis.com>
436 * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
437 --mul-bug-abort and the default behavior.
438 * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
439 (err_for_dangerous_mul_placement): New variable.
440 (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
442 (md_cris_relax_table): Have placeholder for STATE_MUL.
443 (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
444 (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
446 (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
448 (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
449 alignment and position of this frag, emit error message if
451 (md_assemble): For a multiply insn and when checking it,
452 transform the current frag into a special frag for that purpose.
453 (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
454 OPTION_MULBUG_ABORT_ON>: Handle new options.
456 2004-03-19 Bob Wilson <bob.wilson@acm.org>
458 * config/tc-xtensa.c (mark_literal_frags): New function.
459 (xtensa_move_literals): Call mark_literal_frags for all literal
460 segments, including init and fini literal segments.
461 (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
463 2004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
465 * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
466 (pa_comm): Set BSF_OBJECT in symbol flags.
468 2004-03-19 Alan Modra <amodra@bigpond.net.au>
470 * Makefile.am: Run "make dep-am".
471 * Makefile.in: Regenerate.
472 * doc/Makefile.in: Regenerate.
473 * config.in: Regenerate.
474 * po/gas.pot: Regenerate.
476 2004-03-18 Nathan Sidwell <nathan@codesourcery.com>
478 * read.c (read_a_source_file): Use demand_empty_rest_of_line.
479 (demand_empty_rest_of_line): Issue an error here.
480 (ignore_rest_of_line): Silently skip to end.
481 (demand_copy_string): Issue an error, not warning.
483 * config/obj-elf.c (obj_elf_section_name): Likewise.
484 (obj_elf_section): Likewise.
485 * config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
486 (arc_extinst): Likewise.
487 * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
488 (dot_spill): Likewise.
489 (dot_unwabi): Likewise.
490 (dot_prologue): Likewise.
492 * expr.c (operand): Reject ++ and --.
493 (operator): Likewise.
495 2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
497 * config/tc-sh.c: Include dw2gencfi.h.
498 (sh_cfi_frame_initial_instructions): New function.
499 (sh_regname_to_dw2regnum): Likewise.
500 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
502 (TARGET_USE_CFIPOP): Define.
503 (tc_cfi_frame_initial_instructions): Likewise.
504 (tc_regname_to_dw2regnum): Likewise.
505 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
506 * Makefile.am: Update dependencies.
507 * Makefile.in: Regenerate.
509 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
511 * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
512 * configure: Regenerate.
514 2004-03-12 Bob Wilson <bob.wilson@acm.org>
516 * read.c (s_leb128): Call md_flush_pending_output.
518 2004-03-12 Michal Ludvig <mludvig@suse.cz>
520 * config/tc-i386.c (output_insn): Handle PadLock instructions.
521 * config/tc-i386.h (CpuPadLock): New define.
522 (CpuUnknownFlags): Added CpuPadLock.
524 2004-03-07 Andreas Schwab <schwab@suse.de>
526 * doc/c-hppa.texi (HPPA Directives): Fix typo.
528 2004-03-07 Richard Henderson <rth@redhat.com>
530 * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
531 (cfi_finish): Likewise for fde.
533 2004-03-05 H.J. Lu <hongjiu.lu@intel.com>
535 * config/tc-ia64.c (md_assemble): Properly handle NULL
537 (ia64_handle_align): Don't abort if failed to add a stop bit.
539 2004-03-04 H.J. Lu <hongjiu.lu@intel.com>
541 * Makefile.in: Regenerated.
542 * aclocal.m4: Likewise.
543 * configure: Likewise.
544 * doc/Makefile.in: Likewise.
546 2004-03-03 H.J. Lu <hongjiu.lu@intel.com>
548 * config/tc-ia64.c (dot_align): New.
549 (ia64_do_align): Make it static.
550 (md_pseudo_table): Use "dot_align" for "align".
551 (ia64_md_do_align): Don't set align_frag here.
552 (ia64_handle_align): Add a stop bit to the previous bundle if
555 * config/tc-ia64.h (ia64_do_align): Removed.
557 2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
559 * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
560 -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
561 (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
562 the most general type or the user specifically requested it.
563 (md_assemble): Add a new error message for when an instruction
564 is understood, but is not allowed due to an -isa option.
566 2004-03-02 H.J. Lu <hongjiu.lu@intel.com>
568 * config/tc-ia64.c (align_frag): New.
569 (md_assemble): Set the tc_frag_data field in align_frag for
570 IA64_OPCODE_FIRST instructions.
571 (ia64_md_do_align): Set align_frag.
572 (ia64_handle_align): Add a stop bit if needed.
574 * config/tc-ia64.h (TC_FRAG_TYPE): New.
577 2004-03-01 Richard Sandiford <rsandifo@redhat.com>
579 * config/tc-frv.c (fr400_audio): New variable.
580 (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
581 (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
582 (target_implements_insn_p): New function.
583 (md_assemble): Report an error if the processor doesn't implement
586 2004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
588 * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
589 (md_parse_option): Ditto.
590 (OPTION_NO_SPECIAL_M32R): Added.
591 (md_show_usage): Document it.
592 (enable_speial_m32r): Changed a default value from 0 to 1.
593 * doc/c-m32r.texi: Document the -no-bitinst option.
595 2004-02-27 Nick Clifton <nickc@redhat.com>
597 * config/tc-sh.c (get_operand): Revert previous delta.
598 (tc_gen_reloc): Check for an unknown reloc type before processing
601 2004-02-27 Hannes Reinecke <hare@suse.de>
603 * config/tc-s390.c (s390_insn): Correct range check for opcode in
604 .insn pseudo operation.
606 2004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
608 * config/tc-sh.c (get_operand): In case of #Imm, check has been
609 added for wrong syntax.
611 2004-02-26 Eric Christopher <echristo@redhat.com>
613 * config/tc-mips.c (mips_dwarf2_addr_size): New.
614 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
616 2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
618 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
619 nibble types to assembler.
621 2004-02-25 Fred Fish <fnf@redhat.com>
623 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
625 2004-02-20 James E Wilson <wilson@specifixinc.com>
627 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
629 (fixup_unw_records): New arg before_relax. Pass to slot_index.
630 (ia64_estimate_size_before_relax): New.
631 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
632 (generate_unwind_image): Pass 1 to fixup_unw_records.
633 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
634 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
636 2004-02-19 Jakub Jelinek <jakub@redhat.com>
638 * stabs.c (generate_asm_file): Avoid warning about use of
639 uninitialized variable.
641 2004-02-18 David Mosberger <davidm@hpl.hp.com>
643 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
644 body, and endp, allow unwind records which do not have a "t"
645 (time/instruction) field.
647 2004-02-17 Petko Manolov <petkan@nucleusys.com>
649 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
650 (do_mav_dspsc_2): Likewise.
651 Fix accumulator registers move opcodes.
653 2004-02-13 Hannes Reinecke <hare@suse.de>
654 Jakub Jelinek <jakub@redhat.com>
656 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
658 2004-02-10 Steve Ellcey <sje@cup.hp.com>
660 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
661 (tc_frob_symbol): New macro definition.
662 * config/tc-ia64.c (ia64_frob_symbol): New routine.
664 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
666 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
669 2004-02-09 Nathan Sidwell <nathan@codesourcery.com>
671 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
672 (TC_CASE_SENSITIVE): ... this.
673 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
674 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
676 2004-02-06 James E Wilson <wilson@specifixinc.com>
678 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
679 (generate_unwind_image): Re-add it here.
681 2004-02-06 Nathan Sidwell <nathan@codesourcery.com>
683 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
684 * read.h (SKIP_WHITESPACE): Turn into an expression.
685 * read.c (read_a_source_file): A pseudo is removed by having a
688 2004-02-05 James E Wilson <wilson@specifixinc.com>
690 * config/tc-ia64.c (output_endp): New.
691 (count_bits): Delete.
692 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
694 (fixup_unw_records): Handle endp unwind records. Delete code for
695 shortening prologue regions not followed by a body record.
696 (dot_endp): Call add_unwind_entry to emit endp unwind record.
697 * config/tc-ia64.h (unw_record_type): Add endp.
699 2004-02-03 James E Wilson <wilson@specifixinc.com>
701 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
702 fill padding bytes with zeroes.
703 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
704 sets unwind_record slot_number and slot_frag fields.
706 2004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
708 * config/tc-mips.c (add_got_offset_hilo): New function.
709 (macro): Use load_register() and add_got_offset_hilo() to load
710 constants instead of hardcoding code sequences throughout.
712 2004-01-28 H.J. Lu <hongjiu.lu@intel.com>
714 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
716 2004-01-26 Bernardo Innocenti <bernie@develer.com>
718 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
720 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
721 of hard-coded test for TARGET_OS=elf.
723 2004-01-24 Chris Demetriou <cgd@broadcom.com>
725 * config/tc-mips.c (hilo_interlocks): Change definition
726 so that MIPS32, MIPS64 and later ISAs are included, along with
727 the already-included machines. Update comments.
729 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
731 * config/tc-arm.c (tc_gen_reloc): Improve error message for
732 undefined local labels.
734 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
736 * config/tc-mips.c (load_address, macro): Update comments about
737 NewABI GP relaxation.
739 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
741 * config/tc-mips.c (macro_build): Remove place and counter arguments.
742 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
743 (mips16_macro_build, macro_build_jalr): Remove counter argument.
744 (set_at, load_register, load_address, move_register): Likewise.
745 (load_got_offset, add_got_offset): Likewise.
746 Update all calls and tidy accordingly.
748 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
750 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
751 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
752 (RELAX_USE_SECOND): Bump to 0x10000.
753 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
754 (mips_macro_warning): New variable.
755 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
756 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
757 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
759 (append_insn): Update mips_macro_warning.sizes.
760 (macro_start, macro_warning, macro_end): New functions.
761 (macro_build): Don't emit warnings here.
762 (macro_build_lui, md_estimate_size_before_relax): ...or here.
763 (md_convert_frag): Check for cases where one macro alternative
764 needs a warning and the other doesn't. Emit a warning if the
765 longer sequence was chosen.
767 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
769 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
770 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
771 the first sequence, the size of the second sequence, and a flag
772 that says whether we should warn.
773 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
774 (RELAX_FIRST, RELAX_SECOND): New.
775 (mips_relax): New variable.
776 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
777 (append_insn): Remove "place" argument. Use mips_relax.sequence
778 rather than "place" to check whether we're expanding the second
779 alternative of a relaxable macro. Remove redundant check for
780 branch relaxation. If generating a normal insn, and there
781 is not enough room in the current frag, call relax_close_frag()
782 to close it. Update mips_relax.sizes[]. Emit fixups for the
783 second version of a relaxable macro. Record the first relaxable
784 fixup in mips_relax. Remove tc_gen_reloc workaround.
785 (macro_build): Remove all uses of "place". Use mips_relax.sequence
786 in the same way as in append_insn.
787 (mips16_macro_build): Remove "place" argument.
788 (macro_build_lui): As for macro_build. Don't drop the add_symbol
789 when generating the second version of a relaxable macro.
790 (load_got_offset, add_got_offset): New functions.
791 (load_address, macro): Use new relaxation machinery. Remove
792 tc_gen_reloc workarounds.
793 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
794 version of a relaxable macro is needed. Return -RELAX_SECOND if the
795 first version is needed.
796 (tc_gen_reloc): Remove relaxation handling.
797 (md_convert_frag): Go through the fixups for a relaxable macro and
798 mark those that belong to the unneeded alternative as done. If the
799 second alternative is needed, adjust the fixup addresses to account
800 for the deleted first alternative.
802 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
804 * frags.h (frag_room): Declare.
805 * frags.c (frag_room): New function.
806 * doc/internals.texi: Document it.
808 2004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
810 * config/tc-mips.c (append_insn): Don't do r3900 interlock
811 optimization for -mtune=r3900, as this will break on other CPUs.
813 2004-01-11 Tom Rix <tcrix@worldnet.att.net>
815 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
816 be relaxed, use fixup.
817 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
819 2004-01-19 Jakub Jelinek <jakub@redhat.com>
821 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
824 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
826 * config/tc-mips.c (append_insn): Properly detect variant frags
827 that preclude swapping of relaxed branches. Correctly swap
828 instructions between frags when dealing with relaxed branches.
830 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
832 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
834 * aclocal.m4: Regenerate.
835 * configure: Regenerate.
837 2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
839 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
842 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
844 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
845 reloc, reserve space for the delay slot as well as the jalr itself.
847 2004-01-09 Paul Brook <paul@codesourcery.com>
849 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
850 (do_vfp_sp2_from_reg2): New function.
852 (do_vfp_dp_from_reg2): Check return values properly.
854 2004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
856 * config/tc-mips.c (warn_nops): Remove static variable.
857 (macro): Remove test of warn_nops.
858 (md_shortops): Remove 'n'.
859 (md_parse_option): Remove 'n' case.
860 (md_show_usage): Remove -n.
861 * doc/as.texinfo (Overview): Remove MIPS -n option.
862 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
863 * NEWS: Mention removal of MIPS -n option.
865 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
866 (cop_interlocks): Check ISA level.
867 (cop_mem_interlocks): Define.
868 (reg_needs_delay): Check cop_interlocks rather than
869 ISA_HAS_COPROC_DELAYS.
870 (append_insn): Likewise. Use cop_mem_interlocks rather than
871 directly checking mips_opts.isa.
872 (mips_emit_delays): Likewise.
874 2004-01-07 H.J. Lu <hongjiu.lu@intel.com>
876 * config/tc-ia64.c (unwind): Move next_slot_number and
877 next_slot_frag to ...
878 (unw_rec_list): Here.
879 (free_list_records): Removed.
880 (output_unw_records): Likewise.
881 (generate_unwind_image): Make it void.
882 (alloc_record): Initialize next_slot_number and next_slot_frag.
883 (slot_index): Take .org, .space and .align into account.
884 (fixup_unw_records): Don't set slot_number to 0. Use
885 list->next_slot_number and list->next_slot_frag instead of
886 unwind.next_slot_number and unwind.next_slot_frag.
887 (ia64_convert_frag): New.
888 (generate_unwind_image): Generate a rs_machine_dependent frag
890 (emit_one_bundle): Use list->next_slot_number and
891 list->next_slot_frag instead of unwind.next_slot_number and
892 unwind.next_slot_frag.
894 * config/tc-ia64.h (md_convert_frag): Defined as
896 (md_estimate_size_before_relax): Defined as (f)->fr_var.
898 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
900 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
901 * config/tc-frv.h (md_apply_fix3): Don't define.
902 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
904 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
905 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
906 * config/tc-frv.c (line_separator_chars): Add `!'.
907 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
908 * config/tc-frv.c (md_assemble): Clear insn upfront.
909 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
910 * config/tc-frv.c (OPTION_FDPIC): New macro.
911 (md_longopts): Add mfdpic.
912 (md_parse_option): Handle it.
913 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
914 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
915 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
916 (frv_pic_ptr): Parse funcdesc.
918 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
920 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
921 gasver.texi. Remove duplicate symbol definitions for texi2pod.
923 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
925 * Makefile.am (Makefile): Move the dependency on
926 $(BFDDIR)/configure.in to...
927 (CONFIG_STATUS_DEPENDENCIES): ... here.
928 (AUTOMAKE_OPTIONS): Require automake 1.8.
929 * Makefile.in: Regenerate.
930 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
931 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
932 $(BFDDIR)/configure.in here as well.
933 * doc/Makefile.in: Regenerate.
935 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
937 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
938 * Makefile.in: Regenerate.
939 * aclocal.m4: Regenerate.
940 * doc/Makefile.am (install, install-info): Remove.
941 (install-data-local): A new hook for install-info.
942 (AUTOMAKE_OPTIONS): Require automake 1.8.
943 * doc/Makefile.in: Regenerate.
945 2004-01-02 Nutan Singh <nutan@kpitcummins.com>
947 * doc/c-sh.texi: Update description about floating point behavior
950 2004-01-02 Bernardo Innocenti <bernie@develer.com>
952 * configure.in: Add m68k-uClinux target.
953 * configure: Regenerate.
955 For older changes see ChangeLog-0203
961 version-control: never