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