1 2004-07-21 Jan Beulich <jbeulich@novell.com>
3 * config/tc-i386.c (optimize_imm): Adjust immediates to only those
4 permissible for the selected instruction suffix.
5 (match_template): Don't permit 64-bit general purpose operands in
7 (finalize_imm): Permit 64-bit immediates.
8 (build_modrm_byte): Don't treat 32-bit addressing in 64-bit mode
9 specially except for the width of the used base and/or index
10 registers. For 32-bit displacements, use sign-extended
11 relocations only when using 64-bit addressing.
12 Force zero displacement on rip-relative addressing when there is
13 no other displacement.
14 (i386_index_check): Don't treat 32-bit addressing in 64-bit mode
15 specially except for the width of the used base and/or index
17 (parse_register): Disallow Reg64 registers in 32-bit mode.
19 * config/tc-i386.c: For DefaultSize instructions, don't guess a 'q'
20 suffix if the instruction doesn't support it.
22 2004-07-20 Maciej W. Rozycki <macro@linux-mips.org>
24 * config/tc-mips.c (append_insn): Handle constant expressions with
25 no associated relocation.
26 (mips_ip): Cancel the expression after use for the Q format
28 (parse_relocation): Return no relocation for unsupported
30 (my_getSmallExpression): Return no relocation if no relocation
33 2004-07-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
35 * config/obj-som.c (adjust_stab_sections): Add prototype.
36 (obj_som_compiler, obj_som_version, obj_som_copyright,
37 adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
38 * config/tc-hppa.c (update_subspace): Likewise.
39 (is_defined_subspace): Amplify comment.
40 * config/obj-som.h (som_frob_file): Add prototype.
42 2004-07-19 Christopher Faylor <cgf@timesys.com>
43 H.J. Lu <hongjiu.lu@intel.com>
45 * subsegs.c (section_symbol): Don't create a new segment when
46 existing segment is undefined.
48 2004-07-16 Richard Earnshaw <rearnsha@arm.com>
50 * config/tc-arm.c: Include include/opcode/arm.h.
51 (ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete.
52 (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete.
54 * Makefile.am: Update dependencies.
55 * Makefile.in: Regenerate.
57 2004-07-15 Nick Clifton <nickc@redhat.com>
59 * configure.in: Accept armbe as a big-endian arm configuration.
60 * configure: Regenerate.
62 2004-07-13 Thomas Nystrom <thn@saeab.se>
64 * config/tc-i386.c (T_SHIFTOP): New constant.
65 (intel_e05_1): Handle '&', '|' and T_SHIFTOP.
66 (intel_el1): Handle '~'.
67 (intel_get_token): Handle '<>', '&', '|' and '~'.
69 2004-07-13 Nick Clifton <nickc@redhat.com>
71 (md_assemble): Remove spurious newline from end of as_bad error
73 (intel_e05_1): Likewise.
74 (intel_e11): Likewise.
75 (intel_match_token): Likewise.
77 2004-07-11 Andreas Schwab <schwab@suse.de>
79 * config/tc-m68k.c: Convert to C90. Remove redundant
80 declarations. Indentation fixup.
81 [M68KCOFF]: Include "obj-coff.h" instead of declaring
82 obj_coff_section ourselves.
84 2004-07-09 James E Wilson <wilson@specifixinc.com>
86 * config/tc-ia64.c (default_big_endian): New.
87 (dot_byteorder, md_begin): Use it.
88 (md_parse_option): Set it.
90 2004-07-09 Nick Clifton <nickc@redhat.com>
92 * configure.in: Change sh-sybmian-elf to sh-*-symbianelf.
93 * configure: Regenerate.
94 * NEWS: Change sh-sybmian-elf to sh-*-symbianelf.
95 * config/tc-sh.c (sh_elf_final_processing): Use renamed version of
96 sh_find_elf_flags if necessary.
98 2004-07-08 Richard Sandiford <rsandifo@redhat.com>
100 * config/tc-mips.c (mips_fix_adjustable): If the full addend is
101 going to be split into more than one in-place addend, return 0
102 for relocations against mergeable sections. Associate comments
105 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
107 * Makefile.am (CPU_TYPES): Add crx.
108 (TARGET_CPU_CFILES): Add config/tc-crx.c.
109 (TARGET_CPU_HFILES): Add config/tc-crx.h.
110 (DEPTC_crx_elf): New target.
111 (DEPOBJ_crx_elf): Likewise.
112 (DEP_crx_elf): Likewise.
113 * Makefile.in: Regenerate.
114 * configure.in: Add crx* target.
115 * configure: Regenerate.
116 * config/tc-crx.c: New file.
117 * config/tc-crx.h: New file.
118 * NEWS: Mention new target.
120 2004-07-06 Nick Clifton <nickc@redhat.com>
122 * config.in: Undefine TARGET_SYMBIAN by default.
124 * configure: Regenerate. Add sh-symbian-elf target. If
125 selected define TARGET_SYMBIAN.
126 * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target
127 format if TARGET_SYMBIAN has been defined.
129 * output-file.c (output_file_create): Report the target format
130 chosen when bfd_openw reports that it is invalid.
132 * config/obj-coff.c (coff_pseudo_table): Only define the weak
133 pseudo for BFD based assemblers.
135 2004-07-05 Andrew Stubbs <andrew.stubbs@superh.com>
138 * config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
139 (md_parse_option): Remove redundant -isa testing.
140 Make bfd_arch variable const.
141 (md_show_usage): Make bfd_arch variable const.
143 2004-07-03 James E Wilson <wilson@specifixinc.com>
145 * config/tc-ia64.c (emit_one_bundle): Check and set insn_addr.
146 * config/tc-ia64.h (md_frag_check): Define.
148 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
150 * config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
152 * doc/as.texinfo (Weak): Document PE weak symbols.
154 2004-07-03 Richard Sandiford <rsandifo@redhat.com>
156 * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
157 (reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS.
158 (mips_frob_file): Rework so that only a single pass through the
159 relocs is needed. Allow %lo()s to have higher offsets than their
160 corresponding %hi()s or %got()s.
162 2004-07-02 Nick Clifton <nickc@redhat.com>
164 * config/tc-arm.c (md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not
165 allow values which have come from undefined symbols.
166 Always consider this fixup to have been processed as a reloc
167 cannot be generated for it.
169 2004-07-02 Alan Modra <amodra@bigpond.net.au>
171 * frags.h (struct frag): Add has_code and insn_addr fields.
172 * write.c (cvt_frag_to_fill): Invoke md_frag_check.
173 * config/tc-ppc.c (md_assemble): Check and set insn_addr.
174 * config/tc-ppc.h (md_frag_check): Define.
176 2004-06-28 Maciej W. Rozycki <macro@linux-mips.org>
178 * doc/Makefile.am (info): Rename goal to...
179 (info-local): ... this, to preserve implicit dependencies.
180 * doc/Makefile.in: Regenerate with automake 1.8.5.
182 2004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
184 * config/tc-m32r.c (md_convert_frag): Changed for @PLT.
185 (m32r_cgen_record_fixup_exp): Changed for @GOTOFF, @GOT.
186 (m32r_fix_adjustable): Changed for @GOTOFF, @GOT, @PLT.
187 (tc_gen_reloc): Likewise.
188 (m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT.
189 (m32r_parse_name): Likewise.
190 (m32r_cgen_parse_fix_exp): Likewise.
191 * config/tc-m32r.h (md_parse_name): Define for @GOTOFF, @GOT, @PLT.
192 (O_PIC_reloc): Likewise.
193 (TC_CGEN_PARSE_FIX_EXP): Likewise..
194 * cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP
195 for @GOTOFF, @GOT, @PLT.
197 2004-06-21 Jan Beulich <jbeulich@novell.com>
199 * gas/symbols.c: While discarding ordinary local absolute symbols
200 when --strip-local-absolute is in effect, retain file symbols.
202 2004-06-20 Andreas Schwab <schwab@suse.de>
204 * config/tc-m68k.c (mri_chip): Replace current_chip, not augment.
205 (md_parse_option): Likewise.
207 2004-06-17 Jan Beulich <jbeulich@novell.com>
209 * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
210 * config/te-netware.h: New file.
211 * config/te-ppcnw.h: Delete: Obsolete.
212 * configure.in: Eliminate ill NetWare targets. Make generic
213 NetWare target use proper emulation.
214 * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add
215 reference to new te-netware.h.
216 * configure: Regenerate.
217 * Makefile.in: Regenerate.
219 2004-06-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
221 * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
222 comparison in .insn pseudo operation.
224 2004-06-15 Alan Modra <amodra@bigpond.net.au>
226 * config/obj-coff.c (coff_adjust_section_syms): Use
227 bfd_get_section_size instead of bfd_get_section_size_before_reloc.
228 (coff_frob_section): Likewise.
229 * config/tc-mips.c (md_apply_fix3): Likewise.
230 * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size.
231 (elf_frob_file_after_relocs): Likewise.
233 2004-06-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
235 * config/tc-hppa.c (log2): Rename to exact_log2.
236 (pa_next_subseg): Delete unused function.
237 (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
238 (create_new_subspace): Likewise.
241 * config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
244 2004-05-28 DJ Delorie <dj@redhat.com>
246 * config/tc-mn10300.h (tc_fix_adjustable): Define.
247 * config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug
248 or non-merged symbols.
250 2004-05-28 H.J. Lu <hongjiu.lu@intel.com>
252 * config/tc-ia64.c (remove_marked_resource): Save, clear and
253 restore the old slot when inserting srlz.i/srlz.d.
255 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
257 * Makefile.am: Regenerate dependecies.
258 * Makefile.in: Regenerate.
259 * config/tc-sh.c (valid_arch): Make unsigned.
260 (preset_target_arch): Likewise.
261 (md_begin): Use new architecture flags system.
262 (get_specific): Likewise.
263 (assemble_ppi): Likewise.
264 (md_assemble): Likewise. Also fix error check for bad opcodes.
265 (md_parse_option): Likewise. Also generate -isa values according
266 to the table in bfd/cpu-sh.c instead of just constants. Also
267 allow <arch>-up ISA variants.
268 (sh_elf_final_processing): Replace if-else chain with a call to
270 * testsuite/gas/sh/arch: New directory.
271 * testsuite/gas/sh/arch/arch.exp: New test script.
272 * testsuite/gas/sh/arch/arch_expected.txt: New file.
273 * testsuite/gas/sh/arch/sh.s: New file.
274 * testsuite/gas/sh/arch/sh2.s: New file.
275 * testsuite/gas/sh/arch/sh-dsp.s: New file.
276 * testsuite/gas/sh/arch/sh2e.s: New file.
277 * testsuite/gas/sh/arch/sh3-nommu.s: New file.
278 * testsuite/gas/sh/arch/sh3.s: New file.
279 * testsuite/gas/sh/arch/sh3-dsp.s: New file.
280 * testsuite/gas/sh/arch/sh3e.s: New file.
281 * testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
282 * testsuite/gas/sh/arch/sh4-nofpu.s: New file.
283 * testsuite/gas/sh/arch/sh4.s: New file.
284 * testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
285 * testsuite/gas/sh/arch/sh4al-dsp.s: New file.
286 * testsuite/gas/sh/arch/sh4a.s: New file.
288 2004-05-28 Peter Barada <peter@the-baradas.com>
290 * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing
291 with zero offset into mode 2 addressing to save a word.
293 2004-05-27 H.J. Lu <hongjiu.lu@intel.com>
295 * config/tc-ia64.c (ar_is_in_integer_unit): Removed.
296 (ar_is_only_in_integer_unit): New.
297 (ar_is_only_in_memory_unit): New.
298 (generate_unwind_image): Silence gcc on 32bit host.
299 (md_assemble): Use ar_is_only_in_integer_unit instead of
300 ar_is_in_integer_unit. Check AR access.
302 2004-05-27 Peter Barada <peter@the-baradas.com>
304 * config/tc-m68k.c (md_begin): Sort the opcode table into
306 (m68k_compare_opcode): New function to do the sorting.
308 2004-05-24 Peter Barada <peter@the-baradas.com>
310 * config/m68k-parse.y(operand): Allow for MAC/EMAC mask
311 addressing on MIT style operands.
312 * config/m68k-parse.y(yylex): Allow '-&' for predecrement
314 * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type
317 2004-05-23 Alan Modra <amodra@bigpond.net.au>
319 * expr.c (operand, operator): Don't reject '++' and '--'.
321 2004-05-20 Richard Sandiford <rsandifo@redhat.com>
323 * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
326 2004-05-17 Adam Nemet <anemet@lnxw.com>
328 * configure.in: Add ppc-*-lynxos*. Update i386-*-lynxos* to ELF.
329 * configure: Regenerate.
331 2004-05-13 Paul Brook <paul@codesourcery.com>
333 * dw2gencfi.c (output_cie): Handle dwarf3 format CIE entries.
335 2004-05-13 Joel Sherrill <joel@oarcorp.com>
337 * configure.in (or32-*-rtems*): Switch to elf.
338 * configure: Regenerate.
340 2004-05-13 Nick Clifton <nickc@redhat.com>
342 * po/fr.po: Updated French translation.
344 2004-05-11 Nick Clifton <nickc@redhat.com>
346 * doc/as.texinfo (Section): Document G and T flags to .section
347 directive. Document the extra arguments that the G flag
348 requires. Document the #tls flag.
350 2004-05-11 H.J. Lu <hongjiu.lu@intel.com>
352 * subsegs.c (section_symbol): Create a new section symbol if
353 the existing one doesn't match.
354 * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol.
356 2004-05-07 Richard Sandiford <rsandifo@redhat.com>
358 * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120
359 to cope with VR4181A errata MD(1) and MD(4).
361 2004-05-07 Brian Ford <ford@vss.fsi.com>
363 * NEWS: Mention .secrel32 for pe[i]-i386.
365 2004-05-07 Alexandre Oliva <aoliva@redhat.com>
367 * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
370 2004-05-06 Daniel Jacobowitz <dan@debian.org>
372 * Makefile.am (DIST_SUBDIRS): Define.
373 * aclocal.m4: Regenerate with automake 1.8.4.
374 * Makefile.in: Likewise.
375 * doc/Makefile.in: Likewise.
377 2004-05-06 David Mosberger-Tang <davidm@hpl.hp.com>
379 * config/tc-ia64.c (dot_serialize): Declare.
380 (dot_serialize): New function.
381 (md_pseudo_table): Add ".serialize.data" and
382 ".serialize.instruction" directives.
384 2004-05-06 Nick Clifton <nickc@redhat.com>
386 * messages (as_internal_value_out_of_range): Print a message about
387 a value being out of range. Be consistent about whether the
388 values are printed in decimal or hexadecimal.
389 (as_warn_value_out_of_range): Generate a warning message about an
391 (as_bad_value_out_of_range): Generate an error message about an
393 * as.h: Prototype the new functions.
394 * config/tc-alpha.c (insert_operand): Use new function.
395 * config/tc-arc.c (arc_insert_operand): Likewise.
396 * config/tc-mn10200.c (mn10200_insert_operand): Likewise.
397 * config/tc-mn10300.c (mn10300_insert_operand): Likewise.
398 * config/tc-ppc.c (ppc_insert_operand): Likewise.
399 * config/tc-s390.c (s390_insert_operand): Likewise.
400 * config/tc-v850.c (v850_insert_operand): Likewise.
402 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
404 * configure.in: Set em=linux for frv-*-*linux*.
405 * configure: Rebuilt.
406 * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
407 (frv_md_fdpic_enabled): New.
408 * config/tc-frv.c (frv_md_fdpic_enabled): New.
409 (DEFAULT_FDPIC): New.
410 (frv_flags): Use DEFAULT_FDPIC.
411 (frv_pic_flag): Likewise.
413 (md_longopts): Add -mnopic.
414 (md_parse_option): Handle it.
415 (md_show_usage): Add -mfdpic and -mnopic.
417 2004-05-05 Peter Barada <peter@the-baradas.com>
419 * config/tc-m68k.c: Add find_cf_chip to print list of valid
420 chips for invalid coldfire instructions, rename selectors
421 for ColdFire sub-variants, add 521x,5249,547x,548x and aliases,
422 add current_chip to track which chip is referred to(including save/restore),
423 use current_chip to select control registers, not current_arch.
424 (md_show_usage): Add new chips.
425 * doc/c-m68k.texi: Document new command line switches.
427 2004-05-05 Jakub Jelinek <jakub@redhat.com>
429 * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
430 (NOP_OPCODE): Define.
431 (s390_align_code): Remove prototype.
432 * tc-s390.c (s390_align_code): Remove.
434 2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
436 * config/tc-ia64.c (make_unw_section_name): Removed.
437 (start_unwind_section): New function.
438 (generate_unwind_image): Take const segT instead of const
440 (dot_handlerdata): Adjusted.
441 (dot_endp): Likewise.
443 2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
445 * config/obj-elf.c (obj_elf_change_section): Allow the
446 ".note.GNU-stack" section has SHF_EXECINSTR.
448 2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
450 * config/obj-elf.c (get_section): Return bfd_boolean.
451 (obj_elf_change_section): Call bfd_get_section_by_name_if
452 instead of bfd_map_over_sections.
454 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
456 * config/obj-elf.c (get_section): New function.
457 (obj_elf_change_section): Support multiple sections with same
460 2004-04-30 Nick Clifton <nickc@redhat.com>
462 * config/tc-arm.c (create_register_alias): Fix typo checking for
463 case sensitive register aliases.
464 (co_proc_number): Use error message string in all_reg_maps[]
466 (cp_reg_required_here): Likewise.
467 (fp_reg_required_here): Likewise.
469 2004-04-29 Brian Ford <ford@vss.fsi.com>
471 * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags.
473 2004-04-28 Chris Demetriou <cgd@broadcom.com>
475 * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build)
476 (load_address, macro, mips_ip, md_parse_option)
477 (mips_force_relocation, mips_validate_fix, md_apply_fix3)
478 (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all
479 embedded-PIC handling, and update comments.
480 (SWITCH_TABLE): Remove.
481 * config/tc-mips.h (DIFF_EXPR_OK): Delete.
482 (enum mips_pic_level): Remove EMBEDDED_PIC.
483 (EXTERN_FORCE_RELOC): Remove embedded-PIC handling.
484 (TC_FORCE_RELOCATION): Update comment.
485 * ecoff.c (ecoff_build_lineno): Add comment about some code that
486 might be safe to remove now that MIPS embedded-PIC is gone.
488 2004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
490 * config/obj-som.c (obj_som_init_stab_section): Add new arguments in
491 call to obj_set_subsection_attributes.
492 (obj_som_init_stab_section): Likewise.
493 * config/tc-hppa.c (default_subspace_dict): Add comdat field.
494 (pa_def_subspaces): Provide comdat default.
495 (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and
496 not SEC_IS_COMMON if section is comdat, common or dup_common. Update
497 calls to create_new_subspace and update_subspace to pass comdat flag.
498 (create_new_subspace, update_subspace): Add new comdat argument. Use
499 it in calls to obj_set_subsection_attributes.
500 * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter
501 and use of comdat, common and dup_comm parameters.
503 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
505 * config/obj-elf.c (obj_elf_change_section): Check if the old
506 group name is NULL before comparison.
508 2004-04-23 Chris Demetriou <cgd@broadcom.com>
510 * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
512 2004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
514 * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
516 2004-04-23 Chris Demetriou <cgd@broadcom.com>
518 * config/tc-mips.c (md_longopts): Remove -membedded-pic option.
519 (OPTION_MEMBEDDED_PIC): Remove.
520 (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
521 (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
522 (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
523 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
524 (OPTION_ELF_BASE): Renumber.
525 (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
526 (md_show_usage): Remove mention of -membedded-pic.
527 * doc/as.texinfo: Remove mention of -membedded-pic.
529 2004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
531 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
532 * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
534 (md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
535 s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
536 USE_GLOBAL_POINTER_OPT.
538 2004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
540 * config/tc-mips.c (macro): One more use of load_delay_nop.
542 2004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
544 * config/tc-mips.c (load_delay_nop): New function.
545 (load_address, macro): Use load_delay_nop() to build a nop
546 which can be omitted with gpr_interlocks.
548 2004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
550 * config/tc-mips.c (hilo_interlocks, gpr_interlocks,
551 cop_interlocks): Remove superfluous CPU entries.
553 2004-04-22 Paul Brook <paul@codesourcery.com>
555 * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
557 2004-04-22 Peter Barada <peter@the-baradas.com>
559 * NEWS: Added support for EMAC instructions and MAC/EMAC
561 * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
562 scale factor tokens, trailing_ampersand to mark mask addressing
563 for MAC/EMAC instructions.
564 * config/m68k-parse.y: Add options_ampersand clause, '<<',
566 (yylex): Handle '>', '<', and '&' following '+'.
567 * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
568 architectures in archs[].
569 (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
570 for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
572 (m68k_ip): Handle trailing '&' on MAC/EMAC insns.
573 (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
575 Add EMAC operands to init_table[].
577 2004-04-22 Bruno De Bus <bdebus@elis.ugent.be>
579 * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
581 (TC_SEGMENT_INFO_TYPE): Define to enum mstate.
582 * config/tc-arm.c (enum mstate): Delete from here.
583 (mapping_state): Remove the static mapstate variable and instead
584 store the state in the segment. This allows a per-section mapping
585 state. Handle and ignore MAP_UNDEFINED states.
586 (arm_elf_change_section): Get the current mapping state from the
588 (s_ltorg): Set the mapping state to MAP_DATA.
589 (arm_cleanup): Use arm_elf_change_section to get the mapping state
590 for each pool as it is emitted.
592 2004-04-22 Nick Clifton <nickc@redhat.com>
594 * config/tc-arm.h: Formatting tidy ups.
596 2004-04-20 Chris Demetriou <cgd@broadcom.com>
598 * NEWS: Note that MIPS -membedded-pic option is deprecated.
600 2004-04-20 DJ Delorie <dj@redhat.com>
602 * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define.
603 * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32".
604 [TE_PE] (O_secrel): Define.
605 [TE_PE] (x86_pe_cons_fix_new): New.
606 [TE_PE] (pe_directive_secrel): Likewise.
607 (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL.
609 2004-04-19 Eric Christopher <echristo@redhat.com>
611 * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
612 of previous patch for fix in gcc.
614 2004-04-19 Jakub Jelinek <jakub@redhat.com>
616 * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
618 2004-04-19 Nathan Sidwell <nathan@codesourcery.com>
620 * read.c (do_align): Call md_flush_pending_output, if defined.
622 2004-04-16 Alan Modra <amodra@bigpond.net.au>
624 * expr.c (operand): Correct checks for ++ and --.
626 2004-04-14 H.J. Lu <hongjiu.lu@intel.com>
628 * config/tc-generic.c: Add some comments.
630 2004-04-14 Richard Sandiford <rsandifo@redhat.com>
632 * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
633 -{no-}mfix-vr4122-bugs.
634 * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
635 (append_insn, mips_emit_delays): Update accordingly.
636 (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
637 (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
638 (md_parse_option): Update after above changes.
639 (md_show_usage): Add -mfix-vr4120.
641 2004-04-13 Bob Wilson <bob.wilson@acm.org>
643 * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
644 of .section directive; add a reference to the ELF .subsection
647 2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
649 * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
652 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
654 * Makefile.am: Remove mips from aout targets.
655 * Makefile.in: Regenerate.
656 * configure.in: Remove mips-dec-bsd* target.
657 * configure: Regenerate.
659 2004-04-07 Alan Modra <amodra@bigpond.net.au>
662 * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
663 to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64.
664 Update "mapping". Restrict some @ modifiers to 32 bit.
666 2004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
667 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
669 * config/tc-sh.c (dont_adjust_reloc_32): New variable.
670 (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
671 dont_adjust_reloc_32 is set.
672 (md_longopts): Add option -renesas.
673 (md_parse_option, md_show_usage): Likewise.
674 * doc/c-sh.texi: Likewise.
676 2004-04-01 Dave Korn <dk@artimi.com>
678 * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
679 hi16 and lo16 fixS structs.
680 (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
681 exactly the same way as for RELOC_DLX_REL16.
682 (machine_ip): properly respect LO flag in the_insn and
683 output RELOC_DLX_LO16 rather than RELOC_DLX_16.
684 (md_apply_fix3): apply RELOC_DLX_LO16.
686 2004-03-30 Stan Shebs <shebs@apple.com>
688 Remove long-obsolete MPW support.
689 * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
690 * configure.in: Remove mention of ppc-*-mpw* config.
691 * configure.in: Likewise.
693 2004-03-30 Nick Clifton <nickc@redhat.com>
695 * config/tc-arm.c (meabi_flags): Make its use conditional upon
696 OBJ_ELF being defined.
698 2004-03-27 Alan Modra <amodra@bigpond.net.au>
700 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
702 2004-03-23 Paul Brook <paul@codesourcery.com>
704 * config/tc-arm.c (meabi_flags): New variable.
705 (arm_parse_eabi): New function.
706 (md_begin): Set flags for EABI v3.
708 (arm_long_opts): Add meabi.
709 * doc/as.texinf <ARM>: Document -meabi.
710 * doc/c-arm.texi: Ditto.
712 2004-03-22 Bob Wilson <bob.wilson@acm.org>
714 * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
715 tables even when use_literal_section flag is not set.
717 2004-03-22 Alan Modra <amodra@bigpond.net.au>
719 * config/tc-sh.c: Remove trailing whitespace.
721 2004-03-22 Hans-Peter Nilsson <hp@axis.com>
723 * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
724 --mul-bug-abort and the default behavior.
725 * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
726 (err_for_dangerous_mul_placement): New variable.
727 (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
729 (md_cris_relax_table): Have placeholder for STATE_MUL.
730 (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
731 (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
733 (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
735 (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
736 alignment and position of this frag, emit error message if
738 (md_assemble): For a multiply insn and when checking it,
739 transform the current frag into a special frag for that purpose.
740 (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
741 OPTION_MULBUG_ABORT_ON>: Handle new options.
743 2004-03-19 Bob Wilson <bob.wilson@acm.org>
745 * config/tc-xtensa.c (mark_literal_frags): New function.
746 (xtensa_move_literals): Call mark_literal_frags for all literal
747 segments, including init and fini literal segments.
748 (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
750 2004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
752 * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
753 (pa_comm): Set BSF_OBJECT in symbol flags.
755 2004-03-19 Alan Modra <amodra@bigpond.net.au>
757 * Makefile.am: Run "make dep-am".
758 * Makefile.in: Regenerate.
759 * doc/Makefile.in: Regenerate.
760 * config.in: Regenerate.
761 * po/gas.pot: Regenerate.
763 2004-03-18 Nathan Sidwell <nathan@codesourcery.com>
765 * read.c (read_a_source_file): Use demand_empty_rest_of_line.
766 (demand_empty_rest_of_line): Issue an error here.
767 (ignore_rest_of_line): Silently skip to end.
768 (demand_copy_string): Issue an error, not warning.
770 * config/obj-elf.c (obj_elf_section_name): Likewise.
771 (obj_elf_section): Likewise.
772 * config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
773 (arc_extinst): Likewise.
774 * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
775 (dot_spill): Likewise.
776 (dot_unwabi): Likewise.
777 (dot_prologue): Likewise.
779 * expr.c (operand): Reject ++ and --.
780 (operator): Likewise.
782 2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
784 * config/tc-sh.c: Include dw2gencfi.h.
785 (sh_cfi_frame_initial_instructions): New function.
786 (sh_regname_to_dw2regnum): Likewise.
787 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
789 (TARGET_USE_CFIPOP): Define.
790 (tc_cfi_frame_initial_instructions): Likewise.
791 (tc_regname_to_dw2regnum): Likewise.
792 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
793 * Makefile.am: Update dependencies.
794 * Makefile.in: Regenerate.
796 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
798 * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
799 * configure: Regenerate.
801 2004-03-12 Bob Wilson <bob.wilson@acm.org>
803 * read.c (s_leb128): Call md_flush_pending_output.
805 2004-03-12 Michal Ludvig <mludvig@suse.cz>
807 * config/tc-i386.c (output_insn): Handle PadLock instructions.
808 * config/tc-i386.h (CpuPadLock): New define.
809 (CpuUnknownFlags): Added CpuPadLock.
811 2004-03-07 Andreas Schwab <schwab@suse.de>
813 * doc/c-hppa.texi (HPPA Directives): Fix typo.
815 2004-03-07 Richard Henderson <rth@redhat.com>
817 * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
818 (cfi_finish): Likewise for fde.
820 2004-03-05 H.J. Lu <hongjiu.lu@intel.com>
822 * config/tc-ia64.c (md_assemble): Properly handle NULL
824 (ia64_handle_align): Don't abort if failed to add a stop bit.
826 2004-03-04 H.J. Lu <hongjiu.lu@intel.com>
828 * Makefile.in: Regenerated.
829 * aclocal.m4: Likewise.
830 * configure: Likewise.
831 * doc/Makefile.in: Likewise.
833 2004-03-03 H.J. Lu <hongjiu.lu@intel.com>
835 * config/tc-ia64.c (dot_align): New.
836 (ia64_do_align): Make it static.
837 (md_pseudo_table): Use "dot_align" for "align".
838 (ia64_md_do_align): Don't set align_frag here.
839 (ia64_handle_align): Add a stop bit to the previous bundle if
842 * config/tc-ia64.h (ia64_do_align): Removed.
844 2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
846 * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
847 -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
848 (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
849 the most general type or the user specifically requested it.
850 (md_assemble): Add a new error message for when an instruction
851 is understood, but is not allowed due to an -isa option.
853 2004-03-02 H.J. Lu <hongjiu.lu@intel.com>
855 * config/tc-ia64.c (align_frag): New.
856 (md_assemble): Set the tc_frag_data field in align_frag for
857 IA64_OPCODE_FIRST instructions.
858 (ia64_md_do_align): Set align_frag.
859 (ia64_handle_align): Add a stop bit if needed.
861 * config/tc-ia64.h (TC_FRAG_TYPE): New.
864 2004-03-01 Richard Sandiford <rsandifo@redhat.com>
866 * config/tc-frv.c (fr400_audio): New variable.
867 (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
868 (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
869 (target_implements_insn_p): New function.
870 (md_assemble): Report an error if the processor doesn't implement
873 2004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
875 * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
876 (md_parse_option): Ditto.
877 (OPTION_NO_SPECIAL_M32R): Added.
878 (md_show_usage): Document it.
879 (enable_speial_m32r): Changed a default value from 0 to 1.
880 * doc/c-m32r.texi: Document the -no-bitinst option.
882 2004-02-27 Nick Clifton <nickc@redhat.com>
884 * config/tc-sh.c (get_operand): Revert previous delta.
885 (tc_gen_reloc): Check for an unknown reloc type before processing
888 2004-02-27 Hannes Reinecke <hare@suse.de>
890 * config/tc-s390.c (s390_insn): Correct range check for opcode in
891 .insn pseudo operation.
893 2004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
895 * config/tc-sh.c (get_operand): In case of #Imm, check has been
896 added for wrong syntax.
898 2004-02-26 Eric Christopher <echristo@redhat.com>
900 * config/tc-mips.c (mips_dwarf2_addr_size): New.
901 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
903 2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
905 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
906 nibble types to assembler.
908 2004-02-25 Fred Fish <fnf@redhat.com>
910 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
912 2004-02-20 James E Wilson <wilson@specifixinc.com>
914 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
916 (fixup_unw_records): New arg before_relax. Pass to slot_index.
917 (ia64_estimate_size_before_relax): New.
918 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
919 (generate_unwind_image): Pass 1 to fixup_unw_records.
920 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
921 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
923 2004-02-19 Jakub Jelinek <jakub@redhat.com>
925 * stabs.c (generate_asm_file): Avoid warning about use of
926 uninitialized variable.
928 2004-02-18 David Mosberger <davidm@hpl.hp.com>
930 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
931 body, and endp, allow unwind records which do not have a "t"
932 (time/instruction) field.
934 2004-02-17 Petko Manolov <petkan@nucleusys.com>
936 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
937 (do_mav_dspsc_2): Likewise.
938 Fix accumulator registers move opcodes.
940 2004-02-13 Hannes Reinecke <hare@suse.de>
941 Jakub Jelinek <jakub@redhat.com>
943 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
945 2004-02-10 Steve Ellcey <sje@cup.hp.com>
947 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
948 (tc_frob_symbol): New macro definition.
949 * config/tc-ia64.c (ia64_frob_symbol): New routine.
951 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
953 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
956 2004-02-09 Nathan Sidwell <nathan@codesourcery.com>
958 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
959 (TC_CASE_SENSITIVE): ... this.
960 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
961 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
963 2004-02-06 James E Wilson <wilson@specifixinc.com>
965 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
966 (generate_unwind_image): Re-add it here.
968 2004-02-06 Nathan Sidwell <nathan@codesourcery.com>
970 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
971 * read.h (SKIP_WHITESPACE): Turn into an expression.
972 * read.c (read_a_source_file): A pseudo is removed by having a
975 2004-02-05 James E Wilson <wilson@specifixinc.com>
977 * config/tc-ia64.c (output_endp): New.
978 (count_bits): Delete.
979 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
981 (fixup_unw_records): Handle endp unwind records. Delete code for
982 shortening prologue regions not followed by a body record.
983 (dot_endp): Call add_unwind_entry to emit endp unwind record.
984 * config/tc-ia64.h (unw_record_type): Add endp.
986 2004-02-03 James E Wilson <wilson@specifixinc.com>
988 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
989 fill padding bytes with zeroes.
990 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
991 sets unwind_record slot_number and slot_frag fields.
993 2004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
995 * config/tc-mips.c (add_got_offset_hilo): New function.
996 (macro): Use load_register() and add_got_offset_hilo() to load
997 constants instead of hardcoding code sequences throughout.
999 2004-01-28 H.J. Lu <hongjiu.lu@intel.com>
1001 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
1003 2004-01-26 Bernardo Innocenti <bernie@develer.com>
1005 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
1007 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
1008 of hard-coded test for TARGET_OS=elf.
1010 2004-01-24 Chris Demetriou <cgd@broadcom.com>
1012 * config/tc-mips.c (hilo_interlocks): Change definition
1013 so that MIPS32, MIPS64 and later ISAs are included, along with
1014 the already-included machines. Update comments.
1016 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
1018 * config/tc-arm.c (tc_gen_reloc): Improve error message for
1019 undefined local labels.
1021 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
1023 * config/tc-mips.c (load_address, macro): Update comments about
1024 NewABI GP relaxation.
1026 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
1028 * config/tc-mips.c (macro_build): Remove place and counter arguments.
1029 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
1030 (mips16_macro_build, macro_build_jalr): Remove counter argument.
1031 (set_at, load_register, load_address, move_register): Likewise.
1032 (load_got_offset, add_got_offset): Likewise.
1033 Update all calls and tidy accordingly.
1035 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
1037 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
1038 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
1039 (RELAX_USE_SECOND): Bump to 0x10000.
1040 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
1041 (mips_macro_warning): New variable.
1042 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
1043 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
1044 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
1046 (append_insn): Update mips_macro_warning.sizes.
1047 (macro_start, macro_warning, macro_end): New functions.
1048 (macro_build): Don't emit warnings here.
1049 (macro_build_lui, md_estimate_size_before_relax): ...or here.
1050 (md_convert_frag): Check for cases where one macro alternative
1051 needs a warning and the other doesn't. Emit a warning if the
1052 longer sequence was chosen.
1054 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
1056 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
1057 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
1058 the first sequence, the size of the second sequence, and a flag
1059 that says whether we should warn.
1060 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
1061 (RELAX_FIRST, RELAX_SECOND): New.
1062 (mips_relax): New variable.
1063 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
1064 (append_insn): Remove "place" argument. Use mips_relax.sequence
1065 rather than "place" to check whether we're expanding the second
1066 alternative of a relaxable macro. Remove redundant check for
1067 branch relaxation. If generating a normal insn, and there
1068 is not enough room in the current frag, call relax_close_frag()
1069 to close it. Update mips_relax.sizes[]. Emit fixups for the
1070 second version of a relaxable macro. Record the first relaxable
1071 fixup in mips_relax. Remove tc_gen_reloc workaround.
1072 (macro_build): Remove all uses of "place". Use mips_relax.sequence
1073 in the same way as in append_insn.
1074 (mips16_macro_build): Remove "place" argument.
1075 (macro_build_lui): As for macro_build. Don't drop the add_symbol
1076 when generating the second version of a relaxable macro.
1077 (load_got_offset, add_got_offset): New functions.
1078 (load_address, macro): Use new relaxation machinery. Remove
1079 tc_gen_reloc workarounds.
1080 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
1081 version of a relaxable macro is needed. Return -RELAX_SECOND if the
1082 first version is needed.
1083 (tc_gen_reloc): Remove relaxation handling.
1084 (md_convert_frag): Go through the fixups for a relaxable macro and
1085 mark those that belong to the unneeded alternative as done. If the
1086 second alternative is needed, adjust the fixup addresses to account
1087 for the deleted first alternative.
1089 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
1091 * frags.h (frag_room): Declare.
1092 * frags.c (frag_room): New function.
1093 * doc/internals.texi: Document it.
1095 2004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1097 * config/tc-mips.c (append_insn): Don't do r3900 interlock
1098 optimization for -mtune=r3900, as this will break on other CPUs.
1100 2004-01-11 Tom Rix <tcrix@worldnet.att.net>
1102 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
1103 be relaxed, use fixup.
1104 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
1106 2004-01-19 Jakub Jelinek <jakub@redhat.com>
1108 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
1111 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1113 * config/tc-mips.c (append_insn): Properly detect variant frags
1114 that preclude swapping of relaxed branches. Correctly swap
1115 instructions between frags when dealing with relaxed branches.
1117 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1119 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
1121 * aclocal.m4: Regenerate.
1122 * configure: Regenerate.
1124 2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
1126 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
1129 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
1131 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
1132 reloc, reserve space for the delay slot as well as the jalr itself.
1134 2004-01-09 Paul Brook <paul@codesourcery.com>
1136 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
1137 (do_vfp_sp2_from_reg2): New function.
1139 (do_vfp_dp_from_reg2): Check return values properly.
1141 2004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
1143 * config/tc-mips.c (warn_nops): Remove static variable.
1144 (macro): Remove test of warn_nops.
1145 (md_shortops): Remove 'n'.
1146 (md_parse_option): Remove 'n' case.
1147 (md_show_usage): Remove -n.
1148 * doc/as.texinfo (Overview): Remove MIPS -n option.
1149 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
1150 * NEWS: Mention removal of MIPS -n option.
1152 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
1153 (cop_interlocks): Check ISA level.
1154 (cop_mem_interlocks): Define.
1155 (reg_needs_delay): Check cop_interlocks rather than
1156 ISA_HAS_COPROC_DELAYS.
1157 (append_insn): Likewise. Use cop_mem_interlocks rather than
1158 directly checking mips_opts.isa.
1159 (mips_emit_delays): Likewise.
1161 2004-01-07 H.J. Lu <hongjiu.lu@intel.com>
1163 * config/tc-ia64.c (unwind): Move next_slot_number and
1164 next_slot_frag to ...
1165 (unw_rec_list): Here.
1166 (free_list_records): Removed.
1167 (output_unw_records): Likewise.
1168 (generate_unwind_image): Make it void.
1169 (alloc_record): Initialize next_slot_number and next_slot_frag.
1170 (slot_index): Take .org, .space and .align into account.
1171 (fixup_unw_records): Don't set slot_number to 0. Use
1172 list->next_slot_number and list->next_slot_frag instead of
1173 unwind.next_slot_number and unwind.next_slot_frag.
1174 (ia64_convert_frag): New.
1175 (generate_unwind_image): Generate a rs_machine_dependent frag
1177 (emit_one_bundle): Use list->next_slot_number and
1178 list->next_slot_frag instead of unwind.next_slot_number and
1179 unwind.next_slot_frag.
1181 * config/tc-ia64.h (md_convert_frag): Defined as
1183 (md_estimate_size_before_relax): Defined as (f)->fr_var.
1185 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
1187 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
1188 * config/tc-frv.h (md_apply_fix3): Don't define.
1189 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
1191 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1192 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
1193 * config/tc-frv.c (line_separator_chars): Add `!'.
1194 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
1195 * config/tc-frv.c (md_assemble): Clear insn upfront.
1196 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
1197 * config/tc-frv.c (OPTION_FDPIC): New macro.
1198 (md_longopts): Add mfdpic.
1199 (md_parse_option): Handle it.
1200 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
1201 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
1202 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
1203 (frv_pic_ptr): Parse funcdesc.
1205 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1207 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
1208 gasver.texi. Remove duplicate symbol definitions for texi2pod.
1210 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1212 * Makefile.am (Makefile): Move the dependency on
1213 $(BFDDIR)/configure.in to...
1214 (CONFIG_STATUS_DEPENDENCIES): ... here.
1215 (AUTOMAKE_OPTIONS): Require automake 1.8.
1216 * Makefile.in: Regenerate.
1217 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
1218 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
1219 $(BFDDIR)/configure.in here as well.
1220 * doc/Makefile.in: Regenerate.
1222 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1224 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
1225 * Makefile.in: Regenerate.
1226 * aclocal.m4: Regenerate.
1227 * doc/Makefile.am (install, install-info): Remove.
1228 (install-data-local): A new hook for install-info.
1229 (AUTOMAKE_OPTIONS): Require automake 1.8.
1230 * doc/Makefile.in: Regenerate.
1232 2004-01-02 Nutan Singh <nutan@kpitcummins.com>
1234 * doc/c-sh.texi: Update description about floating point behavior
1237 2004-01-02 Bernardo Innocenti <bernie@develer.com>
1239 * configure.in: Add m68k-uClinux target.
1240 * configure: Regenerate.
1242 For older changes see ChangeLog-0203
1248 version-control: never