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