merge from gcc
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
20f0a1fc
NC
12004-07-21 Jan Beulich <jbeulich@novell.com>
2
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
6 32-bit mode.
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
16 registers.
17 (parse_register): Disallow Reg64 registers in 32-bit mode.
18
01a3f561
MR
192004-07-20 Maciej W. Rozycki <macro@linux-mips.org>
20
21 * config/tc-mips.c (append_insn): Handle constant expressions with
22 no associated relocation.
23 (mips_ip): Cancel the expression after use for the Q format
24 specifier.
25 (parse_relocation): Return no relocation for unsupported
26 operators.
27 (my_getSmallExpression): Return no relocation if no relocation
28 operators are used.
29
e12904d2
DA
302004-07-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
31
32 * config/obj-som.c (adjust_stab_sections): Add prototype.
33 (obj_som_compiler, obj_som_version, obj_som_copyright,
34 adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
35 * config/tc-hppa.c (update_subspace): Likewise.
36 (is_defined_subspace): Amplify comment.
37 * config/obj-som.h (som_frob_file): Add prototype.
38
90c1602c
L
392004-07-19 Christopher Faylor <cgf@timesys.com>
40 H.J. Lu <hongjiu.lu@intel.com>
41
42 * subsegs.c (section_symbol): Don't create a new segment when
43 existing segment is undefined.
44
f263249b
RE
452004-07-16 Richard Earnshaw <rearnsha@arm.com>
46
47 * config/tc-arm.c: Include include/opcode/arm.h.
48 (ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete.
49 (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete.
50 (FPU_ARCH_*): Delete.
51 * Makefile.am: Update dependencies.
52 * Makefile.in: Regenerate.
53
152c65b9
NC
542004-07-15 Nick Clifton <nickc@redhat.com>
55
56 * configure.in: Accept armbe as a big-endian arm configuration.
57 * configure: Regenerate.
58
0477af35
NC
592004-07-13 Thomas Nystrom <thn@saeab.se>
60
61 * config/tc-i386.c (T_SHIFTOP): New constant.
62 (intel_e05_1): Handle '&', '|' and T_SHIFTOP.
63 (intel_el1): Handle '~'.
64 (intel_get_token): Handle '<>', '&', '|' and '~'.
65
662004-07-13 Nick Clifton <nickc@redhat.com>
67
68 (md_assemble): Remove spurious newline from end of as_bad error
69 message.
70 (intel_e05_1): Likewise.
71 (intel_e11): Likewise.
72 (intel_match_token): Likewise.
73
31302357
AS
742004-07-11 Andreas Schwab <schwab@suse.de>
75
76 * config/tc-m68k.c: Convert to C90. Remove redundant
77 declarations. Indentation fixup.
78 [M68KCOFF]: Include "obj-coff.h" instead of declaring
79 obj_coff_section ourselves.
80
549f748d
JW
812004-07-09 James E Wilson <wilson@specifixinc.com>
82
83 * config/tc-ia64.c (default_big_endian): New.
84 (dot_byteorder, md_begin): Use it.
85 (md_parse_option): Set it.
86
1a320fbb
NC
872004-07-09 Nick Clifton <nickc@redhat.com>
88
89 * configure.in: Change sh-sybmian-elf to sh-*-symbianelf.
90 * configure: Regenerate.
91 * NEWS: Change sh-sybmian-elf to sh-*-symbianelf.
92 * config/tc-sh.c (sh_elf_final_processing): Use renamed version of
93 sh_find_elf_flags if necessary.
94
de7e6852
RS
952004-07-08 Richard Sandiford <rsandifo@redhat.com>
96
97 * config/tc-mips.c (mips_fix_adjustable): If the full addend is
98 going to be split into more than one in-place addend, return 0
99 for relocations against mergeable sections. Associate comments
100 with code.
101
1fe1f39c
NC
1022004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
103
104 * Makefile.am (CPU_TYPES): Add crx.
105 (TARGET_CPU_CFILES): Add config/tc-crx.c.
106 (TARGET_CPU_HFILES): Add config/tc-crx.h.
107 (DEPTC_crx_elf): New target.
108 (DEPOBJ_crx_elf): Likewise.
109 (DEP_crx_elf): Likewise.
110 * Makefile.in: Regenerate.
111 * configure.in: Add crx* target.
112 * configure: Regenerate.
113 * config/tc-crx.c: New file.
114 * config/tc-crx.h: New file.
115 * NEWS: Mention new target.
116
d9895649
NC
1172004-07-06 Nick Clifton <nickc@redhat.com>
118
85fbca6a
NC
119 * config.in: Undefine TARGET_SYMBIAN by default.
120 * configure.in:
121 * configure: Regenerate. Add sh-symbian-elf target. If
122 selected define TARGET_SYMBIAN.
123 * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target
124 format if TARGET_SYMBIAN has been defined.
125
e7bd9ea0
NC
126 * output-file.c (output_file_create): Report the target format
127 chosen when bfd_openw reports that it is invalid.
128
d9895649
NC
129 * config/obj-coff.c (coff_pseudo_table): Only define the weak
130 pseudo for BFD based assemblers.
131
871ec896
JR
1322004-07-05 Andrew Stubbs <andrew.stubbs@superh.com>
133
134 gas:
135 * config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
136 (md_parse_option): Remove redundant -isa testing.
137 Make bfd_arch variable const.
138 (md_show_usage): Make bfd_arch variable const.
139
5a9ff93d
JW
1402004-07-03 James E Wilson <wilson@specifixinc.com>
141
142 * config/tc-ia64.c (emit_one_bundle): Check and set insn_addr.
143 * config/tc-ia64.h (md_frag_check): Define.
144
c87db184
CF
1452004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
146
147 * config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
148 externals.
149 * doc/as.texinfo (Weak): Document PE weak symbols.
150
3b91255e
RS
1512004-07-03 Richard Sandiford <rsandifo@redhat.com>
152
153 * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
154 (reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS.
155 (mips_frob_file): Rework so that only a single pass through the
156 relocs is needed. Allow %lo()s to have higher offsets than their
157 corresponding %hi()s or %got()s.
158
310ea308
NC
1592004-07-02 Nick Clifton <nickc@redhat.com>
160
161 * config/tc-arm.c (md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not
162 allow values which have come from undefined symbols.
163 Always consider this fixup to have been processed as a reloc
164 cannot be generated for it.
165
09b935ac
AM
1662004-07-02 Alan Modra <amodra@bigpond.net.au>
167
168 * frags.h (struct frag): Add has_code and insn_addr fields.
169 * write.c (cvt_frag_to_fill): Invoke md_frag_check.
170 * config/tc-ppc.c (md_assemble): Check and set insn_addr.
171 * config/tc-ppc.h (md_frag_check): Define.
172
4d1cd5c7
MR
1732004-06-28 Maciej W. Rozycki <macro@linux-mips.org>
174
175 * doc/Makefile.am (info): Rename goal to...
176 (info-local): ... this, to preserve implicit dependencies.
177 * doc/Makefile.in: Regenerate with automake 1.8.5.
178
097f809a
NC
1792004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
180
181 * config/tc-m32r.c (md_convert_frag): Changed for @PLT.
182 (m32r_cgen_record_fixup_exp): Changed for @GOTOFF, @GOT.
183 (m32r_fix_adjustable): Changed for @GOTOFF, @GOT, @PLT.
184 (tc_gen_reloc): Likewise.
185 (m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT.
186 (m32r_parse_name): Likewise.
187 (m32r_cgen_parse_fix_exp): Likewise.
188 * config/tc-m32r.h (md_parse_name): Define for @GOTOFF, @GOT, @PLT.
189 (O_PIC_reloc): Likewise.
190 (TC_CGEN_PARSE_FIX_EXP): Likewise..
191 * cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP
192 for @GOTOFF, @GOT, @PLT.
193
bb82af9f
NC
1942004-06-21 Jan Beulich <jbeulich@novell.com>
195
196 * gas/symbols.c: While discarding ordinary local absolute symbols
197 when --strip-local-absolute is in effect, retain file symbols.
198
990ae22a
AS
1992004-06-20 Andreas Schwab <schwab@suse.de>
200
201 * config/tc-m68k.c (mri_chip): Replace current_chip, not augment.
202 (md_parse_option): Likewise.
203
32137342
NC
2042004-06-17 Jan Beulich <jbeulich@novell.com>
205
206 * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
207 * config/te-netware.h: New file.
208 * config/te-ppcnw.h: Delete: Obsolete.
209 * configure.in: Eliminate ill NetWare targets. Make generic
210 NetWare target use proper emulation.
211 * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add
212 reference to new te-netware.h.
213 * configure: Regenerate.
214 * Makefile.in: Regenerate.
215
f84d8e26
MS
2162004-06-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
217
218 * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
219 comparison in .insn pseudo operation.
220
587aac4e
AM
2212004-06-15 Alan Modra <amodra@bigpond.net.au>
222
223 * config/obj-coff.c (coff_adjust_section_syms): Use
224 bfd_get_section_size instead of bfd_get_section_size_before_reloc.
225 (coff_frob_section): Likewise.
226 * config/tc-mips.c (md_apply_fix3): Likewise.
227 * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size.
228 (elf_frob_file_after_relocs): Likewise.
229
2337eb33
DA
2302004-06-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
231
b8fc22bc
DA
232 * config/tc-hppa.c (log2): Rename to exact_log2.
233 (pa_next_subseg): Delete unused function.
234 (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
235 (create_new_subspace): Likewise.
236
2337eb33
DA
237 Bug gas/213
238 * config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
239 labels. Fix warning.
240
53cb0362
DD
2412004-05-28 DJ Delorie <dj@redhat.com>
242
243 * config/tc-mn10300.h (tc_fix_adjustable): Define.
244 * config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug
245 or non-merged symbols.
246
888a75be
L
2472004-05-28 H.J. Lu <hongjiu.lu@intel.com>
248
249 * config/tc-ia64.c (remove_marked_resource): Save, clear and
250 restore the old slot when inserting srlz.i/srlz.d.
251
f6f9408f
JR
2522004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
253
254 * Makefile.am: Regenerate dependecies.
255 * Makefile.in: Regenerate.
256 * config/tc-sh.c (valid_arch): Make unsigned.
257 (preset_target_arch): Likewise.
258 (md_begin): Use new architecture flags system.
259 (get_specific): Likewise.
260 (assemble_ppi): Likewise.
261 (md_assemble): Likewise. Also fix error check for bad opcodes.
262 (md_parse_option): Likewise. Also generate -isa values according
263 to the table in bfd/cpu-sh.c instead of just constants. Also
264 allow <arch>-up ISA variants.
265 (sh_elf_final_processing): Replace if-else chain with a call to
266 sh_find_elf_flags().
267 * testsuite/gas/sh/arch: New directory.
268 * testsuite/gas/sh/arch/arch.exp: New test script.
269 * testsuite/gas/sh/arch/arch_expected.txt: New file.
270 * testsuite/gas/sh/arch/sh.s: New file.
271 * testsuite/gas/sh/arch/sh2.s: New file.
272 * testsuite/gas/sh/arch/sh-dsp.s: New file.
273 * testsuite/gas/sh/arch/sh2e.s: New file.
274 * testsuite/gas/sh/arch/sh3-nommu.s: New file.
275 * testsuite/gas/sh/arch/sh3.s: New file.
276 * testsuite/gas/sh/arch/sh3-dsp.s: New file.
277 * testsuite/gas/sh/arch/sh3e.s: New file.
278 * testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
279 * testsuite/gas/sh/arch/sh4-nofpu.s: New file.
280 * testsuite/gas/sh/arch/sh4.s: New file.
281 * testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
282 * testsuite/gas/sh/arch/sh4al-dsp.s: New file.
283 * testsuite/gas/sh/arch/sh4a.s: New file.
284
580b9172
NC
2852004-05-28 Peter Barada <peter@the-baradas.com>
286
287 * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing
288 with zero offset into mode 2 addressing to save a word.
289
652ca075
L
2902004-05-27 H.J. Lu <hongjiu.lu@intel.com>
291
292 * config/tc-ia64.c (ar_is_in_integer_unit): Removed.
293 (ar_is_only_in_integer_unit): New.
294 (ar_is_only_in_memory_unit): New.
295 (generate_unwind_image): Silence gcc on 32bit host.
296 (md_assemble): Use ar_is_only_in_integer_unit instead of
297 ar_is_in_integer_unit. Check AR access.
298
60fed2d3
NC
2992004-05-27 Peter Barada <peter@the-baradas.com>
300
301 * config/tc-m68k.c (md_begin): Sort the opcode table into
302 alphabetical order.
303 (m68k_compare_opcode): New function to do the sorting.
304
be8c092b
NC
3052004-05-24 Peter Barada <peter@the-baradas.com>
306
307 * config/m68k-parse.y(operand): Allow for MAC/EMAC mask
308 addressing on MIT style operands.
309 * config/m68k-parse.y(yylex): Allow '-&' for predecrement
310 w/mask addressing.
311 * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type
312 operands.
313
1181c20e
AM
3142004-05-23 Alan Modra <amodra@bigpond.net.au>
315
316 * expr.c (operand, operator): Don't reject '++' and '--'.
317
20e56c33
RS
3182004-05-20 Richard Sandiford <rsandifo@redhat.com>
319
320 * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
321 dwarf tables.
322
b2d65c0b
NC
3232004-05-17 Adam Nemet <anemet@lnxw.com>
324
325 * configure.in: Add ppc-*-lynxos*. Update i386-*-lynxos* to ELF.
326 * configure: Regenerate.
327
0da76f83
NC
3282004-05-13 Paul Brook <paul@codesourcery.com>
329
330 * dw2gencfi.c (output_cie): Handle dwarf3 format CIE entries.
331
4b363073
NC
3322004-05-13 Joel Sherrill <joel@oarcorp.com>
333
334 * configure.in (or32-*-rtems*): Switch to elf.
335 * configure: Regenerate.
336
9598fbe5
NC
3372004-05-13 Nick Clifton <nickc@redhat.com>
338
339 * po/fr.po: Updated French translation.
340
22fe14ad
NC
3412004-05-11 Nick Clifton <nickc@redhat.com>
342
343 * doc/as.texinfo (Section): Document G and T flags to .section
344 directive. Document the extra arguments that the G flag
345 requires. Document the #tls flag.
346
3472004-05-11 H.J. Lu <hongjiu.lu@intel.com>
348
349 * subsegs.c (section_symbol): Create a new section symbol if
350 the existing one doesn't match.
351 * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol.
352
532c738a
RS
3532004-05-07 Richard Sandiford <rsandifo@redhat.com>
354
355 * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120
356 to cope with VR4181A errata MD(1) and MD(4).
357
0503b355
BF
3582004-05-07 Brian Ford <ford@vss.fsi.com>
359
360 * NEWS: Mention .secrel32 for pe[i]-i386.
361
daeea990
AO
3622004-05-07 Alexandre Oliva <aoliva@redhat.com>
363
364 * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
365 (HANDLE_ALIGN): New.
366
bfbdcf04
DJ
3672004-05-06 Daniel Jacobowitz <dan@debian.org>
368
369 * Makefile.am (DIST_SUBDIRS): Define.
370 * aclocal.m4: Regenerate with automake 1.8.4.
371 * Makefile.in: Likewise.
372 * doc/Makefile.in: Likewise.
373
5e819f9c
JW
3742004-05-06 David Mosberger-Tang <davidm@hpl.hp.com>
375
376 * config/tc-ia64.c (dot_serialize): Declare.
377 (dot_serialize): New function.
378 (md_pseudo_table): Add ".serialize.data" and
379 ".serialize.instruction" directives.
380
e5976317
NC
3812004-05-06 Nick Clifton <nickc@redhat.com>
382
383 * messages (as_internal_value_out_of_range): Print a message about
384 a value being out of range. Be consistent about whether the
385 values are printed in decimal or hexadecimal.
386 (as_warn_value_out_of_range): Generate a warning message about an
387 out of range value.
388 (as_bad_value_out_of_range): Generate an error message about an
389 out of range value.
390 * as.h: Prototype the new functions.
391 * config/tc-alpha.c (insert_operand): Use new function.
392 * config/tc-arc.c (arc_insert_operand): Likewise.
393 * config/tc-mn10200.c (mn10200_insert_operand): Likewise.
394 * config/tc-mn10300.c (mn10300_insert_operand): Likewise.
395 * config/tc-ppc.c (ppc_insert_operand): Likewise.
396 * config/tc-s390.c (s390_insert_operand): Likewise.
397 * config/tc-v850.c (v850_insert_operand): Likewise.
398
996991aa
AO
3992004-05-05 Alexandre Oliva <aoliva@redhat.com>
400
401 * configure.in: Set em=linux for frv-*-*linux*.
402 * configure: Rebuilt.
403 * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
404 (frv_md_fdpic_enabled): New.
405 * config/tc-frv.c (frv_md_fdpic_enabled): New.
406 (DEFAULT_FDPIC): New.
407 (frv_flags): Use DEFAULT_FDPIC.
408 (frv_pic_flag): Likewise.
409 (OPTION_NOPIC): New.
410 (md_longopts): Add -mnopic.
411 (md_parse_option): Handle it.
412 (md_show_usage): Add -mfdpic and -mnopic.
413
6b6e92f4
NC
4142004-05-05 Peter Barada <peter@the-baradas.com>
415
416 * config/tc-m68k.c: Add find_cf_chip to print list of valid
417 chips for invalid coldfire instructions, rename selectors
418 for ColdFire sub-variants, add 521x,5249,547x,548x and aliases,
419 add current_chip to track which chip is referred to(including save/restore),
420 use current_chip to select control registers, not current_arch.
421 (md_show_usage): Add new chips.
422 * doc/c-m68k.texi: Document new command line switches.
423
6f079ae3
JJ
4242004-05-05 Jakub Jelinek <jakub@redhat.com>
425
426 * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
427 (NOP_OPCODE): Define.
428 (s390_align_code): Remove prototype.
429 * tc-s390.c (s390_align_code): Remove.
430
2d6ed997
L
4312004-05-04 H.J. Lu <hongjiu.lu@intel.com>
432
433 * config/tc-ia64.c (make_unw_section_name): Removed.
434 (start_unwind_section): New function.
435 (generate_unwind_image): Take const segT instead of const
436 char *.
437 (dot_handlerdata): Adjusted.
438 (dot_endp): Likewise.
439
b9f18452
L
4402004-05-02 H.J. Lu <hongjiu.lu@intel.com>
441
442 * config/obj-elf.c (obj_elf_change_section): Allow the
443 ".note.GNU-stack" section has SHF_EXECINSTR.
444
fafe6678
L
4452004-05-02 H.J. Lu <hongjiu.lu@intel.com>
446
447 * config/obj-elf.c (get_section): Return bfd_boolean.
448 (obj_elf_change_section): Call bfd_get_section_by_name_if
449 instead of bfd_map_over_sections.
450
86654c12
L
4512004-04-30 H.J. Lu <hongjiu.lu@intel.com>
452
453 * config/obj-elf.c (get_section): New function.
454 (obj_elf_change_section): Support multiple sections with same
455 name.
456
376eb240
NC
4572004-04-30 Nick Clifton <nickc@redhat.com>
458
459 * config/tc-arm.c (create_register_alias): Fix typo checking for
460 case sensitive register aliases.
461 (co_proc_number): Use error message string in all_reg_maps[]
462 array.
463 (cp_reg_required_here): Likewise.
464 (fp_reg_required_here): Likewise.
465
8a7140c3
NC
4662004-04-29 Brian Ford <ford@vss.fsi.com>
467
468 * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags.
469
3e722fb5
CD
4702004-04-28 Chris Demetriou <cgd@broadcom.com>
471
472 * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build)
473 (load_address, macro, mips_ip, md_parse_option)
474 (mips_force_relocation, mips_validate_fix, md_apply_fix3)
475 (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all
476 embedded-PIC handling, and update comments.
477 (SWITCH_TABLE): Remove.
478 * config/tc-mips.h (DIFF_EXPR_OK): Delete.
479 (enum mips_pic_level): Remove EMBEDDED_PIC.
480 (EXTERN_FORCE_RELOC): Remove embedded-PIC handling.
481 (TC_FORCE_RELOCATION): Update comment.
482 * ecoff.c (ecoff_build_lineno): Add comment about some code that
483 might be safe to remove now that MIPS embedded-PIC is gone.
484
351e2b5a
DA
4852004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
486
487 * config/obj-som.c (obj_som_init_stab_section): Add new arguments in
488 call to obj_set_subsection_attributes.
489 (obj_som_init_stab_section): Likewise.
490 * config/tc-hppa.c (default_subspace_dict): Add comdat field.
491 (pa_def_subspaces): Provide comdat default.
492 (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and
493 not SEC_IS_COMMON if section is comdat, common or dup_common. Update
494 calls to create_new_subspace and update_subspace to pass comdat flag.
495 (create_new_subspace, update_subspace): Add new comdat argument. Use
496 it in calls to obj_set_subsection_attributes.
497 * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter
498 and use of comdat, common and dup_comm parameters.
499
f5842774
L
5002004-04-26 H.J. Lu <hongjiu.lu@intel.com>
501
502 * config/obj-elf.c (obj_elf_change_section): Check if the old
503 group name is NULL before comparison.
504
558fe4a7
CD
5052004-04-23 Chris Demetriou <cgd@broadcom.com>
506
507 * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
508
81a21e38
TS
5092004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
510
511 * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
512
5132004-04-23 Chris Demetriou <cgd@broadcom.com>
1ffcab4b
CD
514
515 * config/tc-mips.c (md_longopts): Remove -membedded-pic option.
516 (OPTION_MEMBEDDED_PIC): Remove.
517 (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
518 (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
519 (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
520 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
521 (OPTION_ELF_BASE): Renumber.
522 (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
523 (md_show_usage): Remove mention of -membedded-pic.
524 * doc/as.texinfo: Remove mention of -membedded-pic.
525
4d0d148d
TS
5262004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
527
528 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
529 * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
530 a.out support.
531 (md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
532 s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
533 USE_GLOBAL_POINTER_OPT.
534
017315e4
TS
5352004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
536
537 * config/tc-mips.c (macro): One more use of load_delay_nop.
538
269137b2
TS
5392004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
540
541 * config/tc-mips.c (load_delay_nop): New function.
542 (load_address, macro): Use load_delay_nop() to build a nop
543 which can be omitted with gpr_interlocks.
544
24772049
TS
5452004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
546
547 * config/tc-mips.c (hilo_interlocks, gpr_interlocks,
548 cop_interlocks): Remove superfluous CPU entries.
549
06516a5e
PB
5502004-04-22 Paul Brook <paul@codesourcery.com>
551
552 * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
553
fd99574b
NC
5542004-04-22 Peter Barada <peter@the-baradas.com>
555
556 * NEWS: Added support for EMAC instructions and MAC/EMAC
557 Motorola syntax.
558 * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
559 scale factor tokens, trailing_ampersand to mark mask addressing
560 for MAC/EMAC instructions.
561 * config/m68k-parse.y: Add options_ampersand clause, '<<',
562 '>>'.
563 (yylex): Handle '>', '<', and '&' following '+'.
564 * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
565 architectures in archs[].
566 (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
567 for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
568 respectively.
569 (m68k_ip): Handle trailing '&' on MAC/EMAC insns.
570 (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
571 cases.
572 Add EMAC operands to init_table[].
573
69b97547
NC
5742004-04-22 Bruno De Bus <bdebus@elis.ugent.be>
575
576 * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
577 state.
578 (TC_SEGMENT_INFO_TYPE): Define to enum mstate.
579 * config/tc-arm.c (enum mstate): Delete from here.
580 (mapping_state): Remove the static mapstate variable and instead
581 store the state in the segment. This allows a per-section mapping
582 state. Handle and ignore MAP_UNDEFINED states.
583 (arm_elf_change_section): Get the current mapping state from the
584 new section.
585 (s_ltorg): Set the mapping state to MAP_DATA.
586 (arm_cleanup): Use arm_elf_change_section to get the mapping state
587 for each pool as it is emitted.
588
5892004-04-22 Nick Clifton <nickc@redhat.com>
590
591 * config/tc-arm.h: Formatting tidy ups.
592
7a7f4e42
CD
5932004-04-20 Chris Demetriou <cgd@broadcom.com>
594
595 * NEWS: Note that MIPS -membedded-pic option is deprecated.
596
6482c264
NC
5972004-04-20 DJ Delorie <dj@redhat.com>
598
599 * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define.
600 * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32".
601 [TE_PE] (O_secrel): Define.
602 [TE_PE] (x86_pe_cons_fix_new): New.
603 [TE_PE] (pe_directive_secrel): Likewise.
604 (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL.
605
5bf10039
EC
6062004-04-19 Eric Christopher <echristo@redhat.com>
607
608 * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
609 of previous patch for fix in gcc.
610
77cd6497
JJ
6112004-04-19 Jakub Jelinek <jakub@redhat.com>
612
613 * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
614
b8861cfb
NS
6152004-04-19 Nathan Sidwell <nathan@codesourcery.com>
616
617 * read.c (do_align): Call md_flush_pending_output, if defined.
618
f4c724fc
AM
6192004-04-16 Alan Modra <amodra@bigpond.net.au>
620
621 * expr.c (operand): Correct checks for ++ and --.
622
a4b6e8f6
L
6232004-04-14 H.J. Lu <hongjiu.lu@intel.com>
624
625 * config/tc-generic.c: Add some comments.
626
d766e8ec
RS
6272004-04-14 Richard Sandiford <rsandifo@redhat.com>
628
629 * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
630 -{no-}mfix-vr4122-bugs.
631 * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
632 (append_insn, mips_emit_delays): Update accordingly.
633 (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
634 (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
635 (md_parse_option): Update after above changes.
636 (md_show_usage): Add -mfix-vr4120.
637
ed9589d4
BW
6382004-04-13 Bob Wilson <bob.wilson@acm.org>
639
640 * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
641 of .section directive; add a reference to the ELF .subsection
642 directive.
643
097dba13
NC
6442004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
645
646 * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
647 in parallel.
648
279500de
TS
6492004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
650
651 * Makefile.am: Remove mips from aout targets.
652 * Makefile.in: Regenerate.
653 * configure.in: Remove mips-dec-bsd* target.
654 * configure: Regenerate.
655
b7d7dc63
AM
6562004-04-07 Alan Modra <amodra@bigpond.net.au>
657
658 PR 96
659 * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
660 to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64.
661 Update "mapping". Restrict some @ modifiers to 32 bit.
662
f55629b8
KK
6632004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
664 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
665
666 * config/tc-sh.c (dont_adjust_reloc_32): New variable.
667 (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
668 dont_adjust_reloc_32 is set.
669 (md_longopts): Add option -renesas.
670 (md_parse_option, md_show_usage): Likewise.
671 * doc/c-sh.texi: Likewise.
672
a7844384
NC
6732004-04-01 Dave Korn <dk@artimi.com>
674
675 * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
676 hi16 and lo16 fixS structs.
677 (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
678 exactly the same way as for RELOC_DLX_REL16.
679 (machine_ip): properly respect LO flag in the_insn and
680 output RELOC_DLX_LO16 rather than RELOC_DLX_16.
681 (md_apply_fix3): apply RELOC_DLX_LO16.
682
6c71dbc4
SS
6832004-03-30 Stan Shebs <shebs@apple.com>
684
685 Remove long-obsolete MPW support.
686 * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
687 * configure.in: Remove mention of ppc-*-mpw* config.
688 * configure.in: Likewise.
689
7cc69913
NC
6902004-03-30 Nick Clifton <nickc@redhat.com>
691
692 * config/tc-arm.c (meabi_flags): Make its use conditional upon
693 OBJ_ELF being defined.
694
53fbb48a
AM
6952004-03-27 Alan Modra <amodra@bigpond.net.au>
696
697 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
698
d507cf36
PB
6992004-03-23 Paul Brook <paul@codesourcery.com>
700
701 * config/tc-arm.c (meabi_flags): New variable.
702 (arm_parse_eabi): New function.
703 (md_begin): Set flags for EABI v3.
704 (arm_eabis): Add.
705 (arm_long_opts): Add meabi.
706 * doc/as.texinf <ARM>: Document -meabi.
707 * doc/c-arm.texi: Ditto.
708
88d65ad6
BW
7092004-03-22 Bob Wilson <bob.wilson@acm.org>
710
711 * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
712 tables even when use_literal_section flag is not set.
713
13ef8878
AM
7142004-03-22 Alan Modra <amodra@bigpond.net.au>
715
716 * config/tc-sh.c: Remove trailing whitespace.
717
1048a9ba
HPN
7182004-03-22 Hans-Peter Nilsson <hp@axis.com>
719
720 * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
721 --mul-bug-abort and the default behavior.
722 * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
723 (err_for_dangerous_mul_placement): New variable.
724 (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
725 macros.
726 (md_cris_relax_table): Have placeholder for STATE_MUL.
727 (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
728 (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
729 case doing nothing.
730 (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
731 STATE_BYTE)>: Ditto.
732 (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
733 alignment and position of this frag, emit error message if
734 suspicious.
735 (md_assemble): For a multiply insn and when checking it,
736 transform the current frag into a special frag for that purpose.
737 (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
738 OPTION_MULBUG_ABORT_ON>: Handle new options.
739
a7877748
BW
7402004-03-19 Bob Wilson <bob.wilson@acm.org>
741
742 * config/tc-xtensa.c (mark_literal_frags): New function.
743 (xtensa_move_literals): Call mark_literal_frags for all literal
744 segments, including init and fini literal segments.
745 (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
746
9992270f
DA
7472004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
748
749 * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
750 (pa_comm): Set BSF_OBJECT in symbol flags.
751
6e1772d5
AM
7522004-03-19 Alan Modra <amodra@bigpond.net.au>
753
754 * Makefile.am: Run "make dep-am".
755 * Makefile.in: Regenerate.
756 * doc/Makefile.in: Regenerate.
757 * config.in: Regenerate.
758 * po/gas.pot: Regenerate.
759
3e4caed2
NS
7602004-03-18 Nathan Sidwell <nathan@codesourcery.com>
761
c95b35a9
NS
762 * read.c (read_a_source_file): Use demand_empty_rest_of_line.
763 (demand_empty_rest_of_line): Issue an error here.
764 (ignore_rest_of_line): Silently skip to end.
765 (demand_copy_string): Issue an error, not warning.
766 (equals): Likewise.
767 * config/obj-elf.c (obj_elf_section_name): Likewise.
768 (obj_elf_section): Likewise.
769 * config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
770 (arc_extinst): Likewise.
771 * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
772 (dot_spill): Likewise.
773 (dot_unwabi): Likewise.
774 (dot_prologue): Likewise.
775
3e4caed2
NS
776 * expr.c (operand): Reject ++ and --.
777 (operator): Likewise.
778
2ce4cc60
KK
7792004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
780
781 * config/tc-sh.c: Include dw2gencfi.h.
782 (sh_cfi_frame_initial_instructions): New function.
783 (sh_regname_to_dw2regnum): Likewise.
784 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
785 file.
786 (TARGET_USE_CFIPOP): Define.
787 (tc_cfi_frame_initial_instructions): Likewise.
788 (tc_regname_to_dw2regnum): Likewise.
789 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
790 * Makefile.am: Update dependencies.
791 * Makefile.in: Regenerate.
792
9183ed4b
AM
7932004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
794
795 * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
796 * configure: Regenerate.
797
00bbdfe7
BW
7982004-03-12 Bob Wilson <bob.wilson@acm.org>
799
800 * read.c (s_leb128): Call md_flush_pending_output.
801
0f10071e
ML
8022004-03-12 Michal Ludvig <mludvig@suse.cz>
803
804 * config/tc-i386.c (output_insn): Handle PadLock instructions.
805 * config/tc-i386.h (CpuPadLock): New define.
806 (CpuUnknownFlags): Added CpuPadLock.
807
84c84759
AS
8082004-03-07 Andreas Schwab <schwab@suse.de>
809
810 * doc/c-hppa.texi (HPPA Directives): Fix typo.
811
6ec51dba
RH
8122004-03-07 Richard Henderson <rth@redhat.com>
813
814 * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
815 (cfi_finish): Likewise for fde.
816
bae25f19
L
8172004-03-05 H.J. Lu <hongjiu.lu@intel.com>
818
819 * config/tc-ia64.c (md_assemble): Properly handle NULL
820 align_frag.
821 (ia64_handle_align): Don't abort if failed to add a stop bit.
822
ab509236
L
8232004-03-04 H.J. Lu <hongjiu.lu@intel.com>
824
825 * Makefile.in: Regenerated.
826 * aclocal.m4: Likewise.
827 * configure: Likewise.
828 * doc/Makefile.in: Likewise.
829
d9201763
L
8302004-03-03 H.J. Lu <hongjiu.lu@intel.com>
831
832 * config/tc-ia64.c (dot_align): New.
833 (ia64_do_align): Make it static.
834 (md_pseudo_table): Use "dot_align" for "align".
835 (ia64_md_do_align): Don't set align_frag here.
836 (ia64_handle_align): Add a stop bit to the previous bundle if
837 needed.
838
839 * config/tc-ia64.h (ia64_do_align): Removed.
840
ae51a426
JR
8412003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
842
843 * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
844 -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
845 (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
846 the most general type or the user specifically requested it.
847 (md_assemble): Add a new error message for when an instruction
848 is understood, but is not allowed due to an -isa option.
849
9545c4ce
L
8502004-03-02 H.J. Lu <hongjiu.lu@intel.com>
851
852 * config/tc-ia64.c (align_frag): New.
853 (md_assemble): Set the tc_frag_data field in align_frag for
854 IA64_OPCODE_FIRST instructions.
855 (ia64_md_do_align): Set align_frag.
856 (ia64_handle_align): Add a stop bit if needed.
857
858 * config/tc-ia64.h (TC_FRAG_TYPE): New.
859 (TC_FRAG_INIT): New.
860
676a64f4
RS
8612004-03-01 Richard Sandiford <rsandifo@redhat.com>
862
863 * config/tc-frv.c (fr400_audio): New variable.
864 (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
865 (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
866 (target_implements_insn_p): New function.
867 (md_assemble): Report an error if the processor doesn't implement
868 the instruction.
869
bd337dde
NC
8702004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
871
872 * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
873 (md_parse_option): Ditto.
874 (OPTION_NO_SPECIAL_M32R): Added.
875 (md_show_usage): Document it.
876 (enable_speial_m32r): Changed a default value from 0 to 1.
877 * doc/c-m32r.texi: Document the -no-bitinst option.
878
78878175
NC
8792004-02-27 Nick Clifton <nickc@redhat.com>
880
881 * config/tc-sh.c (get_operand): Revert previous delta.
882 (tc_gen_reloc): Check for an unknown reloc type before processing
883 the addend.
884
1d6d62a4
MS
8852004-02-27 Hannes Reinecke <hare@suse.de>
886
887 * config/tc-s390.c (s390_insn): Correct range check for opcode in
888 .insn pseudo operation.
889
4aa3e325
NC
8902004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
891
892 * config/tc-sh.c (get_operand): In case of #Imm, check has been
893 added for wrong syntax.
894
73369e65
EC
8952004-02-26 Eric Christopher <echristo@redhat.com>
896
897 * config/tc-mips.c (mips_dwarf2_addr_size): New.
898 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
899
6a5709a5
JR
9002004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
901
902 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
903 nibble types to assembler.
904
95385380
FF
9052004-02-25 Fred Fish <fnf@redhat.com>
906
907 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
908
b5e0fabd
JW
9092004-02-20 James E Wilson <wilson@specifixinc.com>
910
911 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
912 finalize_syms.
913 (fixup_unw_records): New arg before_relax. Pass to slot_index.
914 (ia64_estimate_size_before_relax): New.
915 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
916 (generate_unwind_image): Pass 1 to fixup_unw_records.
917 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
918 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
919
2f01ffbf
JJ
9202004-02-19 Jakub Jelinek <jakub@redhat.com>
921
922 * stabs.c (generate_asm_file): Avoid warning about use of
923 uninitialized variable.
924
9c59842f
JW
9252004-02-18 David Mosberger <davidm@hpl.hp.com>
926
927 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
928 body, and endp, allow unwind records which do not have a "t"
929 (time/instruction) field.
930
34920d91
NC
9312004-02-17 Petko Manolov <petkan@nucleusys.com>
932
933 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
934 (do_mav_dspsc_2): Likewise.
935 Fix accumulator registers move opcodes.
936
4dde8e61 9372004-02-13 Hannes Reinecke <hare@suse.de>
13ef8878 938 Jakub Jelinek <jakub@redhat.com>
4dde8e61
AJ
939
940 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
941
936cf02e
JW
9422004-02-10 Steve Ellcey <sje@cup.hp.com>
943
944 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
945 (tc_frob_symbol): New macro definition.
946 * config/tc-ia64.c (ia64_frob_symbol): New routine.
947
e41f12f3
DJ
9482004-02-09 Daniel Jacobowitz <drow@mvista.com>
949
950 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
951 read-only.
952
a8a3b3b2
NS
9532004-02-09 Nathan Sidwell <nathan@codesourcery.com>
954
955 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
956 (TC_CASE_SENSITIVE): ... this.
957 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
958 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
959
c97b7ef6
JW
9602004-02-06 James E Wilson <wilson@specifixinc.com>
961
962 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
963 (generate_unwind_image): Re-add it here.
964
e4475e39
NS
9652004-02-06 Nathan Sidwell <nathan@codesourcery.com>
966
967 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
968 * read.h (SKIP_WHITESPACE): Turn into an expression.
969 * read.c (read_a_source_file): A pseudo is removed by having a
970 NULL handler.
971
5738bc24
JW
9722004-02-05 James E Wilson <wilson@specifixinc.com>
973
974 * config/tc-ia64.c (output_endp): New.
975 (count_bits): Delete.
976 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
977 endp unwind records.
978 (fixup_unw_records): Handle endp unwind records. Delete code for
979 shortening prologue regions not followed by a body record.
980 (dot_endp): Call add_unwind_entry to emit endp unwind record.
981 * config/tc-ia64.h (unw_record_type): Add endp.
982
d6e78c11
JW
9832004-02-03 James E Wilson <wilson@specifixinc.com>
984
985 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
986 fill padding bytes with zeroes.
987 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
988 sets unwind_record slot_number and slot_frag fields.
989
f6a22291
MR
9902004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
991
992 * config/tc-mips.c (add_got_offset_hilo): New function.
993 (macro): Use load_register() and add_got_offset_hilo() to load
994 constants instead of hardcoding code sequences throughout.
995
127cab00
L
9962004-01-28 H.J. Lu <hongjiu.lu@intel.com>
997
998 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
999
6358301e
NC
10002004-01-26 Bernardo Innocenti <bernie@develer.com>
1001
1002 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
1003 like m68k-elf.
1004 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
1005 of hard-coded test for TARGET_OS=elf.
1006
c8978940
CD
10072004-01-24 Chris Demetriou <cgd@broadcom.com>
1008
1009 * config/tc-mips.c (hilo_interlocks): Change definition
1010 so that MIPS32, MIPS64 and later ISAs are included, along with
1011 the already-included machines. Update comments.
1012
c3ba240c
DJ
10132004-01-23 Daniel Jacobowitz <drow@mvista.com>
1014
1015 * config/tc-arm.c (tc_gen_reloc): Improve error message for
1016 undefined local labels.
1017
e864ceca
RS
10182004-01-23 Richard Sandiford <rsandifo@redhat.com>
1019
1020 * config/tc-mips.c (load_address, macro): Update comments about
1021 NewABI GP relaxation.
1022
67c0d1eb
RS
10232004-01-23 Richard Sandiford <rsandifo@redhat.com>
1024
1025 * config/tc-mips.c (macro_build): Remove place and counter arguments.
1026 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
1027 (mips16_macro_build, macro_build_jalr): Remove counter argument.
1028 (set_at, load_register, load_address, move_register): Likewise.
1029 (load_got_offset, add_got_offset): Likewise.
1030 Update all calls and tidy accordingly.
1031
584892a6
RS
10322004-01-23 Richard Sandiford <rsandifo@redhat.com>
1033
1034 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
1035 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
1036 (RELAX_USE_SECOND): Bump to 0x10000.
1037 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
1038 (mips_macro_warning): New variable.
1039 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
1040 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
1041 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
1042 of RELAX_ENCODE.
1043 (append_insn): Update mips_macro_warning.sizes.
1044 (macro_start, macro_warning, macro_end): New functions.
1045 (macro_build): Don't emit warnings here.
1046 (macro_build_lui, md_estimate_size_before_relax): ...or here.
1047 (md_convert_frag): Check for cases where one macro alternative
1048 needs a warning and the other doesn't. Emit a warning if the
1049 longer sequence was chosen.
1050
4d7206a2
RS
10512004-01-23 Richard Sandiford <rsandifo@redhat.com>
1052
1053 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
1054 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
1055 the first sequence, the size of the second sequence, and a flag
1056 that says whether we should warn.
1057 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
1058 (RELAX_FIRST, RELAX_SECOND): New.
1059 (mips_relax): New variable.
1060 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
1061 (append_insn): Remove "place" argument. Use mips_relax.sequence
1062 rather than "place" to check whether we're expanding the second
1063 alternative of a relaxable macro. Remove redundant check for
1064 branch relaxation. If generating a normal insn, and there
1065 is not enough room in the current frag, call relax_close_frag()
1066 to close it. Update mips_relax.sizes[]. Emit fixups for the
1067 second version of a relaxable macro. Record the first relaxable
1068 fixup in mips_relax. Remove tc_gen_reloc workaround.
1069 (macro_build): Remove all uses of "place". Use mips_relax.sequence
1070 in the same way as in append_insn.
1071 (mips16_macro_build): Remove "place" argument.
1072 (macro_build_lui): As for macro_build. Don't drop the add_symbol
1073 when generating the second version of a relaxable macro.
1074 (load_got_offset, add_got_offset): New functions.
1075 (load_address, macro): Use new relaxation machinery. Remove
1076 tc_gen_reloc workarounds.
1077 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
1078 version of a relaxable macro is needed. Return -RELAX_SECOND if the
1079 first version is needed.
1080 (tc_gen_reloc): Remove relaxation handling.
1081 (md_convert_frag): Go through the fixups for a relaxable macro and
1082 mark those that belong to the unneeded alternative as done. If the
1083 second alternative is needed, adjust the fixup addresses to account
1084 for the deleted first alternative.
1085
0530d30a
RS
10862004-01-23 Richard Sandiford <rsandifo@redhat.com>
1087
1088 * frags.h (frag_room): Declare.
1089 * frags.c (frag_room): New function.
1090 * doc/internals.texi: Document it.
1091
048cdf86
TS
10922004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1093
1094 * config/tc-mips.c (append_insn): Don't do r3900 interlock
1095 optimization for -mtune=r3900, as this will break on other CPUs.
1096
28d39d1a
NC
10972004-01-11 Tom Rix <tcrix@worldnet.att.net>
1098
1099 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
73369e65 1100 be relaxed, use fixup.
28d39d1a
NC
1101 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
1102
26664553
JJ
11032004-01-19 Jakub Jelinek <jakub@redhat.com>
1104
1105 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
1106 precision operands.
1107
895921c9
MR
11082004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1109
1110 * config/tc-mips.c (append_insn): Properly detect variant frags
1111 that preclude swapping of relaxed branches. Correctly swap
1112 instructions between frags when dealing with relaxed branches.
1113
f8b73030
MR
11142004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1115
1116 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
1117 throughout.
1118 * aclocal.m4: Regenerate.
1119 * configure: Regenerate.
1120
ca9a79a1 11212004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
73369e65 1122
ca9a79a1
NC
1123 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
1124 manipulation insns.
1125
cc3d92a5
RS
11262004-01-12 Richard Sandiford <rsandifo@redhat.com>
1127
1128 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
1129 reloc, reserve space for the delay slot as well as the jalr itself.
1130
e45d0630
PB
11312004-01-09 Paul Brook <paul@codesourcery.com>
1132
1133 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
1134 (do_vfp_sp2_from_reg2): New function.
1135 (insns): Use them.
1136 (do_vfp_dp_from_reg2): Check return values properly.
1137
81912461
ILT
11382004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
1139
78849248
ILT
1140 * config/tc-mips.c (warn_nops): Remove static variable.
1141 (macro): Remove test of warn_nops.
1142 (md_shortops): Remove 'n'.
1143 (md_parse_option): Remove 'n' case.
1144 (md_show_usage): Remove -n.
1145 * doc/as.texinfo (Overview): Remove MIPS -n option.
1146 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
1147 * NEWS: Mention removal of MIPS -n option.
1148
81912461
ILT
1149 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
1150 (cop_interlocks): Check ISA level.
1151 (cop_mem_interlocks): Define.
1152 (reg_needs_delay): Check cop_interlocks rather than
1153 ISA_HAS_COPROC_DELAYS.
1154 (append_insn): Likewise. Use cop_mem_interlocks rather than
1155 directly checking mips_opts.isa.
1156 (mips_emit_delays): Likewise.
1157
73f20958
L
11582004-01-07 H.J. Lu <hongjiu.lu@intel.com>
1159
1160 * config/tc-ia64.c (unwind): Move next_slot_number and
1161 next_slot_frag to ...
1162 (unw_rec_list): Here.
1163 (free_list_records): Removed.
1164 (output_unw_records): Likewise.
1165 (generate_unwind_image): Make it void.
1166 (alloc_record): Initialize next_slot_number and next_slot_frag.
1167 (slot_index): Take .org, .space and .align into account.
1168 (fixup_unw_records): Don't set slot_number to 0. Use
1169 list->next_slot_number and list->next_slot_frag instead of
1170 unwind.next_slot_number and unwind.next_slot_frag.
1171 (ia64_convert_frag): New.
1172 (generate_unwind_image): Generate a rs_machine_dependent frag
1173 for unwind record.
1174 (emit_one_bundle): Use list->next_slot_number and
1175 list->next_slot_frag instead of unwind.next_slot_number and
1176 unwind.next_slot_frag.
1177
1178 * config/tc-ia64.h (md_convert_frag): Defined as
1179 ia64_convert_frag.
1180 (md_estimate_size_before_relax): Defined as (f)->fr_var.
1181
99d09cdb
AO
11822004-01-06 Alexandre Oliva <aoliva@redhat.com>
1183
1184 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
1185 * config/tc-frv.h (md_apply_fix3): Don't define.
1186 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
1187 operands.
1188 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1189 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
1190 * config/tc-frv.c (line_separator_chars): Add `!'.
1191 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
1192 * config/tc-frv.c (md_assemble): Clear insn upfront.
1193 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
1194 * config/tc-frv.c (OPTION_FDPIC): New macro.
1195 (md_longopts): Add mfdpic.
1196 (md_parse_option): Handle it.
1197 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
1198 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
1199 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
1200 (frv_pic_ptr): Parse funcdesc.
1201
4a4c4a1d
MR
12022004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1203
1204 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
1205 gasver.texi. Remove duplicate symbol definitions for texi2pod.
1206
2251dd89
MR
12072004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1208
1209 * Makefile.am (Makefile): Move the dependency on
1210 $(BFDDIR)/configure.in to...
1211 (CONFIG_STATUS_DEPENDENCIES): ... here.
1212 (AUTOMAKE_OPTIONS): Require automake 1.8.
1213 * Makefile.in: Regenerate.
1214 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
1215 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
1216 $(BFDDIR)/configure.in here as well.
1217 * doc/Makefile.in: Regenerate.
1218
c6581168
MR
12192004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1220
1221 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
1222 * Makefile.in: Regenerate.
1223 * aclocal.m4: Regenerate.
1224 * doc/Makefile.am (install, install-info): Remove.
1225 (install-data-local): A new hook for install-info.
1226 (AUTOMAKE_OPTIONS): Require automake 1.8.
1227 * doc/Makefile.in: Regenerate.
1228
303e7b79
NC
12292004-01-02 Nutan Singh <nutan@kpitcummins.com>
1230
1231 * doc/c-sh.texi: Update description about floating point behavior
1232 of SH family.
1233
b50c15dc
NC
12342004-01-02 Bernardo Innocenti <bernie@develer.com>
1235
1236 * configure.in: Add m68k-uClinux target.
1237 * configure: Regenerate.
7de9afa2 1238
c9e214e5 1239For older changes see ChangeLog-0203
08d56133
NC
1240\f
1241Local Variables:
1242mode: change-log
1243left-margin: 8
1244fill-column: 74
1245version-control: never
1246End:
This page took 0.292042 seconds and 4 git commands to generate.