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