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