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