1 2004-07-27 Alan Modra <amodra@bigpond.net.au>
3 * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big.
4 (ppc_arch): Expand comment.
6 2004-07-27 Tomer Levi <Tomer.Levi@nsc.com>
8 * config/tc-crx.c: Support evaluating the difference between two
10 * config/tc-crx.h: Likewise.
12 2004-07-26 H.J. Lu <hongjiu.lu@intel.com>
14 * config/tc-ia64.c (start_unwind_section): Set the linked-to
16 (ia64_elf_section_change_hook): Set the linked-to section for
19 2004-07-26 Dmitry Diky <diwil@spec.ru>
21 * config/tc-msp430.c: Add new subtargets: msp430x1610,
22 msp430x1611, msp430x1612, msp430x415, msp430x417, msp430xG437,
23 msp430xG438, msp430xG439.
25 2004-07-25 Daniel Jacobowitz <dan@debian.org>
27 * doc/as.texinfo (Section, PushSection): Correct documentation
30 2004-07-21 Jan Beulich <jbeulich@novell.com>
32 * config/tc-i386.c (optimize_imm): Adjust immediates to only those
33 permissible for the selected instruction suffix.
34 (match_template): Don't permit 64-bit general purpose operands in
36 (finalize_imm): Permit 64-bit immediates.
37 (build_modrm_byte): Don't treat 32-bit addressing in 64-bit mode
38 specially except for the width of the used base and/or index
39 registers. For 32-bit displacements, use sign-extended
40 relocations only when using 64-bit addressing.
41 Force zero displacement on rip-relative addressing when there is
42 no other displacement.
43 (i386_index_check): Don't treat 32-bit addressing in 64-bit mode
44 specially except for the width of the used base and/or index
46 (parse_register): Disallow Reg64 registers in 32-bit mode.
48 * config/tc-i386.c: For DefaultSize instructions, don't guess a 'q'
49 suffix if the instruction doesn't support it.
51 2004-07-20 Maciej W. Rozycki <macro@linux-mips.org>
53 * config/tc-mips.c (append_insn): Handle constant expressions with
54 no associated relocation.
55 (mips_ip): Cancel the expression after use for the Q format
57 (parse_relocation): Return no relocation for unsupported
59 (my_getSmallExpression): Return no relocation if no relocation
62 2004-07-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
64 * config/obj-som.c (adjust_stab_sections): Add prototype.
65 (obj_som_compiler, obj_som_version, obj_som_copyright,
66 adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
67 * config/tc-hppa.c (update_subspace): Likewise.
68 (is_defined_subspace): Amplify comment.
69 * config/obj-som.h (som_frob_file): Add prototype.
71 2004-07-19 Christopher Faylor <cgf@timesys.com>
72 H.J. Lu <hongjiu.lu@intel.com>
74 * subsegs.c (section_symbol): Don't create a new segment when
75 existing segment is undefined.
77 2004-07-16 Richard Earnshaw <rearnsha@arm.com>
79 * config/tc-arm.c: Include include/opcode/arm.h.
80 (ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete.
81 (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete.
83 * Makefile.am: Update dependencies.
84 * Makefile.in: Regenerate.
86 2004-07-15 Nick Clifton <nickc@redhat.com>
88 * configure.in: Accept armbe as a big-endian arm configuration.
89 * configure: Regenerate.
91 2004-07-13 Thomas Nystrom <thn@saeab.se>
93 * config/tc-i386.c (T_SHIFTOP): New constant.
94 (intel_e05_1): Handle '&', '|' and T_SHIFTOP.
95 (intel_el1): Handle '~'.
96 (intel_get_token): Handle '<>', '&', '|' and '~'.
98 2004-07-13 Nick Clifton <nickc@redhat.com>
100 (md_assemble): Remove spurious newline from end of as_bad error
102 (intel_e05_1): Likewise.
103 (intel_e11): Likewise.
104 (intel_match_token): Likewise.
106 2004-07-11 Andreas Schwab <schwab@suse.de>
108 * config/tc-m68k.c: Convert to C90. Remove redundant
109 declarations. Indentation fixup.
110 [M68KCOFF]: Include "obj-coff.h" instead of declaring
111 obj_coff_section ourselves.
113 2004-07-09 James E Wilson <wilson@specifixinc.com>
115 * config/tc-ia64.c (default_big_endian): New.
116 (dot_byteorder, md_begin): Use it.
117 (md_parse_option): Set it.
119 2004-07-09 Nick Clifton <nickc@redhat.com>
121 * configure.in: Change sh-sybmian-elf to sh-*-symbianelf.
122 * configure: Regenerate.
123 * NEWS: Change sh-sybmian-elf to sh-*-symbianelf.
124 * config/tc-sh.c (sh_elf_final_processing): Use renamed version of
125 sh_find_elf_flags if necessary.
127 2004-07-08 Richard Sandiford <rsandifo@redhat.com>
129 * config/tc-mips.c (mips_fix_adjustable): If the full addend is
130 going to be split into more than one in-place addend, return 0
131 for relocations against mergeable sections. Associate comments
134 2004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
136 * Makefile.am (CPU_TYPES): Add crx.
137 (TARGET_CPU_CFILES): Add config/tc-crx.c.
138 (TARGET_CPU_HFILES): Add config/tc-crx.h.
139 (DEPTC_crx_elf): New target.
140 (DEPOBJ_crx_elf): Likewise.
141 (DEP_crx_elf): Likewise.
142 * Makefile.in: Regenerate.
143 * configure.in: Add crx* target.
144 * configure: Regenerate.
145 * config/tc-crx.c: New file.
146 * config/tc-crx.h: New file.
147 * NEWS: Mention new target.
149 2004-07-06 Nick Clifton <nickc@redhat.com>
151 * config.in: Undefine TARGET_SYMBIAN by default.
153 * configure: Regenerate. Add sh-symbian-elf target. If
154 selected define TARGET_SYMBIAN.
155 * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target
156 format if TARGET_SYMBIAN has been defined.
158 * output-file.c (output_file_create): Report the target format
159 chosen when bfd_openw reports that it is invalid.
161 * config/obj-coff.c (coff_pseudo_table): Only define the weak
162 pseudo for BFD based assemblers.
164 2004-07-05 Andrew Stubbs <andrew.stubbs@superh.com>
167 * config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
168 (md_parse_option): Remove redundant -isa testing.
169 Make bfd_arch variable const.
170 (md_show_usage): Make bfd_arch variable const.
172 2004-07-03 James E Wilson <wilson@specifixinc.com>
174 * config/tc-ia64.c (emit_one_bundle): Check and set insn_addr.
175 * config/tc-ia64.h (md_frag_check): Define.
177 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
179 * config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
181 * doc/as.texinfo (Weak): Document PE weak symbols.
183 2004-07-03 Richard Sandiford <rsandifo@redhat.com>
185 * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
186 (reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS.
187 (mips_frob_file): Rework so that only a single pass through the
188 relocs is needed. Allow %lo()s to have higher offsets than their
189 corresponding %hi()s or %got()s.
191 2004-07-02 Nick Clifton <nickc@redhat.com>
193 * config/tc-arm.c (md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not
194 allow values which have come from undefined symbols.
195 Always consider this fixup to have been processed as a reloc
196 cannot be generated for it.
198 2004-07-02 Alan Modra <amodra@bigpond.net.au>
200 * frags.h (struct frag): Add has_code and insn_addr fields.
201 * write.c (cvt_frag_to_fill): Invoke md_frag_check.
202 * config/tc-ppc.c (md_assemble): Check and set insn_addr.
203 * config/tc-ppc.h (md_frag_check): Define.
205 2004-06-28 Maciej W. Rozycki <macro@linux-mips.org>
207 * doc/Makefile.am (info): Rename goal to...
208 (info-local): ... this, to preserve implicit dependencies.
209 * doc/Makefile.in: Regenerate with automake 1.8.5.
211 2004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
213 * config/tc-m32r.c (md_convert_frag): Changed for @PLT.
214 (m32r_cgen_record_fixup_exp): Changed for @GOTOFF, @GOT.
215 (m32r_fix_adjustable): Changed for @GOTOFF, @GOT, @PLT.
216 (tc_gen_reloc): Likewise.
217 (m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT.
218 (m32r_parse_name): Likewise.
219 (m32r_cgen_parse_fix_exp): Likewise.
220 * config/tc-m32r.h (md_parse_name): Define for @GOTOFF, @GOT, @PLT.
221 (O_PIC_reloc): Likewise.
222 (TC_CGEN_PARSE_FIX_EXP): Likewise..
223 * cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP
224 for @GOTOFF, @GOT, @PLT.
226 2004-06-21 Jan Beulich <jbeulich@novell.com>
228 * gas/symbols.c: While discarding ordinary local absolute symbols
229 when --strip-local-absolute is in effect, retain file symbols.
231 2004-06-20 Andreas Schwab <schwab@suse.de>
233 * config/tc-m68k.c (mri_chip): Replace current_chip, not augment.
234 (md_parse_option): Likewise.
236 2004-06-17 Jan Beulich <jbeulich@novell.com>
238 * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
239 * config/te-netware.h: New file.
240 * config/te-ppcnw.h: Delete: Obsolete.
241 * configure.in: Eliminate ill NetWare targets. Make generic
242 NetWare target use proper emulation.
243 * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add
244 reference to new te-netware.h.
245 * configure: Regenerate.
246 * Makefile.in: Regenerate.
248 2004-06-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
250 * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
251 comparison in .insn pseudo operation.
253 2004-06-15 Alan Modra <amodra@bigpond.net.au>
255 * config/obj-coff.c (coff_adjust_section_syms): Use
256 bfd_get_section_size instead of bfd_get_section_size_before_reloc.
257 (coff_frob_section): Likewise.
258 * config/tc-mips.c (md_apply_fix3): Likewise.
259 * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size.
260 (elf_frob_file_after_relocs): Likewise.
262 2004-06-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
264 * config/tc-hppa.c (log2): Rename to exact_log2.
265 (pa_next_subseg): Delete unused function.
266 (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
267 (create_new_subspace): Likewise.
270 * config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
273 2004-05-28 DJ Delorie <dj@redhat.com>
275 * config/tc-mn10300.h (tc_fix_adjustable): Define.
276 * config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug
277 or non-merged symbols.
279 2004-05-28 H.J. Lu <hongjiu.lu@intel.com>
281 * config/tc-ia64.c (remove_marked_resource): Save, clear and
282 restore the old slot when inserting srlz.i/srlz.d.
284 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
286 * Makefile.am: Regenerate dependecies.
287 * Makefile.in: Regenerate.
288 * config/tc-sh.c (valid_arch): Make unsigned.
289 (preset_target_arch): Likewise.
290 (md_begin): Use new architecture flags system.
291 (get_specific): Likewise.
292 (assemble_ppi): Likewise.
293 (md_assemble): Likewise. Also fix error check for bad opcodes.
294 (md_parse_option): Likewise. Also generate -isa values according
295 to the table in bfd/cpu-sh.c instead of just constants. Also
296 allow <arch>-up ISA variants.
297 (sh_elf_final_processing): Replace if-else chain with a call to
299 * testsuite/gas/sh/arch: New directory.
300 * testsuite/gas/sh/arch/arch.exp: New test script.
301 * testsuite/gas/sh/arch/arch_expected.txt: New file.
302 * testsuite/gas/sh/arch/sh.s: New file.
303 * testsuite/gas/sh/arch/sh2.s: New file.
304 * testsuite/gas/sh/arch/sh-dsp.s: New file.
305 * testsuite/gas/sh/arch/sh2e.s: New file.
306 * testsuite/gas/sh/arch/sh3-nommu.s: New file.
307 * testsuite/gas/sh/arch/sh3.s: New file.
308 * testsuite/gas/sh/arch/sh3-dsp.s: New file.
309 * testsuite/gas/sh/arch/sh3e.s: New file.
310 * testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
311 * testsuite/gas/sh/arch/sh4-nofpu.s: New file.
312 * testsuite/gas/sh/arch/sh4.s: New file.
313 * testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
314 * testsuite/gas/sh/arch/sh4al-dsp.s: New file.
315 * testsuite/gas/sh/arch/sh4a.s: New file.
317 2004-05-28 Peter Barada <peter@the-baradas.com>
319 * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing
320 with zero offset into mode 2 addressing to save a word.
322 2004-05-27 H.J. Lu <hongjiu.lu@intel.com>
324 * config/tc-ia64.c (ar_is_in_integer_unit): Removed.
325 (ar_is_only_in_integer_unit): New.
326 (ar_is_only_in_memory_unit): New.
327 (generate_unwind_image): Silence gcc on 32bit host.
328 (md_assemble): Use ar_is_only_in_integer_unit instead of
329 ar_is_in_integer_unit. Check AR access.
331 2004-05-27 Peter Barada <peter@the-baradas.com>
333 * config/tc-m68k.c (md_begin): Sort the opcode table into
335 (m68k_compare_opcode): New function to do the sorting.
337 2004-05-24 Peter Barada <peter@the-baradas.com>
339 * config/m68k-parse.y(operand): Allow for MAC/EMAC mask
340 addressing on MIT style operands.
341 * config/m68k-parse.y(yylex): Allow '-&' for predecrement
343 * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type
346 2004-05-23 Alan Modra <amodra@bigpond.net.au>
348 * expr.c (operand, operator): Don't reject '++' and '--'.
350 2004-05-20 Richard Sandiford <rsandifo@redhat.com>
352 * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
355 2004-05-17 Adam Nemet <anemet@lnxw.com>
357 * configure.in: Add ppc-*-lynxos*. Update i386-*-lynxos* to ELF.
358 * configure: Regenerate.
360 2004-05-13 Paul Brook <paul@codesourcery.com>
362 * dw2gencfi.c (output_cie): Handle dwarf3 format CIE entries.
364 2004-05-13 Joel Sherrill <joel@oarcorp.com>
366 * configure.in (or32-*-rtems*): Switch to elf.
367 * configure: Regenerate.
369 2004-05-13 Nick Clifton <nickc@redhat.com>
371 * po/fr.po: Updated French translation.
373 2004-05-11 Nick Clifton <nickc@redhat.com>
375 * doc/as.texinfo (Section): Document G and T flags to .section
376 directive. Document the extra arguments that the G flag
377 requires. Document the #tls flag.
379 2004-05-11 H.J. Lu <hongjiu.lu@intel.com>
381 * subsegs.c (section_symbol): Create a new section symbol if
382 the existing one doesn't match.
383 * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol.
385 2004-05-07 Richard Sandiford <rsandifo@redhat.com>
387 * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120
388 to cope with VR4181A errata MD(1) and MD(4).
390 2004-05-07 Brian Ford <ford@vss.fsi.com>
392 * NEWS: Mention .secrel32 for pe[i]-i386.
394 2004-05-07 Alexandre Oliva <aoliva@redhat.com>
396 * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
399 2004-05-06 Daniel Jacobowitz <dan@debian.org>
401 * Makefile.am (DIST_SUBDIRS): Define.
402 * aclocal.m4: Regenerate with automake 1.8.4.
403 * Makefile.in: Likewise.
404 * doc/Makefile.in: Likewise.
406 2004-05-06 David Mosberger-Tang <davidm@hpl.hp.com>
408 * config/tc-ia64.c (dot_serialize): Declare.
409 (dot_serialize): New function.
410 (md_pseudo_table): Add ".serialize.data" and
411 ".serialize.instruction" directives.
413 2004-05-06 Nick Clifton <nickc@redhat.com>
415 * messages (as_internal_value_out_of_range): Print a message about
416 a value being out of range. Be consistent about whether the
417 values are printed in decimal or hexadecimal.
418 (as_warn_value_out_of_range): Generate a warning message about an
420 (as_bad_value_out_of_range): Generate an error message about an
422 * as.h: Prototype the new functions.
423 * config/tc-alpha.c (insert_operand): Use new function.
424 * config/tc-arc.c (arc_insert_operand): Likewise.
425 * config/tc-mn10200.c (mn10200_insert_operand): Likewise.
426 * config/tc-mn10300.c (mn10300_insert_operand): Likewise.
427 * config/tc-ppc.c (ppc_insert_operand): Likewise.
428 * config/tc-s390.c (s390_insert_operand): Likewise.
429 * config/tc-v850.c (v850_insert_operand): Likewise.
431 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
433 * configure.in: Set em=linux for frv-*-*linux*.
434 * configure: Rebuilt.
435 * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
436 (frv_md_fdpic_enabled): New.
437 * config/tc-frv.c (frv_md_fdpic_enabled): New.
438 (DEFAULT_FDPIC): New.
439 (frv_flags): Use DEFAULT_FDPIC.
440 (frv_pic_flag): Likewise.
442 (md_longopts): Add -mnopic.
443 (md_parse_option): Handle it.
444 (md_show_usage): Add -mfdpic and -mnopic.
446 2004-05-05 Peter Barada <peter@the-baradas.com>
448 * config/tc-m68k.c: Add find_cf_chip to print list of valid
449 chips for invalid coldfire instructions, rename selectors
450 for ColdFire sub-variants, add 521x,5249,547x,548x and aliases,
451 add current_chip to track which chip is referred to(including save/restore),
452 use current_chip to select control registers, not current_arch.
453 (md_show_usage): Add new chips.
454 * doc/c-m68k.texi: Document new command line switches.
456 2004-05-05 Jakub Jelinek <jakub@redhat.com>
458 * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
459 (NOP_OPCODE): Define.
460 (s390_align_code): Remove prototype.
461 * tc-s390.c (s390_align_code): Remove.
463 2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
465 * config/tc-ia64.c (make_unw_section_name): Removed.
466 (start_unwind_section): New function.
467 (generate_unwind_image): Take const segT instead of const
469 (dot_handlerdata): Adjusted.
470 (dot_endp): Likewise.
472 2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
474 * config/obj-elf.c (obj_elf_change_section): Allow the
475 ".note.GNU-stack" section has SHF_EXECINSTR.
477 2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
479 * config/obj-elf.c (get_section): Return bfd_boolean.
480 (obj_elf_change_section): Call bfd_get_section_by_name_if
481 instead of bfd_map_over_sections.
483 2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
485 * config/obj-elf.c (get_section): New function.
486 (obj_elf_change_section): Support multiple sections with same
489 2004-04-30 Nick Clifton <nickc@redhat.com>
491 * config/tc-arm.c (create_register_alias): Fix typo checking for
492 case sensitive register aliases.
493 (co_proc_number): Use error message string in all_reg_maps[]
495 (cp_reg_required_here): Likewise.
496 (fp_reg_required_here): Likewise.
498 2004-04-29 Brian Ford <ford@vss.fsi.com>
500 * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags.
502 2004-04-28 Chris Demetriou <cgd@broadcom.com>
504 * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build)
505 (load_address, macro, mips_ip, md_parse_option)
506 (mips_force_relocation, mips_validate_fix, md_apply_fix3)
507 (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all
508 embedded-PIC handling, and update comments.
509 (SWITCH_TABLE): Remove.
510 * config/tc-mips.h (DIFF_EXPR_OK): Delete.
511 (enum mips_pic_level): Remove EMBEDDED_PIC.
512 (EXTERN_FORCE_RELOC): Remove embedded-PIC handling.
513 (TC_FORCE_RELOCATION): Update comment.
514 * ecoff.c (ecoff_build_lineno): Add comment about some code that
515 might be safe to remove now that MIPS embedded-PIC is gone.
517 2004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
519 * config/obj-som.c (obj_som_init_stab_section): Add new arguments in
520 call to obj_set_subsection_attributes.
521 (obj_som_init_stab_section): Likewise.
522 * config/tc-hppa.c (default_subspace_dict): Add comdat field.
523 (pa_def_subspaces): Provide comdat default.
524 (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and
525 not SEC_IS_COMMON if section is comdat, common or dup_common. Update
526 calls to create_new_subspace and update_subspace to pass comdat flag.
527 (create_new_subspace, update_subspace): Add new comdat argument. Use
528 it in calls to obj_set_subsection_attributes.
529 * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter
530 and use of comdat, common and dup_comm parameters.
532 2004-04-26 H.J. Lu <hongjiu.lu@intel.com>
534 * config/obj-elf.c (obj_elf_change_section): Check if the old
535 group name is NULL before comparison.
537 2004-04-23 Chris Demetriou <cgd@broadcom.com>
539 * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
541 2004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
543 * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
545 2004-04-23 Chris Demetriou <cgd@broadcom.com>
547 * config/tc-mips.c (md_longopts): Remove -membedded-pic option.
548 (OPTION_MEMBEDDED_PIC): Remove.
549 (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
550 (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
551 (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
552 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
553 (OPTION_ELF_BASE): Renumber.
554 (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
555 (md_show_usage): Remove mention of -membedded-pic.
556 * doc/as.texinfo: Remove mention of -membedded-pic.
558 2004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
560 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
561 * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
563 (md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
564 s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
565 USE_GLOBAL_POINTER_OPT.
567 2004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
569 * config/tc-mips.c (macro): One more use of load_delay_nop.
571 2004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
573 * config/tc-mips.c (load_delay_nop): New function.
574 (load_address, macro): Use load_delay_nop() to build a nop
575 which can be omitted with gpr_interlocks.
577 2004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
579 * config/tc-mips.c (hilo_interlocks, gpr_interlocks,
580 cop_interlocks): Remove superfluous CPU entries.
582 2004-04-22 Paul Brook <paul@codesourcery.com>
584 * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
586 2004-04-22 Peter Barada <peter@the-baradas.com>
588 * NEWS: Added support for EMAC instructions and MAC/EMAC
590 * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
591 scale factor tokens, trailing_ampersand to mark mask addressing
592 for MAC/EMAC instructions.
593 * config/m68k-parse.y: Add options_ampersand clause, '<<',
595 (yylex): Handle '>', '<', and '&' following '+'.
596 * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
597 architectures in archs[].
598 (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
599 for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
601 (m68k_ip): Handle trailing '&' on MAC/EMAC insns.
602 (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
604 Add EMAC operands to init_table[].
606 2004-04-22 Bruno De Bus <bdebus@elis.ugent.be>
608 * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
610 (TC_SEGMENT_INFO_TYPE): Define to enum mstate.
611 * config/tc-arm.c (enum mstate): Delete from here.
612 (mapping_state): Remove the static mapstate variable and instead
613 store the state in the segment. This allows a per-section mapping
614 state. Handle and ignore MAP_UNDEFINED states.
615 (arm_elf_change_section): Get the current mapping state from the
617 (s_ltorg): Set the mapping state to MAP_DATA.
618 (arm_cleanup): Use arm_elf_change_section to get the mapping state
619 for each pool as it is emitted.
621 2004-04-22 Nick Clifton <nickc@redhat.com>
623 * config/tc-arm.h: Formatting tidy ups.
625 2004-04-20 Chris Demetriou <cgd@broadcom.com>
627 * NEWS: Note that MIPS -membedded-pic option is deprecated.
629 2004-04-20 DJ Delorie <dj@redhat.com>
631 * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define.
632 * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32".
633 [TE_PE] (O_secrel): Define.
634 [TE_PE] (x86_pe_cons_fix_new): New.
635 [TE_PE] (pe_directive_secrel): Likewise.
636 (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL.
638 2004-04-19 Eric Christopher <echristo@redhat.com>
640 * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
641 of previous patch for fix in gcc.
643 2004-04-19 Jakub Jelinek <jakub@redhat.com>
645 * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
647 2004-04-19 Nathan Sidwell <nathan@codesourcery.com>
649 * read.c (do_align): Call md_flush_pending_output, if defined.
651 2004-04-16 Alan Modra <amodra@bigpond.net.au>
653 * expr.c (operand): Correct checks for ++ and --.
655 2004-04-14 H.J. Lu <hongjiu.lu@intel.com>
657 * config/tc-generic.c: Add some comments.
659 2004-04-14 Richard Sandiford <rsandifo@redhat.com>
661 * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
662 -{no-}mfix-vr4122-bugs.
663 * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
664 (append_insn, mips_emit_delays): Update accordingly.
665 (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
666 (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
667 (md_parse_option): Update after above changes.
668 (md_show_usage): Add -mfix-vr4120.
670 2004-04-13 Bob Wilson <bob.wilson@acm.org>
672 * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
673 of .section directive; add a reference to the ELF .subsection
676 2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
678 * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
681 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
683 * Makefile.am: Remove mips from aout targets.
684 * Makefile.in: Regenerate.
685 * configure.in: Remove mips-dec-bsd* target.
686 * configure: Regenerate.
688 2004-04-07 Alan Modra <amodra@bigpond.net.au>
691 * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
692 to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64.
693 Update "mapping". Restrict some @ modifiers to 32 bit.
695 2004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
696 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
698 * config/tc-sh.c (dont_adjust_reloc_32): New variable.
699 (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
700 dont_adjust_reloc_32 is set.
701 (md_longopts): Add option -renesas.
702 (md_parse_option, md_show_usage): Likewise.
703 * doc/c-sh.texi: Likewise.
705 2004-04-01 Dave Korn <dk@artimi.com>
707 * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
708 hi16 and lo16 fixS structs.
709 (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
710 exactly the same way as for RELOC_DLX_REL16.
711 (machine_ip): properly respect LO flag in the_insn and
712 output RELOC_DLX_LO16 rather than RELOC_DLX_16.
713 (md_apply_fix3): apply RELOC_DLX_LO16.
715 2004-03-30 Stan Shebs <shebs@apple.com>
717 Remove long-obsolete MPW support.
718 * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
719 * configure.in: Remove mention of ppc-*-mpw* config.
720 * configure.in: Likewise.
722 2004-03-30 Nick Clifton <nickc@redhat.com>
724 * config/tc-arm.c (meabi_flags): Make its use conditional upon
725 OBJ_ELF being defined.
727 2004-03-27 Alan Modra <amodra@bigpond.net.au>
729 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
731 2004-03-23 Paul Brook <paul@codesourcery.com>
733 * config/tc-arm.c (meabi_flags): New variable.
734 (arm_parse_eabi): New function.
735 (md_begin): Set flags for EABI v3.
737 (arm_long_opts): Add meabi.
738 * doc/as.texinf <ARM>: Document -meabi.
739 * doc/c-arm.texi: Ditto.
741 2004-03-22 Bob Wilson <bob.wilson@acm.org>
743 * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
744 tables even when use_literal_section flag is not set.
746 2004-03-22 Alan Modra <amodra@bigpond.net.au>
748 * config/tc-sh.c: Remove trailing whitespace.
750 2004-03-22 Hans-Peter Nilsson <hp@axis.com>
752 * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
753 --mul-bug-abort and the default behavior.
754 * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
755 (err_for_dangerous_mul_placement): New variable.
756 (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
758 (md_cris_relax_table): Have placeholder for STATE_MUL.
759 (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
760 (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
762 (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
764 (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
765 alignment and position of this frag, emit error message if
767 (md_assemble): For a multiply insn and when checking it,
768 transform the current frag into a special frag for that purpose.
769 (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
770 OPTION_MULBUG_ABORT_ON>: Handle new options.
772 2004-03-19 Bob Wilson <bob.wilson@acm.org>
774 * config/tc-xtensa.c (mark_literal_frags): New function.
775 (xtensa_move_literals): Call mark_literal_frags for all literal
776 segments, including init and fini literal segments.
777 (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
779 2004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
781 * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
782 (pa_comm): Set BSF_OBJECT in symbol flags.
784 2004-03-19 Alan Modra <amodra@bigpond.net.au>
786 * Makefile.am: Run "make dep-am".
787 * Makefile.in: Regenerate.
788 * doc/Makefile.in: Regenerate.
789 * config.in: Regenerate.
790 * po/gas.pot: Regenerate.
792 2004-03-18 Nathan Sidwell <nathan@codesourcery.com>
794 * read.c (read_a_source_file): Use demand_empty_rest_of_line.
795 (demand_empty_rest_of_line): Issue an error here.
796 (ignore_rest_of_line): Silently skip to end.
797 (demand_copy_string): Issue an error, not warning.
799 * config/obj-elf.c (obj_elf_section_name): Likewise.
800 (obj_elf_section): Likewise.
801 * config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
802 (arc_extinst): Likewise.
803 * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
804 (dot_spill): Likewise.
805 (dot_unwabi): Likewise.
806 (dot_prologue): Likewise.
808 * expr.c (operand): Reject ++ and --.
809 (operator): Likewise.
811 2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
813 * config/tc-sh.c: Include dw2gencfi.h.
814 (sh_cfi_frame_initial_instructions): New function.
815 (sh_regname_to_dw2regnum): Likewise.
816 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
818 (TARGET_USE_CFIPOP): Define.
819 (tc_cfi_frame_initial_instructions): Likewise.
820 (tc_regname_to_dw2regnum): Likewise.
821 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
822 * Makefile.am: Update dependencies.
823 * Makefile.in: Regenerate.
825 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
827 * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
828 * configure: Regenerate.
830 2004-03-12 Bob Wilson <bob.wilson@acm.org>
832 * read.c (s_leb128): Call md_flush_pending_output.
834 2004-03-12 Michal Ludvig <mludvig@suse.cz>
836 * config/tc-i386.c (output_insn): Handle PadLock instructions.
837 * config/tc-i386.h (CpuPadLock): New define.
838 (CpuUnknownFlags): Added CpuPadLock.
840 2004-03-07 Andreas Schwab <schwab@suse.de>
842 * doc/c-hppa.texi (HPPA Directives): Fix typo.
844 2004-03-07 Richard Henderson <rth@redhat.com>
846 * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
847 (cfi_finish): Likewise for fde.
849 2004-03-05 H.J. Lu <hongjiu.lu@intel.com>
851 * config/tc-ia64.c (md_assemble): Properly handle NULL
853 (ia64_handle_align): Don't abort if failed to add a stop bit.
855 2004-03-04 H.J. Lu <hongjiu.lu@intel.com>
857 * Makefile.in: Regenerated.
858 * aclocal.m4: Likewise.
859 * configure: Likewise.
860 * doc/Makefile.in: Likewise.
862 2004-03-03 H.J. Lu <hongjiu.lu@intel.com>
864 * config/tc-ia64.c (dot_align): New.
865 (ia64_do_align): Make it static.
866 (md_pseudo_table): Use "dot_align" for "align".
867 (ia64_md_do_align): Don't set align_frag here.
868 (ia64_handle_align): Add a stop bit to the previous bundle if
871 * config/tc-ia64.h (ia64_do_align): Removed.
873 2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
875 * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
876 -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
877 (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
878 the most general type or the user specifically requested it.
879 (md_assemble): Add a new error message for when an instruction
880 is understood, but is not allowed due to an -isa option.
882 2004-03-02 H.J. Lu <hongjiu.lu@intel.com>
884 * config/tc-ia64.c (align_frag): New.
885 (md_assemble): Set the tc_frag_data field in align_frag for
886 IA64_OPCODE_FIRST instructions.
887 (ia64_md_do_align): Set align_frag.
888 (ia64_handle_align): Add a stop bit if needed.
890 * config/tc-ia64.h (TC_FRAG_TYPE): New.
893 2004-03-01 Richard Sandiford <rsandifo@redhat.com>
895 * config/tc-frv.c (fr400_audio): New variable.
896 (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
897 (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
898 (target_implements_insn_p): New function.
899 (md_assemble): Report an error if the processor doesn't implement
902 2004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
904 * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
905 (md_parse_option): Ditto.
906 (OPTION_NO_SPECIAL_M32R): Added.
907 (md_show_usage): Document it.
908 (enable_speial_m32r): Changed a default value from 0 to 1.
909 * doc/c-m32r.texi: Document the -no-bitinst option.
911 2004-02-27 Nick Clifton <nickc@redhat.com>
913 * config/tc-sh.c (get_operand): Revert previous delta.
914 (tc_gen_reloc): Check for an unknown reloc type before processing
917 2004-02-27 Hannes Reinecke <hare@suse.de>
919 * config/tc-s390.c (s390_insn): Correct range check for opcode in
920 .insn pseudo operation.
922 2004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
924 * config/tc-sh.c (get_operand): In case of #Imm, check has been
925 added for wrong syntax.
927 2004-02-26 Eric Christopher <echristo@redhat.com>
929 * config/tc-mips.c (mips_dwarf2_addr_size): New.
930 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
932 2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
934 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
935 nibble types to assembler.
937 2004-02-25 Fred Fish <fnf@redhat.com>
939 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
941 2004-02-20 James E Wilson <wilson@specifixinc.com>
943 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
945 (fixup_unw_records): New arg before_relax. Pass to slot_index.
946 (ia64_estimate_size_before_relax): New.
947 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
948 (generate_unwind_image): Pass 1 to fixup_unw_records.
949 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
950 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
952 2004-02-19 Jakub Jelinek <jakub@redhat.com>
954 * stabs.c (generate_asm_file): Avoid warning about use of
955 uninitialized variable.
957 2004-02-18 David Mosberger <davidm@hpl.hp.com>
959 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
960 body, and endp, allow unwind records which do not have a "t"
961 (time/instruction) field.
963 2004-02-17 Petko Manolov <petkan@nucleusys.com>
965 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
966 (do_mav_dspsc_2): Likewise.
967 Fix accumulator registers move opcodes.
969 2004-02-13 Hannes Reinecke <hare@suse.de>
970 Jakub Jelinek <jakub@redhat.com>
972 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
974 2004-02-10 Steve Ellcey <sje@cup.hp.com>
976 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
977 (tc_frob_symbol): New macro definition.
978 * config/tc-ia64.c (ia64_frob_symbol): New routine.
980 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
982 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
985 2004-02-09 Nathan Sidwell <nathan@codesourcery.com>
987 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
988 (TC_CASE_SENSITIVE): ... this.
989 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
990 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
992 2004-02-06 James E Wilson <wilson@specifixinc.com>
994 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
995 (generate_unwind_image): Re-add it here.
997 2004-02-06 Nathan Sidwell <nathan@codesourcery.com>
999 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
1000 * read.h (SKIP_WHITESPACE): Turn into an expression.
1001 * read.c (read_a_source_file): A pseudo is removed by having a
1004 2004-02-05 James E Wilson <wilson@specifixinc.com>
1006 * config/tc-ia64.c (output_endp): New.
1007 (count_bits): Delete.
1008 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
1009 endp unwind records.
1010 (fixup_unw_records): Handle endp unwind records. Delete code for
1011 shortening prologue regions not followed by a body record.
1012 (dot_endp): Call add_unwind_entry to emit endp unwind record.
1013 * config/tc-ia64.h (unw_record_type): Add endp.
1015 2004-02-03 James E Wilson <wilson@specifixinc.com>
1017 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
1018 fill padding bytes with zeroes.
1019 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
1020 sets unwind_record slot_number and slot_frag fields.
1022 2004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1024 * config/tc-mips.c (add_got_offset_hilo): New function.
1025 (macro): Use load_register() and add_got_offset_hilo() to load
1026 constants instead of hardcoding code sequences throughout.
1028 2004-01-28 H.J. Lu <hongjiu.lu@intel.com>
1030 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
1032 2004-01-26 Bernardo Innocenti <bernie@develer.com>
1034 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
1036 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
1037 of hard-coded test for TARGET_OS=elf.
1039 2004-01-24 Chris Demetriou <cgd@broadcom.com>
1041 * config/tc-mips.c (hilo_interlocks): Change definition
1042 so that MIPS32, MIPS64 and later ISAs are included, along with
1043 the already-included machines. Update comments.
1045 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
1047 * config/tc-arm.c (tc_gen_reloc): Improve error message for
1048 undefined local labels.
1050 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
1052 * config/tc-mips.c (load_address, macro): Update comments about
1053 NewABI GP relaxation.
1055 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
1057 * config/tc-mips.c (macro_build): Remove place and counter arguments.
1058 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
1059 (mips16_macro_build, macro_build_jalr): Remove counter argument.
1060 (set_at, load_register, load_address, move_register): Likewise.
1061 (load_got_offset, add_got_offset): Likewise.
1062 Update all calls and tidy accordingly.
1064 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
1066 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
1067 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
1068 (RELAX_USE_SECOND): Bump to 0x10000.
1069 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
1070 (mips_macro_warning): New variable.
1071 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
1072 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
1073 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
1075 (append_insn): Update mips_macro_warning.sizes.
1076 (macro_start, macro_warning, macro_end): New functions.
1077 (macro_build): Don't emit warnings here.
1078 (macro_build_lui, md_estimate_size_before_relax): ...or here.
1079 (md_convert_frag): Check for cases where one macro alternative
1080 needs a warning and the other doesn't. Emit a warning if the
1081 longer sequence was chosen.
1083 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
1085 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
1086 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
1087 the first sequence, the size of the second sequence, and a flag
1088 that says whether we should warn.
1089 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
1090 (RELAX_FIRST, RELAX_SECOND): New.
1091 (mips_relax): New variable.
1092 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
1093 (append_insn): Remove "place" argument. Use mips_relax.sequence
1094 rather than "place" to check whether we're expanding the second
1095 alternative of a relaxable macro. Remove redundant check for
1096 branch relaxation. If generating a normal insn, and there
1097 is not enough room in the current frag, call relax_close_frag()
1098 to close it. Update mips_relax.sizes[]. Emit fixups for the
1099 second version of a relaxable macro. Record the first relaxable
1100 fixup in mips_relax. Remove tc_gen_reloc workaround.
1101 (macro_build): Remove all uses of "place". Use mips_relax.sequence
1102 in the same way as in append_insn.
1103 (mips16_macro_build): Remove "place" argument.
1104 (macro_build_lui): As for macro_build. Don't drop the add_symbol
1105 when generating the second version of a relaxable macro.
1106 (load_got_offset, add_got_offset): New functions.
1107 (load_address, macro): Use new relaxation machinery. Remove
1108 tc_gen_reloc workarounds.
1109 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
1110 version of a relaxable macro is needed. Return -RELAX_SECOND if the
1111 first version is needed.
1112 (tc_gen_reloc): Remove relaxation handling.
1113 (md_convert_frag): Go through the fixups for a relaxable macro and
1114 mark those that belong to the unneeded alternative as done. If the
1115 second alternative is needed, adjust the fixup addresses to account
1116 for the deleted first alternative.
1118 2004-01-23 Richard Sandiford <rsandifo@redhat.com>
1120 * frags.h (frag_room): Declare.
1121 * frags.c (frag_room): New function.
1122 * doc/internals.texi: Document it.
1124 2004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1126 * config/tc-mips.c (append_insn): Don't do r3900 interlock
1127 optimization for -mtune=r3900, as this will break on other CPUs.
1129 2004-01-11 Tom Rix <tcrix@worldnet.att.net>
1131 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
1132 be relaxed, use fixup.
1133 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
1135 2004-01-19 Jakub Jelinek <jakub@redhat.com>
1137 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
1140 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1142 * config/tc-mips.c (append_insn): Properly detect variant frags
1143 that preclude swapping of relaxed branches. Correctly swap
1144 instructions between frags when dealing with relaxed branches.
1146 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1148 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
1150 * aclocal.m4: Regenerate.
1151 * configure: Regenerate.
1153 2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
1155 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
1158 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
1160 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
1161 reloc, reserve space for the delay slot as well as the jalr itself.
1163 2004-01-09 Paul Brook <paul@codesourcery.com>
1165 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
1166 (do_vfp_sp2_from_reg2): New function.
1168 (do_vfp_dp_from_reg2): Check return values properly.
1170 2004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
1172 * config/tc-mips.c (warn_nops): Remove static variable.
1173 (macro): Remove test of warn_nops.
1174 (md_shortops): Remove 'n'.
1175 (md_parse_option): Remove 'n' case.
1176 (md_show_usage): Remove -n.
1177 * doc/as.texinfo (Overview): Remove MIPS -n option.
1178 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
1179 * NEWS: Mention removal of MIPS -n option.
1181 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
1182 (cop_interlocks): Check ISA level.
1183 (cop_mem_interlocks): Define.
1184 (reg_needs_delay): Check cop_interlocks rather than
1185 ISA_HAS_COPROC_DELAYS.
1186 (append_insn): Likewise. Use cop_mem_interlocks rather than
1187 directly checking mips_opts.isa.
1188 (mips_emit_delays): Likewise.
1190 2004-01-07 H.J. Lu <hongjiu.lu@intel.com>
1192 * config/tc-ia64.c (unwind): Move next_slot_number and
1193 next_slot_frag to ...
1194 (unw_rec_list): Here.
1195 (free_list_records): Removed.
1196 (output_unw_records): Likewise.
1197 (generate_unwind_image): Make it void.
1198 (alloc_record): Initialize next_slot_number and next_slot_frag.
1199 (slot_index): Take .org, .space and .align into account.
1200 (fixup_unw_records): Don't set slot_number to 0. Use
1201 list->next_slot_number and list->next_slot_frag instead of
1202 unwind.next_slot_number and unwind.next_slot_frag.
1203 (ia64_convert_frag): New.
1204 (generate_unwind_image): Generate a rs_machine_dependent frag
1206 (emit_one_bundle): Use list->next_slot_number and
1207 list->next_slot_frag instead of unwind.next_slot_number and
1208 unwind.next_slot_frag.
1210 * config/tc-ia64.h (md_convert_frag): Defined as
1212 (md_estimate_size_before_relax): Defined as (f)->fr_var.
1214 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
1216 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
1217 * config/tc-frv.h (md_apply_fix3): Don't define.
1218 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
1220 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1221 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
1222 * config/tc-frv.c (line_separator_chars): Add `!'.
1223 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
1224 * config/tc-frv.c (md_assemble): Clear insn upfront.
1225 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
1226 * config/tc-frv.c (OPTION_FDPIC): New macro.
1227 (md_longopts): Add mfdpic.
1228 (md_parse_option): Handle it.
1229 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
1230 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
1231 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
1232 (frv_pic_ptr): Parse funcdesc.
1234 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1236 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
1237 gasver.texi. Remove duplicate symbol definitions for texi2pod.
1239 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1241 * Makefile.am (Makefile): Move the dependency on
1242 $(BFDDIR)/configure.in to...
1243 (CONFIG_STATUS_DEPENDENCIES): ... here.
1244 (AUTOMAKE_OPTIONS): Require automake 1.8.
1245 * Makefile.in: Regenerate.
1246 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
1247 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
1248 $(BFDDIR)/configure.in here as well.
1249 * doc/Makefile.in: Regenerate.
1251 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1253 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
1254 * Makefile.in: Regenerate.
1255 * aclocal.m4: Regenerate.
1256 * doc/Makefile.am (install, install-info): Remove.
1257 (install-data-local): A new hook for install-info.
1258 (AUTOMAKE_OPTIONS): Require automake 1.8.
1259 * doc/Makefile.in: Regenerate.
1261 2004-01-02 Nutan Singh <nutan@kpitcummins.com>
1263 * doc/c-sh.texi: Update description about floating point behavior
1266 2004-01-02 Bernardo Innocenti <bernie@develer.com>
1268 * configure.in: Add m68k-uClinux target.
1269 * configure: Regenerate.
1271 For older changes see ChangeLog-0203
1277 version-control: never