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