2007-07-27 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
17d4e2a2
L
12007-07-27 H.J. Lu <hongjiu.lu@intel.com>
2
3 * config/tc-i386.c (handle_large_common): Declare only for ELF.
4
ba825241
JB
52005-07-27 Jan Beulich <jbeulich@novell.com>
6
7 * config/tc-ia64.h (unw_r_record): Change type of fr_mem to unsigned
8 int.
9 (unw_p_record): Remove unused/redundant fields imask and rmask.
10 Combine spoff and pspoff into a union. Combine gr and br into a
11 union. Change type of grmask and brmask to unsigned char. Change type
12 of frmask to unsigned int.
13 (unw_x_record): Combine spoff, pspoff, and treg into a union.
14 * config/tc-ia64.c (unwind): New field 'pending_saves'.
15 (check_pending_save): New.
16 (alloc_record): Clear out entire record.
17 (output_psp_gr): Use renamed structure fields.
18 (output_psp_sprel): Likewise.
19 (output_rp_gr): Likewise.
20 (output_rp_br): Likewise.
21 (output_rp_psprel): Likewise.
22 (output_rp_sprel): Likewise.
23 (output_pfs_gr): Likewise.
24 (output_pfs_psprel): Likewise.
25 (output_pfs_sprel): Likewise.
26 (output_preds_gr): Likewise.
27 (output_preds_psprel): Likewise.
28 (output_preds_sprel): Likewise.
29 (output_spill_base): Likewise.
30 (output_unat_gr): Likewise.
31 (output_unat_psprel): Likewise.
32 (output_unat_sprel): Likewise.
33 (output_lc_gr): Likewise.
34 (output_lc_psprel): Likewise.
35 (output_lc_sprel): Likewise.
36 (output_fpsr_gr): Likewise.
37 (output_fpsr_psprel): Likewise.
38 (output_fpsr_sprel): Likewise.
39 (output_priunat_gr): Likewise.
40 (output_priunat_psprel): Likewise.
41 (output_priunat_sprel): Likewise.
42 (output_bsp_gr): Likewise.
43 (output_bsp_psprel): Likewise.
44 (output_bsp_sprel): Likewise.
45 (output_bspstore_gr): Likewise.
46 (output_bspstore_psprel): Likewise.
47 (output_bspstore_sprel): Likewise.
48 (output_rnat_gr): Likewise.
49 (output_rnat_psprel): Likewise.
50 (output_rnat_sprel): Likewise.
51 (output_spill_psprel): Likewise.
52 (output_spill_sprel): Likewise.
53 (output_spill_reg): Likewise.
54 (output_fr_mem): Likewise. Allocate one unwind record per set mask
55 bit.
56 (output_frgr_mem): Likewise.
57 (output_gr_mem): Likewise.
58 (output_br_mem): Likewise.
59 (output_gr_gr): Likewise.
60 (output_br_gr): Likewise.
61 (fixup_unw_records): Likewise.
62 (process_one_record): Use renamed structure fields. For gr_gr and
63 br_gr, collect mask from chain of records before output.
64 (in_prologue): Simplify and eliminate early returns. Call
65 check_pending_save.
66 (in_body): Simplify and eliminate early returns.
67 (dot_body): Call check_pending_save.
68 (md_assemble): Update comment. Deal with pending saves.
69
9cd96992
JB
702005-07-26 Jan Beulich <jbeulich@novell.com>
71
72 * config/tc-i386.c (optimize_imm): Calculate candidate immediates
73 mask from guessed suffix, but mask out other immediate types only
74 if at least on candidate is valid for the insn.
75
fd54057a
DD
762005-07-25 DJ Delorie <dj@redhat.com>
77
78 * config/tc-m32c.c (md_cgen_lookup_reloc): Add 8 bit operands.
79 Support %mod() modifiers from opcodes.
80 * doc/c-m32c.texi (M32C-Modifiers): New section.
81
3b22753a
L
822005-07-25 Jan Hubicka <jh@suse.cz>
83 H.J. Lu <hongjiu.lu@intel.com>
84
85 * config/obj-elf.c: Include "elf/x86-64.h" if TC_I386 is
86 defined.
87 (elf_com_section_ptr): New.
88 (elf_begin): Set elf_com_section_ptr to bfd_com_section_ptr.
89 (elf_common_parse): Make it global. Use elf_com_section_ptr
90 instead of bfd_com_section_ptr.
91 (obj_elf_change_section): Handle x86-64 large bss sections.
92
93 * config/obj-elf.h (elf_com_section_ptr): New.
94 (elf_common_parse): New.
95
96 * config/tc-i386.c (handle_large_common): New.
97 (md_pseudo_table): Add "largecomm".
98 (x86_64_section_letter): New.
99 (x86_64_section_word): New.
100
101 * config/tc-i386.h (x86_64_section_word): New.
102 (x86_64_section_letter): New.
103 (md_elf_section_letter): New. Defined.
104 (md_elf_section_word): Likewise.
105
9f971fcb
NC
1062005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org>
107
108 * configure.tgt: Remove i386-*-rtemself*.
109 Remove sparc-*-rtemself*.
110
240a3425
BE
1112005-07-21 Ben Elliston <bje@gnu.org>
112
113 * config/tc-m68k.h: Remove TE_LYNX conditional code.
114
c160f130
PB
1152005-07-21 Paul Brook <paul@codesourcery.com>
116
117 * config/tc-arm.c (encode_thumb32_addr_mode): Don't set
118 inst.reloc.pc_rel.
119
a9bfff94
NC
1202005-07-20 Tavis Ormandy <taviso@gentoo.org>
121
122 * messages.c: Use vsnprintf instead of vsprintf.
123
157e7bd1
NC
1242005-07-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
125
126 * config/tc-m32r.c (tc_gen_reloc): Check BFD_RELOC_32_PCREL and
127 BFD_RELOC_16_PCREL to Support R_M32R_REL32.
128
85da3a56
NC
1292005-07-18 Nick Clifton <nickc@redhat.com>
130
131 * configure.tgt: Restore alpha ordering to list of arches.
132
71e17562
DA
1332005-07-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
134
135 * tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20.
136
718ddfc0
JB
1372005-07-18 Jan Beulich <jbeulich@novell.com>
138
139 * config/tc-i386.c (md_begin): Use IS_ELF.
140 (tc_i386_fix_adjustable): Likewise.
141 (md_estimate_size_before_relax): Likewise.
142 (md_apply_fix): Likewise.
143 (i386_target_format): Likewise.
144 (lex_got): Define to NULL when not ELF or when LEX_AT. Check IS_ELF.
145 (i386_immediate): Remove #ifdef LEX_AT.
146 (i386_displacement): Likewise.
147 * config/tc-i386.h (x86_cons): Prototype only when ELF and when not
148 LEX_AT.
149
3956db08
JB
1502005-07-18 Jan Beulich <jbeulich@novell.com>
151
152 * config/tc-i386.c (reloc): Convert to ISO C90. Change first
153 parameter to unsigned. Parameter sign now is tristate - zero/
154 positive mean unsigned/signed, negative means signedness doesn't
155 matter. Check field size,
156 signedness, and pcrel-ness are in agreement between relocated field
157 and relocation type. Adjust diagnostics.
158 (optimize_imm): And type mask of operand instead of overwriting it.
159 (lex_got): Convert to ISO C90. Add third parameter. Add new field to
160 local structure and initialize gotrel accordingly. Pass caller as
161 mask of types that the operator can match.
162 (x86_cons_fix_new): Let reloc know that signedness of relocation
163 doesn't matter.
164 (x86_pe_cons_fix_new): Likewise.
165 (x86_cons): Pass additional argument to lex_got.
166 (i386_immediate): New local variable 'types'. Pass its address as
167 additional argument to lex_got. Mask out operand types not supported
168 befoe returning.
169 (i386_displacement): Likewise. Set bigdisp to all types supported in
170 64-bit mode, combining the previously split initialization.
171
2dd88dca
JB
1722005-07-18 Jan Beulich <jbeulich@novell.com>
173
174 * config/tc-i386.c (parse_insn): Reject prefix if unavailable in
175 current mode.
176
8126167b
DA
1772005-07-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
178
179 * config/tc-hppa.c (pa_ip): Search entire mnemonic before considering
180 promoted match.
181
0f82ff91
AM
1822005-07-16 Alan Modra <amodra@bigpond.net.au>
183
184 * Makefile.am: Run "make dep-am".
185 * Makefile.in: Regenerate.
186
90700ea2
L
1872007-07-15 H.J. Lu <hongjiu.lu@intel.com>
188
189 * gas/config/tc-i386.h (CpuVMX): New.
190 (CpuUnknownFlags): Add CpuVMX.
191
49f58d10
JB
1922005-07-14 Jim Blandy <jimb@redhat.com>
193
194 Add support for the Renesas M32C.
195 * Makefile.am (CPU_TYPES): List m32c.
196 (TARGET_CPU_CFILES): List config/tc-m32c.c.
197 (TARGET_CPU_HFILES): List config/tc-m32c.h.
198 * configure.in: Add case for m32c.
199 * configure.tgt: Add cases for m32c and m32c-*-elf.
200 * configure: Regenerated.
201 * config/tc-m32c.c, config/tc-m32c.h: New files.
202 * doc/Makefile.am (CPU_DOCS): Add c-m32c.texi.
203 * doc/Makefile.in: Regenerated.
204 * doc/all.texi: Set M32C.
205 * doc/as.texinfo: Add text for the M32C-specific options and line
206 comment characters, and refer to c-m32c.texi.
207 * doc/c-m32c.texi: New file.
208
6c5cf62c
NC
2092005-07-14 Nick Clifton <nickc@redhat.com>
210
211 PR 1069
212 * config/tc-crx.c (reset_vars): Use strncpy to prevent overflowing
213 the ins_parse buffer.
214
14c194bb
NC
2152005-07-10 Ralf Corsepius <ralf.corsepius@rtems.org>
216
217 * configure.tgt: Remove a29k-*-rtems*, hppa*-*-rtems*,i386-go32-rtems*,
218 i386-*-rtemscoff*, sparc-*-rtemsaout*.
219
28a9d8f5
L
2202005-07-10 H.J. Lu <hongjiu.lu@intel.com>
221
222 * config/tc-i386.c (optimize_disp): Optimize signed 32bit
223 displacements.
224
b4f261e0
BE
2252005-07-08 Ben Elliston <bje@au.ibm.com>
226
227 * frags.h: Remove ANSI_PROTOTYPES conditional code.
228 * config/obj-elf.h: Likewise.
229 * config/tc-h8300.h: Likewise.
230 * config/tc-h8500.h: Likewise.
231 * config/tc-i370.h: Likewise.
232 * config/tc-i386.h: Likewise.
233 * config/tc-m68hc11.h: Likewise.
234 * config/tc-m68k.h: Likewise.
235 * config/tc-ppc.h: Likewise.
236 * config/tc-s390.h: Likewise.
237 * config/tc-sh.h: Likewise.
238 * config/tc-sparc.h: Likewise.
239 * config/tc-tic30.c: Likewise.
240 * config/tc-w65.h: Likewise.
241 * config/tc-xtensa.h: Likewise.
242
d8b19f1a
HPN
2432005-07-08 Hans-Peter Nilsson <hp@axis.com>
244
245 PR gas/1049
246 * config/tc-cris.h (MD_APPLY_SYM_VALUE): Define.
247
0fd3a477
JW
2482005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
249
250 * config/tc-tic30.c (debug): Add format attribute. Fix format
251 bugs.
252
bf50992e
L
2532005-07-06 H.J. Lu <hongjiu.lu@intel.com>
254
255 * config/tc-i386.c (cpu_arch): Add sse3.
256
257 * config/tc-i386.h (CpuSSE3): Renamed from ...
258 (CpuPNI): This. Defined as CpuSSE3.
259
260 * doc/c-i386.texi: Document .sse3.
261
5d5e6db9
JB
2622005-07-06 Jan Beulich <jbeulich@novell.com>
263
264 * config/tc-ia64.c (nop): Use zero for L-unit pseudo-nop.
265
3ec2b351
NC
2662005-07-05 Nick Clifton <nickc@redhat.com>
267
268 * config/tc-pdp11.c (md_apply_fix): Cast first argument to
269 md_chars_to_numbers to an unsigned pointer in order to avoid a
270 compile time warning.
271
9d8504b1
PB
2722005-07-05 Paul Brook <paul@codesourcery.com>
273
274 * config/tc-ppc.c (ppc_target_format): Add VxWorks.
275
a0defb2e
AH
2762005-07-05 Aldy Hernandez <aldyh@redhat.com>
277
278 * config/tc-ms1.c: New.
279 * config/tc-ms1.h: New.
280 * testsuite/gas/ms1/allinsn.d: New.
281 * testsuite/gas/ms1/allinsn.s: New.
282 * testsuite/gas/ms1/badinsn.s: New.
283 * testsuite/gas/ms1/badinsn1.s: New.
284 * testsuite/gas/ms1/badoffsethigh.s: New.
285 * testsuite/gas/ms1/badoffsetlow.s: New.
286 * testsuite/gas/ms1/badorder.s: New.
287 * testsuite/gas/ms1/badreg.s: New.
288 * testsuite/gas/ms1/badsignedimmhigh.s: New.
289 * testsuite/gas/ms1/badsignedimmlow.s: New.
290 * testsuite/gas/ms1/badsyntax.s: New.
291 * testsuite/gas/ms1/badsyntax1.s: New.
292 * testsuite/gas/ms1/badunsignedimmhigh.s: New.
293 * testsuite/gas/ms1/badunsignedimmlow.s: New.
294 * testsuite/gas/ms1/errors.exp: New.
295 * testsuite/gas/ms1/ldst.s: New.
296 * testsuite/gas/ms1/misc.d: New.
297 * testsuite/gas/ms1/misc.s: New.
298 * testsuite/gas/ms1/ms1-16-003.d: New.
299 * testsuite/gas/ms1/ms1-16-003.s: New.
300 * testsuite/gas/ms1/ms1.exp: New.
301 * testsuite/gas/ms1/msys.d: New.
302 * testsuite/gas/ms1/msys.s: New.
303 * testsuite/gas/ms1/relocs.d: New.
304 * testsuite/gas/ms1/relocs.exp: New.
305 * testsuite/gas/ms1/relocs1.s: New.
306 * testsuite/gas/ms1/relocs2.s: New.
307
30123838
JB
3082005-07-05 Jan Beulich <jbeulich@novell.com>
309
310 * config/tc-i386.h (CpuSVME): New.
311 (CpuUnknownFlags): Include CpuSVME.
312 * config/tc-i386.c (cpu_arch): Add .pacifica and .svme. Add opteron
313 as alias of sledgehammer.
314 (md_assemble): Include invlpga in the check for insns with two source
315 operands.
316 (process_operands): Include SVME insns in the check for ignored
317 segment overrides. Adjust diagnostic.
318 (i386_index_check): Special-case SVME insns with memory operands.
319
ca3f61f7
NC
3202005-07-04 Khem Raj <kraj@mvista.com>
321 Nick Clifton <nickc@redhat.com>
322
323 * tc-arm.c (struct arm_it): Make operands.imm signed to match its
324 use an immediate value.
325 (parse_vfp_reg_list): Make the 2nd parameter an unsigned pointer
326 since the register field of the operands structure is unsigned.
327 (s_arm_unwind_save_vfp): Make "reg" unsigned.
328 (parse_operands): Make the 2ns parameter an unsigned pointer to
329 match its use.
330 (do_ldrd): When using the imm field of the operands structure as a
331 second register field, treat it as unsigned.
332
551b43fd
AM
3332005-07-04 Alan Modra <amodra@bigpond.net.au>
334
335 PR 1004
336 * config/obj-elf.c (obj_elf_change_section): Use backend
337 get_sec_type_attr.
338
e4e8248d
JB
3392005-07-01 Jan Beulich <jbeulich@novell.com>
340
341 * config/tc-ia64.c (line_separator_chars): Add '{' and '}'.
342 (output_spill_psprel, output_spill_psprel_p): Combine.
343 (output_spill_sprel, output_spill_sprel_p): Combine.
344 (output_spill_reg, output_spill_regp_p): Combine.
345 (process_one_record): Handle psp_psprel.
346 (parse_predicate_and_operand): New.
347 (convert_expr_to_ab_reg): Two new parameters. Return void. Always
348 initialize output values. Emit diagnostic case here.
349 (convert_expr_to_xy_reg): Likewise. Don't allow r0, f0, and f1.
350 (add_unwind_entry): New second parameter. Allow first parameter to
351 be NULL. Parse optional tag, emit warning about further support for
352 it otherwise being missing. Check end-of-line when requested.
353 (dot_fframe): Clear operand when wrong. Allow tag.
354 (dot_vframe): Likewise.
355 (dot_vframesp): Likewise. Rename parameter, issue warning when psp
356 relative.
357 (dot_vframepsp): Remove.
358 (dot_altrp): Clear operand when wrong. Allow tag.
359 (dot_save): Likewise. Let default case also go through
360 add_unwind_entry.
361 (dot_savemem): Likewise.
362 (dot_restore): Don't return when wrong operand. Allow tag.
363 (dot_spillreg, dot_spillreg_p): Combine. Simplify by using
364 parse_predicate_and_operand and the new arguments to
365 convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
366 when wrong operand. Allow tag.
367 (dot_restorereg, dot_restorereg_p): Likewise.
368 (dot_spillmem, dot_spillmem_p): Likewise.
369 (dot_saveg): Clear operand when wrong. Perform tighter operand
370 checks. Allow tag.
371 (dot_savef): Likewise.
372 (dot_saveb): Likewise.
373 (dot_savegf): Likewise.
374 (dot_spill): Remove end-of-line check. Combine. Simplify by using
375 parse_predicate_and_operand and the new arguments to
376 convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
377 when wrong operand. Allow tag.
378 (popcount): New.
379 (dot_label_state): Don't return when wrong operand.
380 (dot_copy_state): Likewise.
381 (dot_unwabi): Likewise. Check if in prologue.
382 (dot_body): Don't call demand_empty_rest_of_line.
383 (dot_prologue): Type of mask and grsave is unsigned. Perform tighter
384 operand checks.
385 (md_pseudo_table): Also use dot_restorereg for .restorereg.p. Also
386 use dot_spillreg for .spillreg.p. Also use dot_spillmem for
387 .spillpsp.p and .spillsp.p. Also use dot_vframesp for .vframepsp.
388 (parse_operand): New second parameter. Don't deal with '}' here
389 anymore. Don't advance past end-of-line.
390 (parse_operands): Pass second argument to parse_operand.
391 (ia64_start_line): Prevent out-of-bounds access through
392 input_line_pointer. Deal with '}' here.
393 (ia64_unrecognized_line): Don't deal with '}' here.
394 (dot_alias): Use ignore_rest_of_line not its deprecated alias
395 discard_rest_of_line.
396
2fc8bdac
ZW
3972005-06-30 Zack Weinberg <zack@codesourcery.com>
398
399 * config/tc-arm.c (T_OPCODE_BRANCH, encode_arm_addr_mode_2)
400 (encode_arm_addr_mode_3, encode_arm_cp_address, do_blx, do_t_blx)
401 (do_t_branch, insns [b, bl]): Don't encode pipeline offset.
0d828caf 402 (do_branch): Always set inst.reloc.pc_rel.
2fc8bdac
ZW
403 (s_arm_elf_cons): Disallow use of (plt) suffix.
404 (do_adrl): Adjust X_add_number unconditionally.
405 (md_pcrel_from): Rename md_pcrel_from_section, add second segT
406 argument. Handle all adjustment for pipeline offset here.
407 (md_apply_fix): No need to undo work of md_pcrel_from. No
408 need to extract pre-encoded pipeline adjustments from various
409 branch instructions. Generally, assume instructions are already
410 all-bits-zero in the field being fixed up. Remove all OBJ_ELF
411 special cases. Handle BFD_RELOC_ARM_PLT32 like
412 BFD_RELOC_ARM_PCREL_BRANCH.
413 (tc_gen_reloc): Remove OBJ_ELF special case.
414 * config/tc-arm.c: Define MD_PCREL_FROM_SECTION.
415
b753922c
BE
4162005-06-30 Ben Elliston <bje@gnu.org>
417
418 * Makefile.am (check-DEJAGNU): Don't search for expect.
419 * Makefile.in: Regenerate.
420
c3298874
BE
4212005-06-30 Ben Elliston <bje@gnu.org>
422
423 * Makefile.am (EXPECT): Set to expect.
424 (RUNTEST): Likewise, set to runtest.
425 * Makefile.in: Regenerate.
426
8f738565
BE
4272005-06-23 Ben Elliston <bje@gnu.org>
428
429 * config/m68k-parse.h: Use ISO C90.
430 * config/m68k-parse.y: Likewise.
431 * config/tc-m68k.h: Likewise.
432
b300c311
L
4332005-06-20 H.J. Lu <hongjiu.lu@intel.com>
434
435 PR 1013
436 * config/tc-i386.c (md_assemble): Don't call optimize_disp on
437 movabs.
438 (optimize_disp): Optimize only if possible. Don't use 64bit
439 displacement on non-constants and do same on constants if
440 possible.
441
d6ab8113
JB
4422005-06-17 Jan Beulich <jbeulich@novell.com>
443
444 * config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL.
445 (tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64,
446 BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64.
447 (output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S
448 and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of
449 aborting.
450 (output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S.
451 Use BFD_RELOC_X86_64_GOTPC32 instead of aborting.
452 (tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL.
453 Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle
454 BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32,
455 BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also
456 convert 8-byte pc-relative relocations.
457 (lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff.
458 (i386_validate_fix): Likewise.
459 (x86_cons): Also handle quad values in 64-bit mode.
460 (i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64.
461 (md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and
462 BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64
463 to pc-relative variant. Also check for BFD_RELOC_64_PCREL.
464
37f6032b
ZW
4652005-06-13 Zack Weinberg <zack@codesourcery.com>
466
467 * config/tc-arm.c (find_real_start): Check S_IS_LOCAL on
468 symbolP as well as for names with a leading dot. Use ACONCAT.
469 (md_apply_fix): For branch relocations, only replace value
470 with fixP->fx_offset (under #ifdef OBJ_ELF) when !fixP->fx_done.
471 (arm_force_relocation): Remove #ifdef OBJ_ELF case.
472 * config/tc-arm.h (LOCAL_LABEL): Remove unnecessary parentheses.
473 (LOCAL_LABEL_PREFIX): Don't define.
474
6bdb6dec
AM
4752005-06-10 Alan Modra <amodra@bigpond.net.au>
476
477 * config/tc-hppa.c (pa_block): Allocate just one byte for the
478 fill pattern.
479
4dddc1d1
JW
4802005-06-08 James E Wilson <wilson@specifixinc.com>
481
482 PR 994
483 * config/tc-ia64.c (slot_index): Revert last change. If first_frag
484 is NULL, then emit a warning, and return the current index.
485
03b13e59
NC
4862005-06-08 Tomas Hurka <tom@hukatronic.cz>
487
6bdb6dec 488 PR 991
03b13e59
NC
489 * config/tc-m68k.c (m68k_ip): Test for insn compatiblity using a
490 temporary copy of the operands array so that changes can be safely
491 backed out if the insn does not match.
492 (m68k_compare_opcode): Shortcut the test when the parameters are
493 the same. Return 1 if the names match but the second opcode is
494 further on in the array than the first.
495
985d9490
NC
4962005-06-08 Nick Clifton <nickc@redhat.com>
497
498 PR 994
499 * config/tc-ia64.c (slot_index): Check for a NULL first_frag.
500
6858915a
NC
5012005-06-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
502
503 * config/tc-m32r.c (use_parallel): Change default value from 1 to 0.
504
047af9ef
AH
5052005-06-07 Aldy Hernandez <aldyh@redhat.com>
506 Michael Snyder <msnyder@redhat.com>
507 Stan Cox <scox@redhat.com>
508
509 * configure.in: Add ms1 case.
510
511 * configure: Regenerate.
512
513 * configure.tgt: Add ms1 case.
514
0bf60745
BW
5152005-06-07 Bob Wilson <bob.wilson@acm.org>
516
517 * config/tc-xtensa.h (resource_table): Change units to unsigned chars.
518 * config/tc-xtensa.c (new_resource_table): Likewise.
519 (resize_resource_table): Likewise.
520 (release_resources): Fix assertion for unsigned values.
521
55cf6793
ZW
5222005-06-07 Zack Weinberg <zack@codesourcery.com>
523
524 * cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c
525 * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h
526 * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c
527 * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h
528 * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c
529 * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h
530 * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h
531 * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c
532 * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h
533 * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c
534 * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h
535 * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c
536 * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c
537 * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h
538 * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c
539 * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c
540 * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c
541 * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c
542 * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c
543 * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h
544 * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h
545 * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c
546 * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c
547 * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h
548 * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c
549 * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c
550 * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h
551 * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h
552 * config/tc-xtensa.c, config/tc-z8k.c:
553 Replace all instances of the string "_apply_fix3" with
554 "_apply_fix".
555 * po/POTFILES.in, po/gas.pot: Regenerate.
556
620c54b3
AM
5572005-06-08 Alan Modra <amodra@bigpond.net.au>
558
559 * Makefile.am: Run "make dep-am".
560 (POTFILES): Remove GAS_CFILES.
561 * Makefile.in: Regenerate.
562
32b26a03
MR
5632005-06-07 David Ung <davidu@mips.com>
564
565 * config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k,
566 24kc, 24kf and 24kfx under MIPS32 release 2.
567
6a86118a
NC
5682005-06-04 Nick Clifton <nickc@redhat.com>
569
570 * config/tc-arm.c (CE, C3, CM, UE, UF): Redefine without reference
571 to their Thumb-enabled equivalents.
572
20e1fcfd
MR
5732005-06-01 Maciej W. Rozycki <macro@linux-mips.org>
574
575 * config/tc-mips.c (load_register): Add leading "0x" to the
576 output of sprintf_vma().
577 (macro): Likewise.
578
1887dd22
NC
5792005-06-01 Nick Clifton <nickc@redhat.com>
580
581 * config/tc-arm.c (TxCE, TxC3, TxCM, TUE, TUF): Remove redundant
582 test for the presence of thumb version of the parsing functions
583 since they must always exist and the test generates a compile time
584 warning message.
585
04fe8f58
RH
5862005-05-31 Richard Henderson <rth@redhat.com>
587
588 * config/tc-alpha.c (O_lituse_jsrdirect): New.
589 (alpha_reloc_op): Add it.
590 (debug_exp): Handle it.
591 (DUMMY_RELOC_LITUSE_JSRDIRECT): New.
592 (emit_insn): Handle it.
593 * doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect.
594
988392e2
CG
5952005-05-31 Christian Groessler <chris@groessler.org>
596
597 * write.c (dump_section_relocs): Convert to ISO-C.
598 (write_relocs): Avoid signed/unsigned and fprintf argument
599 warnings in debug code.
600
adbaf948
ZW
6012005-05-26 Zack Weinberg <zack@codesourcery.com>
602
603 * config/tc-arm.h (TC_FIX_TYPE): Change to int.
604 (TC_INIT_FIX_DATA): Initialize to 0, not NULL.
605 * config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast.
606 (md_apply_fix3): Delete fix_is_thumb variable; refer to
607 fixP->tc_fix_data directly in the sole place it was used.
608 Explicitly truncate value, *valP, fixP->fx_addnumber, and
609 fixP->fx_offset to 32 bits, for consistent behavior between 32-
610 and 64-bit hosts.
611
5656b6b8
JB
6122005-05-27 Jan Beulich <jbeulich@novell.com>
613
614 * config/tc-ia64.c (struct proc_pending): New.
615 (unwind): Replace proc_start with proc_pending.
616 (unwind_diagnostic): Check unwind.proc_pending.sym.
617 (dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym.
618 Check if previous proc not closed. Record all entry points.
619 (dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym.
620 Set symbol sizes for entry points recorded in dot_proc. Check
621 arguments for consistency with respective .proc's.
622 (md_assemble): Replace unwind.proc_start with
623 unwind.proc_pending.sym.
624
75214fb0
JB
6252005-05-27 Jan Beulich <jbeulich@novell.com>
626
627 * config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr,
628 and last_ptr. Check all in-use slots for first one with non-NULL
629 unwind_record. Don't reload end_ptr before second update round.
630
7c06efaa
JW
6312005-05-26 James E Wilson <wilson@specifixinc.com>
632
633 * config/tc-ia64.c (extra_goodness): Update comment.
634 (md_begin): Add debugging code to print best_template table.
635
286cee81
JB
6362005-05-25 Jan Beulich <jbeulich@novell.com>
637
638 * config/tc-ia64.c (md_begin): Don't try to match slot 2 of an MLX
639 template.
640
30ad6cb9
JB
6412005-05-25 Jan Beulich <jbeulich@novell.com>
642
643 * config/tc-ia64.c (ia64_gen_real_reloc_type): Also handle
644 BFD_RELOC_UNUSED when determining the width of the reloc.
645
6baf2b51
JB
6462005-05-25 Jan Beulich <jbeulich@novell.com>
647
648 * config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind
649 section entry.
650
fa30c84f
JB
6512005-05-25 Jan Beulich <jbeulich@novell.com>
652
653 * config/tc-ia64.c (dot_radix): Rewrite.
654
1055c30c
JB
6552005-05-25 Jan Beulich <jbeulich@novell.com>
656
657 * config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number
658 and next_slot_frag.
659 (alloc_record): Remove references to next_slot_number and
660 next_slot_frag.
661 (emit_one_bundle): Likewise.
662
45d18c80
NC
6632005-05-22 Nick Clifton <nickc@redhat.com>
664
665 * config/tc-v850.c (md_apply_fix3): Pass the address of the
666 message buffer when invoking the insert function.
667
9f45e54b
DA
6682005-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
669
670 * config/tc-hppa.c (pa_ip): Promote architecture from PA 1.0 to 1.1
671 only if an instruction match is found.
672
47e70edb
BW
6732005-05-20 Bob Wilson <bob.wilson@acm.org>
674
675 * config/tc-xtensa.c (xg_assemble_vliw_tokens): Change subtraction
676 to addition in argument to xtensa_dwarf2_emit_insn.
677
e3e71e27
ZW
6782005-05-19 Zack Weinberg <zack@codesourcery.com>
679
680 * Makefile.am: Have 'all' depend on 'info'.
681 * Makefile.in: Regenerate.
682
c744ecf2
AM
6832005-05-19 Alan Modra <amodra@bigpond.net.au>
684
685 * config/tc-ppc.c (ppc_force_relocation): Add BFD_RELOC_24_PLT_PCREL.
686
b0648eec
AM
6872005-05-19 Anton Blanchard <anton@samba.org>
688
689 * config/tc-ppc.c (parse_cpu): Handle "-mpower5".
690 (md_show_usage): Document it.
691 (ppc_setup_opcodes): Insert POWER5 mnemonics.
692 * doc/c-ppc.texi (PowerPC-Opts): Document "-mpower5".
693
4600db48
JB
6942005-05-19 Jan Beulich <jbeulich@novell.com>
695
696 * config/tc-ia64.c (dot_endp): Don't use global symbol for unwind
697 relocations in unwind section.
698
a0ef61f7
NC
6992005-05-18 Nick Clifton <nickc@redhat.com>
700
701 * config/tc-v850.c (md_apply_fix3): Only use the insertion routine
702 if one exists. Ignore any error messages it may produce, just
703 allow it to perform the insertion.
704
c19d1205
ZW
7052005-05-17 Zack Weinberg <zack@codesourcery.com>
706
707 * hash.c (hash_lookup): Add len parameter. All callers changed.
708 (hash_find_n): New interface.
709 * hash.h: Prototype hash_find_n.
710 * sb.c: Include as.h.
711 (scrub_from_sb, sb_to_scrub, scrub_position): New statics.
712 (sb_scrub_and_add_sb): New interface.
713 * sb.h: Prototype sb_scrub_and_add_sb.
714 * input-scrub.c (input_scrub_include_sb): Use sb_scrub_and_add_sb.
715
716 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Remove
717 reference to BFD_RELOC_ARM_GOT12 which is never generated.
718 * config/tc-arm.c: Rewrite, adding Thumb-2 support.
719
970c3dbc
DJ
7202005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
721
722 * doc/Makefile.am (gasver.texi): Don't use $<.
723 * doc/Makefile.in: Regenerated.
724
ec7ef033
NC
7252005-05-17 Nick Clifton <nickc@redhat.com>
726
727 PR 876
728 * symbols.c (resolve_symbol_value): Do not move symbols whose
729 value expression has not been resolved or finalized into the
730 absolute section as this will confuse other parts of the assembler
731 into thinking that their value is zero.
732
40a4d956
JB
7332005-05-17 Jan Beulich <jbeulich@novell.com>
734
735 * read.c (_find_end_of_line): New.
736 (find_end_of_line): New.
737 (HANDLE_CONDITIONAL_ASSEMBLY): Use it.
738 (read_a_source_file): Use it.
739 (s_globl): Use it.
740 (s_macro): Use it.
741 (get_line_sb): Use it.
742 (s_errwarn): Replace discard_rest_of_line by ignore_rest_of_line.
743 (s_comm_internal): Likewise.
744 (s_lsym): Likewise.
745 (s_macro): Likewise.
746 (s_ignore): Use ignore_rest_of_line.
747 * read.h (find_end_of_line): Prototype.
748 (discard_rest_of_line): Remove prototype. #define to
749 ignore_rest_of_line.
750
2d034539
NC
7512005-05-17 Nick Clifton <nickc@redhat.com>
752
753 * config/tc-v850,h (TC_FIX_TYPE): Define.
754 (TC_INIT_FIX_TYPE): Define.
755 * config/tc-v850.c (md_assemble): When creating a fix record the
756 operand in the tc_fix_data field.
757 (md_apply_fix3): When applying a resolved fix use the operand's
758 insertion procedure to store the value, if the operand has been
759 recorded.
760
42ecbf5e
DJ
7612005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
762
763 * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap
764 invocation.
765 * Makefile.in: Regenerated.
766
d7c531cd
BW
7672005-05-13 Sterling Augustine <sterling@tensilica.com>
768 Bob Wilson <bob.wilson@acm.org>
769
770 * config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
771 message.
772 (xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional
773 for handling RELAX_CHECK_ALIGN_NEXT_OPCODE.
774
3c9d25f4
AM
7752005-05-11 Alan Modra <amodra@bigpond.net.au>
776
777 * config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,
778 BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S.
779
ee192366
MM
7802005-05-10 Michael Matz <matz@suse.de>
781
782 * frags.c (frag_grow): Don't be too greedy in allocating memory.
783
784 * config/tc-hppa.c (pa_block): Check arguments to .block[z].
785
20d7ce9b
HPN
7862005-05-10 Hans-Peter Nilsson <hp@bitrange.com>
787
788 PR binutils/886
789 * config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly.
790 Handle label-without-colon before ordinary dot-pseudo as an
791 ordinary label. Don't leak memory for label-without-colon alone
792 on a line. Don't mmixal-munge operands for dot-pseudos.
793
be03cc84
JB
7942005-05-10 Jan Beulich <jbeulich@novell.com>
795
796 * macro.c (get_any_string): Remove the two last parameters. Replace
797 references to the former expand parameter by using macro_alternate.
798 Simplify loop condition for checking for end-of-string.
799 (get_string): Remove redunant call to sb_skip_white.
800 (do_formals): Remove two last arguments to get_any_string.
801 (macro_expand): Likewise.
802 (expand_irp): Likewise.
803
360e86f1
JB
8042005-05-10 Jan Beulich <jbeulich@novell.com>
805
806 * read.c (s_macro): Move local variable 'local' to smaller scope.
807 Call sb_kill on it when done.
808
34d9ee9e
JB
8092005-05-09 Jan Beulich <jbeulich@novell.com>
810
ee192366
MM
811 * config/tc-i386.c (optimize_disp): Discard displacement entirely
812 when zero and not required by encoding constraints.
34d9ee9e 813
c9cd7160
L
8142005-05-09 H.J. Lu <hongjiu.lu@intel.com>
815
816 PR 936
817 * config/tc-sh64.c (sh64_fake_label): New.
818
819 * config/tc-sh64.h (TC_FAKE_LABEL): New.
820
821 * doc/internals.texi (TC_FAKE_LABEL): Document.
822
823 * write.c (TC_FAKE_LABEL): New.
824 (adjust_reloc_syms): Use it.
825 (write_object_file): Likewise.
826
e44823cf
JB
8272005-05-09 Jan Beulich <jbeulich@novell.com>
828
829 * config/tc-i386.c (parse_insn): Disallow use of prefix separator
830 and comma in Intel mode.
831
089dfecd
JB
8322005-05-09 Jan Beulich <jbeulich@novell.com>
833
834 * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode
835 names to match ABI. Add more registers for 32-bit and 64-bit modes.
836 Make name array static and const. Adjust lookup to account for NULL
837 entries (standing for unused register numbers).
838
f41bbced
JB
8392005-05-09 Jan Beulich <jbeulich@novell.com>
840
841 * config/tc-i386.c (parse_insn): Consider all matching instructions
842 when checking for string instruction after string-only prefix.
843
6e3f953d
L
8442005-05-07 H.J. Lu <hongjiu.lu@intel.com>
845
846 PR 940
847 * config/tc-ia64.c (start_unwind_section): Properly check
848 comdat group with SHF_GROUP.
849
0c6c36d5
BW
8502005-05-06 Bob Wilson <bob.wilson@acm.org>
851
852 * doc/c-xtensa.texi (Literal Directive): Spelling correction.
853
c138bc38
BW
8542005-05-06 Bob Wilson <bob.wilson@acm.org>
855
856 * config/tc-xtensa.c: Remove excess whitespace.
857 * config/tc-xtensa.h: Likewise.
858 * config/xtensa-istack.h: Likewise.
859 * config/xtensa-relax.c: Likewise.
860 * config/xtensa-relax.h: Likewise.
861
93a9f991
NC
8622005-05-06 Nick Clifton <nickc@redhat.com>
863
864 * sb.h: Fix formatting of comments.
865 * sb.c: Fix formatting of comments.
866
3c9aabc7
JB
8672005-05-06 Jan Beulich <jbeulich@novell.com>
868
869 * sb.h (sb_add_buffer): Reintroduce.
870 * sb.c (sb_add_buffer): Likewise.
871
6eaeac8a
JB
8722005-05-06 Jan Beulich <jbeulich@novell.com>
873
874 * macro.c (new_formal, del_formal): New.
875 (do_formals): Use new_formal. Check for and parse qualifier. Warn if
876 required argument has default value. Stop looking for more formal
877 when there was a vararg one.
878 (macro_expand_body): Use new_formal and del_formal.
879 (macro_expand): Likewise. Initialize local variable err. Don't
880 return immediately when encountering an error. Warn when keyword
881 argument already had a value assigned. Eliminate duplicate clearing
882 of argument value. When current positional argument matches parameter
883 of vararg type, assign to it all the remaining arguments. Issue error
884 when required parameter does not have value.
885 (free_macro): Use del_formal.
886 (expand_irp): Initialize formal type. Free buffers associated with
887 formal prior to returning.
888 * macro.h (struct formal_struct): Add new field 'type' with new
889 enumeration type 'formal_type'.
890 * doc/as.texinfo: Document macro parameter qualifiers.
891 * NEWS: Mention new functionality.
892
26aca5f6
JB
8932005-05-06 Jan Beulich <jbeulich@novell.com>
894
895 * cond.c (s_ifb): New.
896 * read.c (potable): Add s_ifb as handler for .ifb and .ifnb.
897 * read.h (s_ifb): Prototype.
898 * doc/as.texinfo: Document .ifb and .ifnb.
899
5faa8e39
JW
9002005-05-05 Steve Ellcey <sje@cup.hp.com>
901
902 * config/tc-ia64.c (MIN): Undef.
903
eac338cf
PB
9042005-05-05 Paul Brook <paul@codesourcery.com>
905
906 * config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS.
907
d8244a4a
NC
9082005-05-05 Matt Thomas <matt@3am-software.com>
909
910 * config/tc-vax.c (md_assemble): Don't assume a valueT is 4
911 bytes.
912
4b4da160
NC
9132005-05-05 Nick Clifton <nickc@redhat.com>
914
915 * Update the address and phone number of the FSF organization in
916 the GPL notices in the following files:
917 COPYING, app.c, as.c, as.h, asintl.h, atof-generic.c, bignum.h,
918 bit_fix.h, cgen.c, cgen.h, cond.c, debug.c, depend.c, dw2gencfi.c,
919 dw2gencfi.h, dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c,
920 emul-target.h, emul.h, expr.c, expr.h, flonum-copy.c,
921 flonum-konst.c, flonum.h, frags.c, frags.h, hash.c, hash.h,
922 input-file.c, input-file.h, input-scrub.c, itbl-lex.h, itbl-lex.l,
923 itbl-ops.c, itbl-ops.h, itbl-parse.y, listing.c, listing.h,
924 literal.c, macro.c, macro.h, messages.c, obj.h, output-file.c,
925 output-file.h, read.c, read.h, sb.c, sb.h, stabs.c,
926 struc-symbol.h, subsegs.c, subsegs.h, symbols.c, symbols.h, tc.h,
927 write.c, write.h, config/aout_gnu.h, config/atof-ieee.c,
928 config/atof-vax.c, config/itbl-mips.h, config/m68k-parse.h,
929 config/m68k-parse.y, config/m88k-opcode.h, config/obj-aout.c,
930 config/obj-aout.h, config/obj-bout.c, config/obj-bout.h,
931 config/obj-coff.c, config/obj-coff.h, config/obj-ecoff.c,
932 config/obj-ecoff.h, config/obj-elf.c, config/obj-elf.h,
933 config/obj-evax.c, config/obj-evax.h, config/obj-hp300.c,
934 config/obj-hp300.h, config/obj-ieee.c, config/obj-ieee.h,
935 config/obj-multi.h, config/obj-som.c, config/obj-som.h,
936 config/tc-a29k.c, config/tc-a29k.h, config/tc-alpha.c,
937 config/tc-alpha.h, config/tc-arc.c, config/tc-arc.h,
938 config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
939 config/tc-cris.c, config/tc-cris.h, config/tc-crx.c,
940 config/tc-crx.h, config/tc-d10v.c, config/tc-d10v.h,
941 config/tc-d30v.c, config/tc-d30v.h, config/tc-dlx.c,
942 config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h,
943 config/tc-frv.c, config/tc-frv.h, config/tc-generic.c,
944 config/tc-generic.h, config/tc-h8300.c, config/tc-h8300.h,
945 config/tc-h8500.c, config/tc-h8500.h, config/tc-hppa.c,
946 config/tc-hppa.h, config/tc-i370.c, config/tc-i370.h,
947 config/tc-i386.c, config/tc-i386.h, config/tc-i860.c,
948 config/tc-i860.h, config/tc-i960.c, config/tc-i960.h,
949 config/tc-ia64.c, config/tc-ia64.h, config/tc-ip2k.c,
950 config/tc-ip2k.h, config/tc-iq2000.c, config/tc-iq2000.h,
951 config/tc-m32r.c, config/tc-m32r.h, config/tc-m68851.h,
952 config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
953 config/tc-m68k.h, config/tc-m88k.c, config/tc-m88k.h,
954 config/tc-maxq.c, config/tc-maxq.h, config/tc-mcore.c,
955 config/tc-mcore.h, config/tc-mips.c, config/tc-mips.h,
956 config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
957 config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
958 config/tc-msp430.c, config/tc-msp430.h, config/tc-ns32k.c,
959 config/tc-ns32k.h, config/tc-openrisc.c, config/tc-openrisc.h,
960 config/tc-or32.c, config/tc-or32.h, config/tc-pdp11.c,
961 config/tc-pdp11.h, config/tc-pj.c, config/tc-pj.h,
962 config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c,
963 config/tc-s390.h, config/tc-sh.c, config/tc-sh.h,
964 config/tc-sh64.c, config/tc-sh64.h, config/tc-sparc.c,
965 config/tc-sparc.h, config/tc-tahoe.c, config/tc-tahoe.h,
966 config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
967 config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
968 config/tc-tic80.c, config/tc-tic80.h, config/tc-v850.c,
969 config/tc-v850.h, config/tc-vax.c, config/tc-vax.h,
970 config/tc-w65.c, config/tc-w65.h, config/tc-xstormy16.c,
971 config/tc-xstormy16.h, config/tc-xtensa.c, config/tc-xtensa.h,
972 config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
973 config/te-freebsd.h, config/te-hp300.h, config/te-hppa.h,
974 config/te-ic960.h, config/te-irix.h, config/te-nbsd.h,
975 config/te-netware.h, config/te-sparcaout.h, config/te-sun3.h,
976 config/te-tmips.h, config/te-vxworks.h, config/vax-inst.h,
977 config/xtensa-istack.h, config/xtensa-relax.c,
2b8725e7 978 config/xtensa-relax.h, doc/fdl.texi
4b4da160 979
699d2810
NC
9802005-05-05 Nick Clifton <nickc@redhat.com>
981
982 * config/tc-arm.c (arm_opts): Make -mlittle-endian switch set
983 the target_big_endian variable to false.
984
69852798
AM
9852005-05-04 Alan Modra <amodra@bigpond.net.au>
986
987 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section
988 list traversal. Use bfd_section_list_prepend.
989 * config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate
990 over the section list.
991 * config/tc-xtensa.c (xtensa_remove_section): Delete.
992 (xtensa_insert_section): Delete.
993 (xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove
994 and bfd_section_list_prepend.
995 (xtensa_reorder_seg_list): Use bfd_section_list_remove and
996 bfd_section_list_insert_after.
997
c1d05a60
NC
9982005-05-03 Nick Clifton <nickc@redhat.com>
999
1000 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations
1001 of bfd_section_list... macros.
1002 * config/tc-mmix.c (mmix_frob_file): Likewise.
1003 * config/tc-xtensa.c (xtensa_remove_section): Likewise.
1004 (xtensa_insert_section): Likewise.
1005
1006 * macro.c (macro_hash): Remove static.
1007 * macro.h (macro_hash): Provide an external declaration.
1008
5daa8fe7
L
10092005-05-02 H.J. Lu <hongjiu.lu@intel.com>
1010
1011 * write.c (write_object_file): Use bfd_section_double_list_remove
1012 to remove sections.
1013
475bf943
DJ
10142005-05-02 Daniel Jacobowitz <dan@codesourcery.com>
1015
1016 * doc/Makefile.am (gasver.texi): Correct quoting.
1017 * doc/Makefile.in: Regenerated.
1018
009b6a7a
DJ
10192005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org>
1020
1021 * configure.tgt: Add h8300*-*-rtemscoff.
1022 Switch h8300*-*-rtems* to elf.
1023
7e70f1af
L
10242005-04-29 H.J. Lu <hongjiu.lu@intel.com>
1025
1026 * hash.c: Undo the last change.
1027 * hash.h: Likewise.
1028
aa7eb06d
DJ
10292005-04-29 Daniel Jacobowitz <dan@codesourcery.com>
1030
1031 * doc/Makefile.am (gasver.texi): Depend on bfd/configure instead
1032 of Makefile.
1033 (DISTCLEANFILES): Remove.
1034 (MAINTAINERCLEANFILES): Add asconfig.texi.
1035 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
1036
87c245cc
BE
10372005-04-29 Ben Elliston <bje@au.ibm.com>
1038
1039 * Makefile.am (GAS_CFILES): Remove bignum-copy.c.
1040 (GENERIC_OBJS): Likewise, remove bignum-copy.o.
1041 (bignum-copy.o): Remove.
1042 * Makefile.in: Regenerate.
1043 * makefile.vms (OBJS): Remove bignum-copy.obj.
1044 * symbols.h (local_symbol_make): Remove declaration.
1045 (verify_symbol_chain_2): Likewise.
1046 * symbols.c (local_symbol_make): Make static.
1047 (max_indent_level): Likewise.
1048 (verify_symbol_chain_2): Remove.
1049 * macro.c (macro_hash): Make static.
1050 * messages.c (fprint_value): Remove.
1051 * read.h (get_absolute_expr): Remove.
1052 (emit_leb128_expr): Likewise.
1053 (do_s_func): Likewise.
1054 * read.c (do_s_func): Make static.
1055 (emit_leb128_expr): Likewise.
1056 (get_absolute_expr): Likewise.
1057 * as.h (as_howmuch): Remove declaration.
1058 (fprint_value): Likewise.
1059 * as.c (myname): Make static.
1060 * input-scrub.c (as_howmuch): Remove.
1061 (as_1_char): Likewise.
1062 * input-file.h (input_file_is_open): Remove.
1063 * input-file.c (input_file_is_open): Likewise.
1064 * expr.h (expr_build_unary): Remove declaration.
1065 (expr_build_binary): Likewise.
1066 * expr.c (expr_build_unary): Remove.
1067 (expr_build_binary): Likewise.
1068 * hash.h (hash_replace): Remove declaration.
1069 (hash_delete): Likewise.
1070 * hash.c (hash_replace): Remove.
1071 (hash_delete): Likewise.
1072 * bignum-copy.c (bignum_copy): Move from here ..
1073 * config/tc-vax.c (bignum_copy): .. to here.
1074 * bignum.h (LOG_TO_BASE_2_OF_10): Remove.
1075 (bignum_copy): Remove extern declaration.
1076 * sb.h (string_count): Remove extern declaration.
1077 (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
1078 (sb_name): Likewise.
1079 * sb.c (dsize): Replace preprocessor macro with static int.
1080 (string_count): Make static.
1081 (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
1082 (sb_name): Likewise.
1083 * config/obj-coff.c (dim_index): Make static.
1084 * config/tc-i386.c (GOT_symbol): Likewise.
1085 (output_invalid_buf): Likewise.
1086 * doc/internals.texi (Warning and error messages): Remove the
1087 prototype for fprint_value.
1088
f3429a74
BE
10892005-04-27 Ben Elliston <bje@au.ibm.com>
1090
1091 * link.cmd: Remove.
1092
60938e80
L
10932005-04-26 H.J. Lu <hongjiu.lu@intel.com>
1094
1095 * config/obj-multi.h (FAKE_LABEL_NAME): Defined.
1096
1097 * read.c (pseudo_set): Disallow symbol set to common symbol.
1098
1099 PR 857
1100 * write.c (write_object_file): Report common symbol name when
1101 disallowing local symbol set to common symbol.
1102 (adjust_reloc_syms): Disallow local symbol set to undefined
1103 symbol.
1104
02ddf156
JB
11052005-04-25 Jan Beulich <jbeulich@novell.com>
1106
1107 * macro.c (macro_expand_body): Replace locals indicator parameters
1108 with actual macro_entry. New local variables macro_line and err.
1109 Don't return when encountering an error, just record the fact.
1110 Detect local symbol name colliding with parameter. Track line number
1111 inside of macro expansion.
1112 (do_formals): Move local variable name to wider scope. Check
1113 parameter of the same name doesn't already exist. In MRI mode, also
1114 check it doesn't collide with the argument count pseudo-parameter).
1115 (define_macro): Add file and line number parameters. Remove local
1116 variable namestr. New local variable error. Initialize macro_entry
1117 members file, line, and name. Don't return when encountering an
1118 error, just record the fact. Use %s in some diagnostics for read.c
1119 to insert the macro name. Free macro_entry on error.
1120 (macro_expand): Pass macro_entry to macro_epand_body. Don't return
1121 when encountering an error, just record the fact.
1122 (expand_irp): Don't return when encountering an error, just record
1123 the fact.
1124 * macro.h (macro_struct): New members name, file, and line.
1125 (define_macro): Add file and line number parameters.
1126 * read.c (s_macro): Pass file and line to define_macro. Tag warning
1127 regarding pseudo-op redefinition with the file/line that macro
1128 definition started at.
1129
d2a033cd
BW
11302005-04-22 Bob Wilson <bob.wilson@acm.org>
1131
1132 * config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro.
1133 (future_alignment_required): Remove ifdefs that use it.
1134
84b08ed9
BW
11352005-04-22 Bob Wilson <bob.wilson@acm.org>
1136
1137 * config/tc-xtensa.c (xg_get_build_instr_size): Remove.
1138 (xg_is_narrow_insn, xg_expand_narrow): Remove. Merge into...
1139 (xg_is_single_relaxable_insn): ...here. Add "targ" and "narrow_only"
1140 parameters.
1141 (xg_assembly_relax, xg_find_narrowest_format, relaxation_requirements,
1142 convert_frag_narrow): Use new version of xg_is_single_relaxable_insn.
1143
d8cbebfd
CG
11442005-04-21 Christian Groessler <chris@groessler.org>
1145
1146 * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
1147 array.
1148
e97b3f28
L
11492005-04-20 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 * config/obj-aout.h (S_IS_EXTERN): Removed.
1152 * config/obj-bout.h (S_IS_EXTERN): Likewise.
1153 * config/obj-coff.h (S_IS_EXTERN): Likewise.
1154 * symbols.c (S_IS_EXTERN): Likewise.
1155 * symbols.h (S_IS_EXTERN): Likewise.
1156
1157 * config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with
1158 S_IS_EXTERNAL.
1159 * config/tc-d10v.c (md_apply_fix3): Likewise.
1160 * config/tc-ia64.c (ia64_fix_adjustable): Likewise.
1161 * config/tc-iq2000.c (iq2000_fix_adjustable): Likewise.
1162 * config/tc-m32r.c (m32r_fix_adjustable): Likewise.
1163 * config/tc-mmix.c (mmix_adjust_symtab): Likewise.
1164 * config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise.
1165 (shmedia_md_convert_frag): Likewise.
1166 * symbols.c (print_symbol_value_1): Likewise.
1167 * write.c (write_object_file): Likewise.
1168
55e08f71
NC
11692005-04-20 Nick Clifton <nickc@redhat.com>
1170
5f9084e9
NC
1171 * config/tc-xtensa.c (get_aligned_diff): Change type of
1172 branch_align to offsetT so that its signedness matches that of
1173 target_size.
1174
55e08f71
NC
1175 * config/tc-mips.c (macro): Use sprintf_vma to convert a > 32 bit
1176 number into a readable string.
1177 (load_register): Likewise.
1178
1f8b1395
AS
11792005-04-20 Andreas Schwab <schwab@suse.de>
1180
1181 * config/tc-ia64.c (specify_resource): Initialize all of tmpl.
1182
b0825cc2
DM
11832005-04-19 David S. Miller <davem@davemloft.net>
1184
1185 * config/tc-sparc.c (md_assemble): If sparc_ip gives us a
1186 NULL insn, exit early. Remove now spurious NULL checks.
1187 (sparc_ip): Use as_bad for unknown opcode errors, set *pinsn
1188 to NULL and exit.
1189
91c4c449
JB
11902005-04-19 Jan Beulich <jbeulich@novell.com>
1191
1192 * symbols.h (symbol_find_base): Remove prototype.
1193 * symbols.c (save_symbol_name): Remove code section conditional upon
1194 STRIP_UNDERSCORE.
1195 (symbol_find): Remove.
1196 (symbol_find_base): Rename to symbol_find.
1197 * subsegs.c (section_symbol): Replace use of symbol_find_base with
1198 symbol_find.
1199 * config/obj-coff.c (tag_insert): Remove code section conditional
1200 upon STRIP_UNDERSCORE.
1201 (obj_coff_def): Likewise.
1202 (obj_coff_endef): Replace use of symbol_find_base with symbol_find.
1203 (coff_frob_symbol): Likewise.
1204 (yank_symbols): Likewise.
1205 (c_section_symbol): Likewise.
1206 * config/obj-coff.h (DO_NOT_STRIP): Remove.
1207 * config/tc-arm.c (symbol_locate): Remove code section conditional
1208 upon STRIP_UNDERSCORE.
1209 * config/tc-h8300.h (DO_NOT_STRIP): Remove.
1210 * config/tc-h8500.h (DO_NOT_STRIP): Remove.
1211 * config/tc-sh.h (DO_NOT_STRIP): Remove.
1212 * config/tc-w65.h (DO_NOT_STRIP): Remove.
1213 * config/tc-z8k.h (DO_NOT_STRIP): Remove.
1214
80b8152b
AS
12152005-04-19 Andreas Schwab <schwab@suse.de>
1216
1217 * config/tc-ia64.c (md_assemble): Fix error message for wrong
1218 access to application registers.
1219
4d56c0a0
JB
12202005-04-19 Jan Beulich <jbeulich@novell.com>
1221
1222 * config/te-sysv32.h: Remove.
1223 * Makefile.am (TARG_ENV_HFILES): Remove reference to
1224 config/te-sysv32.h.
1225 * Makefile.in (TARG_ENV_HFILES): Likewise.
1226
4fdd1e4f
JB
12272005-04-19 Jan Beulich <jbeulich@novell.com>
1228
1229 PR/847
1230 * config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero-
1231 length symbols.
1232
791fe849
MK
12332005-04-18 Mark Kettenis <kettenis@gnu.org>
1234
1235 * config/tc-i386.c (md_begin): Allow hyphens in mnemonics.
1236
9ee2a2d4
MR
12372005-04-18 Maciej W. Rozycki <macro@linux-mips.org>
1238
1239 * config/tc-mips.c (normalize_constant_expr): Don't check for
1240 HAVE_32BIT_GPRS.
1241 (check_absolute_expr): Only call normalize_constant_expr() if
1242 HAVE_32BIT_GPRS.
1243 (mips_ip): Likewise.
1244
1245 * config/tc-mips.c (check_absolute_expr): Fix formatting.
1246
e6ca91be
JB
12472005-04-18 Jan Beulich <jbeulich@novell.com>
1248
1249 * macro.c (free_token): New, freeing all the memory associated with a
1250 macro.
1251 (do_formals): Move initializers to ...
1252 (define_macro): ... here.
1253 (delete_macro): Convert passed in name to lower case. Warn when
1254 purging macro that doesn't exist. Use hash_jam instead of hash_delete.
1255
9f872bbe
MR
12562005-04-15 Maciej W. Rozycki <macro@linux-mips.org>
1257
1258 * config/tc-mips.c (normalize_constant_expr): Fix formatting.
1259
8fe53b44
JB
12602005-04-15 Jan Beulich <jbeulich@novell.com>
1261
1262 * config/obj-elf.c (obj_elf_struct): New.
1263 (elf_pseudo_table). Use it for .offset and .struct.
1264
0e5cd789 12652005-04-14 Bob Wilson <bob.wilson@acm.org>
140fe8df 1266 Sterling Augustine <sterling@tensilica.com>
0e5cd789
BW
1267
1268 * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger
1269 than the section alignment.
1270
dd49a749
BW
12712005-04-14 Bob Wilson <bob.wilson@acm.org>
1272 H.J. Lu <hongjiu.lu@intel.com>
1273
1274 * config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field.
1275 * config/tc-xtensa.c (xg_translate_sysreg_op,
1276 xtensa_translate_old_userregs_ops,
1277 xtensa_find_unaligned_branch_targets,
1278 xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags,
1279 relax_frag_add_nop): Support 64-bit host.
1280 (xtensa_mark_literal_pool_location, xtensa_move_literals): Use
1281 tc_frag_data lit_frchain and lit_seg fields instead of fr_var.
1282
26eebcf5
MK
12832005-04-14 Mark Kettenis <kettenis@gnu.org>
1284
64efe625
MK
1285 * configure.tgt: Add support for OpenBSD/sparc ELF.
1286
26eebcf5
MK
1287 * configure.tgt: Set emulation for mips-*-openbsd*.
1288 Remove broken mips-dec-openbsd* config.
1289 * configure.in: Set default ABI for mips64-*-openbsd*.
1290 * configure: Regenerate.
1291
39a59cf8
MR
12922005-04-14 Maciej W. Rozycki <macro@linux-mips.org>
1293
1294 * config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
1295 optimization for constant addresses.
1296
f7a568ea
NC
12972005-04-14 Nick Clifton <nickc@redhat.com>
1298
1299 * as.c (main): Move parse_args before symbol_begin and frag_init
1300 so that the hash table size can be set before it is used.
1301 * hash.c: Use an unsigned long type for the size of the hash
1302 tables.
3c9d25f4 1303 * hash.h (set_gas_hash_table_size): Update the prototype.
f7a568ea 1304
9e9b66a9
AM
13052005-04-14 Alan Modra <amodra@bigpond.net.au>
1306
1307 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
1308 * acinclude.m4: Include ../bfd/warning.m4.
1309 * configure.in: Invoke AM_BINUTILS_WARNINGS.
1310 * Makefile.in: Regenerate.
1311 * configure: Regenerate.
1312 * doc/Makefile.in: Regenerate.
1313
2051e8c4
MR
13142005-04-13 Maciej W. Rozycki <macro@linux-mips.org>
1315
1316 * config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro.
1317 (normalize_address_expr): New function to sign-extend address
1318 offsets that fit into 32 bits in 32-bit mode.
1319 (macro_build_ldst_constoffset): Use normalize_address_expr()
1320 instead of a handcoded sequence.
1321 (load_register): Likewise. Report oversized numbers in a useful
1322 way.
1323 (macro) [ld_st, ldd_std]: Reject all oversized offsets, not only
1324 for constant addresses. Report oversized numbers in a useful way.
1325 (mips_ip): Use normalize_address_expr() for addresses.
1326
bc4bd9ab
MK
13272005-04-12 Mark Kettenis <kettenis@gnu.org>
1328
1329 * config/tc-i386.c (output_insn): Handle VIA PadLock instructions
1330 similar to other instructions now that they're marked as ImmExt.
1331
4bdd3565
NC
13322005-04-12 Nick Clifton <nickc@redhat.com>
1333
1334 * hash.c (DEFAULT_SIZE): Delete. Replace with:
1335 (gas_hash_table_size): New static variable.
1336 (set_gas_hash_table_size): New function: Records a requested size
1337 for the hash tables.
1338 (get_gas_hash_table_size): New function: Return a prime number
1339 near the requested size of the hash table.
1340 (hash_new): Use get_gas_hash_table_size.
1341 * hash.h: Add a prototype for set_gas_hash_table_size.
1342 * as.c (show_usage): Add description of new switches: --hash-size
1343 and --reduce-memory-overheads.
1344 (option_values): Add OPTION_HASH_TABLE_SIZE and
1345 OPTION_REDUCE_MEMORY_OVERHEADS.
1346 (std_longpopts): Add entries for the new options.
1347 (parse_args): Handle the new options.
1348 * Makefile.am: Add a dependency of as.c on hash.h.
1349 * Makefile.in: Regenerate.
1350 * doc/as.texinfo: Document the new switches.
1351 * NEWS: Mention the new switches.
1352
f394e3dd
NC
13532005-04-12 Nick Clifton <nickc@redhat.com>
1354
1355 PR gas/818
1356 * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3]
1357 synonyms.
1358
ceae3e33
AM
13592005-04-12 Alan Modra <amodra@bigpond.net.au>
1360
1361 * Makefile.am: Run "make dep-am".
1362 * Makefile.in: Regenerate.
1363
2eccd1b4
BW
13642005-04-11 Sterling Augustine <sterling@tensilica.com>
1365 Bob Wilson <bob.wilson@acm.org>
1366
1367 * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo.
1368
333f7af7
MK
13692005-04-11 Mark Kettenis <kettenis@gnu.org>
1370
1371 * configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
1372
5e75c3ab
JB
13732005-04-11 Jan Beulich <jbeulich@novell.com>
1374
1375 * NEWS: Mention these changes and their effects.
1376 * macro.c (get_token): Use is_name_beginner/is_part_of_name/
1377 is_name_ender.
1378 (check_macro): Likewise.
1379 (buffer_and_nest): Likewise. Permit multiple labels. Don't discard
1380 labels together with the closing pseudo-op.
1381 (macro_expand_body): Adjust comment. Range-check input before use.
1382 Adjust mis-spelled diagnostic. Use is_name_beginner.
1383 * read.c (try_macro): New.
1384 (read_a_source_file): New static variable last_eol. Don't list
1385 macro expansion lines more than once. Call try_macro.
1386 (s_macro): Set section of line_label to absolute instead of undefined.
1387 * doc/as.texinfo: Add information on the caveats of these changes.
1388
514d955d
AM
13892005-04-11 Alan Modra <amodra@bigpond.net.au>
1390
1391 * symbols.c (symbol_X_add_number): Change return type to "offsetT *".
1392 * symbols.h (symbol_X_add_number): Update prototype.
1393
a9fcb2a9
EC
13942005-04-10 Eric Christopher <echristo@redhat.com>
1395
1396 * symbols.c (symbol_X_add_number): Fix warning.
1397
045b540e
L
13982005-04-10 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 * config/tc-m68k.c (md_begin): Support 64bit host.
1401 (get_num): Support 64bit BFD on 32bit host.
1402
b215186b
L
14032005-04-10 H.J. Lu <hongjiu.lu@intel.com>
1404
1405 * config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64.
1406
be95a9c1
AM
14072005-04-09 Alan Modra <amodra@bigpond.net.au>
1408
31d20a21
AM
1409 * read.c (assign_symbol): Remove const from parm. Fix xcalloc
1410 call. Don't do the COFF hacks for multi-emulation gas. Move
1411 demand_empty_rest_of_line back to caller.
1412 (s_set, equals): demand_empty_rest_of_line here.
1413
be95a9c1
AM
1414 PR gas/827
1415 * as.h (rs_dummy): Define.
1416 * symbols.c (symbol_X_add_number): New function.
1417 * symbols.h (symbol_X_add_number): Declare.
1418 * stabs.c (aout_process_stab): Tidy symbol frag setting.
1419 * read.c (assign_symbol): New function, split out from s_set.
1420 Use symbol_find_or_make. Leave fr_type of dummy frag as rs_dummy.
1421 Fix COFF hacks for multi-emulation gas.
1422 (s_set): Call assign_symbol. Remove "register" keyword.
1423 (set_zero_frag): New function.
1424 (pseudo_set): Always check for assignment to section syms.
1425 Always set segment and frag of symbol, and likewise extern for
1426 aout/bout. Handle assignment of sym=sym+/-const specially. Don't
1427 special case exp.X_add_number non-zero for O_symbol expressions.
1428 (equals): Use assign_symbol.
1429
6624cbde
BW
14302005-04-08 Bob Wilson <bob.wilson@acm.org>
1431
1432 * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
1433 SEC_MERGE sections.
1434
dbbaec26
L
14352005-04-06 H.J. Lu <hongjiu.lu@intel.com>
1436
1437 * config/tc-i386.c (tc_gen_reloc): Don't turn
1438 BFD_RELOC_X86_64_32S into BFD_RELOC_32.
1439
0d6af1ab
NC
14402005-04-06 Nick Clifton <nickc@redhat.com>
1441
1442 * po/rw.po: New translation: Kinyarwanda
1443 * configure.in (ALL_LINGUAS): Add rw
1444 * configure: Regenerate.
1445
664df4e4
BW
14462005-04-05 Sterling Augustine <sterling@tensilica.com>
1447 Bob Wilson <bob.wilson@acm.org>
1448
1449 * config/tc-xtensa.c (branch_align_power): New.
1450 (xtensa_find_unaligned_branch_targets, get_aligned_diff,
1451 future_alignment_required): Use branch_align_power to check section
1452 alignment as well as xtensa_fetch_width when aligning branch targets.
1453
d77b99c9
BW
14542005-04-05 Bob Wilson <bob.wilson@acm.org>
1455
1456 * config/tc-xtensa.c: Warning fixes throughout.
1457 (xtensa_fetch_width): Change to unsigned.
1458 (assemble_nop, xtensa_find_unaligned_branch_targets,
1459 xtensa_find_unaligned_loops, xg_assemble_vliw_tokens,
1460 is_narrow_branch_guaranteed_in_range, xtensa_fix_close_loop_end_frags,
1461 min_bytes_to_other_loop_end, unrelaxed_frag_min_size,
1462 unrelaxed_frag_max_size, xtensa_fix_short_loop_frags,
1463 count_insns_to_loop_end, unrelaxed_frag_min_insn_count,
1464 get_text_align_max_fill_size, get_text_align_nop_count,
1465 get_text_align_nth_nop_size, get_noop_aligned_address,
1466 get_aligned_diff, convert_frag_align_next_opcode,
1467 convert_frag_immed_finish_loop, xtensa_create_property_segments,
1468 xtensa_create_xproperty_segments, xt_block_aligned_size): Clean up
1469 types, avoiding size_t and using offsetT and addressT appropriately.
1470 (get_text_align_power): Clean up types. Avoid incorrect bound.
1471 (get_text_align_fill_size): Clean up types. Restructure for clarity.
1472
da9f89d4
L
14732005-04-04 H.J. Lu <hongjiu.lu@intel.com>
1474
1475 * config/tc-ia64.c (start_unwind_section): Undo the change
1476 of 2004-08-18.
1477 (generate_unwind_image, dot_endp): Likewise.
1478
f6fe78d6
JW
14792005-04-01 David Mosberger <davidm@hpl.hp.com>
1480
1481 * config/tc-ia64.c (ia64_handle_align): Move le_nop and
1482 le_nop_stop arrays and initializers to file scope.
1483 (md_begin): When generating code for anything other than
1484 Itanium 1, use MMI instead of MFI NOP bundles as a filler.
1485
a7d61044
JB
14862005-04-01 Jan Beulich <jbeulich@novell.com>
1487
1488 * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push
1489 immediates.
1490
d2c5f73e
NC
14912005-04-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
1492
1493 * NEWS: Mention [fdgh]_floating.
1494 * config/atof-vax.c: Fix some whitespace.
1495 * config/tc-vax.c (md_pseudo_table): Add "[fdgh]_floating".
1496
56f36663
NC
14972005-04-01 Nick Clifton <nickc@redhat.com>
1498
1499 * configure.in: Add a check for <unistd.h> providing a prototype
1500 for getopt() which is compatible with the one in
1501 include/getopt.h. If so then define HAVE_DECL_GETOPT.
1502 * configure: Regenerate.
1503 * config.in (HAVE_DECL_GETOPT): Add.
1504
8a75718c
JB
15052005-04-01 Jan Beulich <jbeulich@novell.com>
1506
1507 * config/tc-i386.c (s_bss): Call obj_elf_section_change_hook.
1508
ae8887b5
JB
15092005-04-01 Jan Beulich <jbeulich@novell.com>
1510
1511 * config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S.
1512 (tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case.
1513
05ea83ed
JB
15142005-03-30 Julian Brown <julian@codesourcery.com>
1515
1516 * config/tc-arm.c (arm_adjust_symtab): Rename
1517 bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
1518
9d2da7ca
JB
15192005-03-30 Julian Brown <julian@codesourcery.com>
1520
1521 * config/tc-arm.c (mapping_state): Change documentation in function
1522 comment to cross-reference spec instead. Change type of mapping symbols
1523 to BSF_NO_TYPE.
1524 (arm_adjust_symtab): Don't change type of mapping symbols here.
1525
e8a38df5
AL
15262005-03-30 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1527
1528 * as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
1529 * config.in: Regenerate.
1530 * configure: Regenerate.
1531 * configure.in: Check for ffs decl and alphabetize.
1532
ba93b8ac
DJ
15332005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1534 Phil Blundell <philb@gnu.org>
1535
1536 * config/tc-arm.c (arm_parse_reloc): Add TLS relocations.
1537 (md_apply_fix3): Mark TLS symbols.
1538 (tc_gen_reloc): Handle TLS relocations.
1539 (arm_fix_adjustable): Ignore TLS relocations.
1540 (s_arm_elf_cons): Support expressions after decorated symbols.
1541
84798bd6
JB
15422005-03-29 Julian Brown <julian@codesourcery.com>
1543
1544 * config/tc-arm.c (marked_pr_dependency): New bitmap, bit N indicates
1545 whether personality routine index N has been output for this section.
1546 (mapping_state): tc_segment_info_data now struct not enum.
1547 (arm_elf_change_section): Likewise, and marked_pr_dependency is now
1548 handled on section change.
1549 (create_unwind_entry): Previous code to output dependency removed.
1550 (s_arm_unwind_fnend): Output dependency if it hasn't been done already
1551 for this section.
1552 * config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct
1553 arm_segment_info_type.
1554 (arm_segment_info_type): New struct.
84798bd6 1555
7b1cc377
BW
15562005-03-28 Sterling Augustine <sterling@tensilica.com>
1557 Bob Wilson <bob.wilson@acm.org>
1558
1559 * config/tc-xtensa.c (do_align_targets): Update comment.
1560 (xtensa_frob_label): Compute "freq" before possibly switching frags.
1561 Insert a LOOP_END frag before every loop target, and do not overload
1562 DESIRE_ALIGN_IF_TARGET frags with loop end information.
1563 (xg_assemble_vliw_tokens): Use do_align_targets.
1564 (xtensa_fix_target_frags): Remove code to convert a
1565 DESIRE_ALIGN_IF_TARGET frag to a LOOP_END frag when there is a
1566 negatable branch at the end of a loop.
1567 (frag_can_negate_branch): Delete.
1568
8c2fda1d
L
15692005-03-28 David Mosberger <davidm@hpl.hp.com>
1570 H.J. Lu <hongjiu.lu@intel.com>
1571
1572 PR 803
1573 NEWS: Mention "-mtune=[itanium1|itanium2]".
1574
1575 * config/tc-ia64.c (md): Add tune.
1576 (md_parse_option): Accepted "-mtune=[itanium1|itanium2]".
1577 (md_show_usage): Add "-mtune=[itanium1|itanium2]".
1578 (extra_goodness): Prefer M- and I-unit NOPs for itanium2. F and
1579 B unit NOPs are discouraged for McKinley-derived cores.
1580 (md_begin): Don't hardcode the "extra_goodness()" function in
1581 the comment...
1582 (ia64_init): Set md.tune to itanium2.
1583
1584 * doc/as.texinfo: Add -mtune=[itanium1|itanium2]".
1585 * doc/c-ia64.texi: Likewise.
1586
161840f9
ILT
15872005-03-27 Ian Lance Taylor <ian@airs.com>
1588
1589 * config/obj-coff.c (coff_frob_symbol): When crashing because of a
1590 bad C_EFCN symbol, print its name.
1591
7c834684
BW
15922005-03-25 Bob Wilson <bob.wilson@acm.org>
1593
1594 * config/tc-xtensa.c (use_longcalls): Delete.
1595 (xg_symbolic_immeds_fit): Check for direct calls and return TRUE if
1596 the use_longcalls flag is set. Do this before checking the segment.
1597 (xg_expand_assembly_insn): Rearrange to use new do_expand flag. Never
1598 expand direct calls at this point.
1599 (xtensa_set_frag_assembly_state): Set use_longcalls flag.
1600 (xtensa_find_unmarked_state_frags): Likewise.
1601 (md_assemble): Do not disable longcalls by setting is_specific_opcode.
1602 (xg_assemble_vliw_tokens): Switch frags when use_longcalls changes.
1603 (convert_frag_immed): Remove unnecessary check of is_specific_opcode.
1604 * config/tc-xtensa.h (xtensa_frag_type): Add use_longcalls flag.
1605
ff1e783f
HPN
16062005-03-25 Hans-Peter Nilsson <hp@bitrange.com>
1607
1608 * config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90.
1609
695a4822
HPN
16102005-03-25 Hans-Peter Nilsson <hp@axis.com>
1611
1612 * config/tc-cris.h: Convert to ISO C90.
1613 * config/tc-cris.c: Ditto.
1614 (md_estimate_size_before_relax): Remove obsolete comment for
1615 parameter "segment_type".
1616 (md_begin): Document reason for cast of hash_insert argument.
1617 (md_atof): Correct type of parameter "type".
1618
ea1562b3
NC
16192005-03-24 Nick Clifton <nickc@redhat.com>
1620
1621 * write.h (bit_fix_new): Remove redundant prototype.
1622 * config/atof-ieee.c: Convert to ISO-C90 and fix formatting.
1623 * config/obj-aout.c: Convert to ISO-C90 and fix formatting.
1624 * config/obj-aout.h: Convert to ISO-C90 and fix formatting.
1625 * config/obj-bout.c: Convert to ISO-C90 and fix formatting.
1626 * config/obj-bout.h: Convert to ISO-C90 and fix formatting.
1627 * config/obj-ecoff.c: Convert to ISO-C90 and fix formatting.
1628 * config/obj-ecoff.h: Convert to ISO-C90 and fix formatting.
1629 * config/obj-som.c: Convert to ISO-C90 and fix formatting.
1630 * config/obj-som.h: Convert to ISO-C90 and fix formatting.
1631 * config/tc-a29k.c: Convert to ISO-C90 and fix formatting.
1632 * config/tc-a29k.h: Convert to ISO-C90 and fix formatting.
1633 * config/tc-alpha.c: Convert to ISO-C90 and fix formatting.
1634 * config/tc-alpha.h: Convert to ISO-C90 and fix formatting.
1635 * config/tc-arc.c: Convert to ISO-C90 and fix formatting.
1636 * config/tc-arc.h: Convert to ISO-C90 and fix formatting.
1637 * config/tc-d10v.c: Convert to ISO-C90 and fix formatting.
1638 * config/tc-d10v.h: Convert to ISO-C90 and fix formatting.
1639 * config/tc-d30v.c: Convert to ISO-C90 and fix formatting.
1640 * config/tc-d30v.h: Convert to ISO-C90 and fix formatting.
1641 * config/tc-dlx.c: Convert to ISO-C90 and fix formatting.
1642 * config/tc-dlx.h: Convert to ISO-C90 and fix formatting.
1643 * config/tc-fr30.c: Convert to ISO-C90 and fix formatting.
1644 * config/tc-fr30.h: Convert to ISO-C90 and fix formatting.
1645 * config/tc-h8500.c: Convert to ISO-C90 and fix formatting.
1646 * config/tc-h8500.h: Convert to ISO-C90 and fix formatting.
1647 * config/tc-i370.c: Convert to ISO-C90 and fix formatting.
1648 * config/tc-i370.h: Convert to ISO-C90 and fix formatting.
1649 * config/tc-i960.c: Convert to ISO-C90 and fix formatting.
1650 * config/tc-ip2k.c: Convert to ISO-C90 and fix formatting.
1651 * config/tc-ip2k.h: Convert to ISO-C90 and fix formatting.
1652 * config/tc-m32r.c: Convert to ISO-C90 and fix formatting.
1653 * config/tc-m32r.h: Convert to ISO-C90 and fix formatting.
1654 * config/tc-m88k.c: Convert to ISO-C90 and fix formatting.
1655 * config/tc-m88k.h: Convert to ISO-C90 and fix formatting.
1656 * config/tc-mcore.c: Convert to ISO-C90 and fix formatting.
1657 * config/tc-mcore.h: Convert to ISO-C90 and fix formatting.
1658 * config/tc-mn10200.c: Convert to ISO-C90 and fix formatting.
1659 * config/tc-ns32k.c: Convert to ISO-C90 and fix formatting.
1660 * config/tc-ns32k.h: Convert to ISO-C90 and fix formatting.
1661 * config/tc-openrisc.c: Convert to ISO-C90 and fix formatting.
1662 * config/tc-openrisc.h: Convert to ISO-C90 and fix formatting.
1663 * config/tc-or32.c: Convert to ISO-C90 and fix formatting.
1664 * config/tc-or32.h: Convert to ISO-C90 and fix formatting.
1665 * config/tc-pdp11.h: Convert to ISO-C90 and fix formatting.
1666 * config/tc-pj.c: Convert to ISO-C90 and fix formatting.
1667 * config/tc-pj.h: Convert to ISO-C90 and fix formatting.
1668 * config/tc-tahoe.c: Convert to ISO-C90 and fix formatting.
1669 * config/tc-tic80.c: Convert to ISO-C90 and fix formatting.
1670 * config/tc-tic80.h: Convert to ISO-C90 and fix formatting.
1671 * config/tc-v850.c: Convert to ISO-C90 and fix formatting.
1672 * config/tc-v850.h: Convert to ISO-C90 and fix formatting.
1673 * config/tc-w65.c: Convert to ISO-C90 and fix formatting.
1674 * config/tc-w65.h: Convert to ISO-C90 and fix formatting.
1675 * config/tc-xstormy16.c: Convert to ISO-C90 and fix formatting.
3c9d25f4 1676 * config/tc-xstormy16.h: Convert to ISO-C90 and fix formatting.
ea1562b3 1677
d110d6a2
JB
16782005-03-23 Jim Blandy <jimb@redhat.com>
1679
1680 * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
1681 attributes properly.
1682
ed84e695
NC
16832005-03-23 Mike Frysinger <vapier@gentoo.org>
1684 Nick Clifton <nickc@redhat.com>
1685
1686 * configure.tgt: Accept any C library to accompany a GNU Linux
1687 implementation, not just the GNU C library.
1688 * configure.in: Likewise.
1689 * configure: Regenerate.
1690
4d5f9b2a
NC
16912005-03-23 Nick Clifton <nickc@redhat.com>
1692
1693 * config/tc-tic30.c: Convert to ISO C90 formatting.
1694 * config/tc-tic30.h: Convert to ISO C90 formatting.
1695 * config/tc-pdp11.c: Convert to ISO C90 formatting.
1696 * config/atof-vax.c: Convert to ISO C90 formatting.
1697
704803a9
MR
16982005-03-21 Maciej W. Rozycki <macro@mips.com>
1699
1700 * config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
1701 relocations correctly as well.
1702 (mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16
1703 relocations in mergeable sections section-relative either.
1704
6e2a91a3
BW
17052005-03-21 Bob Wilson <bob.wilson@acm.org>
1706
1707 * config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.
1708
3d063691
NC
17092005-03-21 Nick Clifton <nickc@redhat.com>
1710
1a66a017
NC
1711 * config/tc-sh.c (sh_elf_final_processing): Fix compile time
1712 warning by providing a prototype for sh_symbian_find_elf_flags.
1713
3d063691
NC
1714 * cgen.c (gas_cgen_parse_operand): Fix typo introduced by
1715 previous delta.
1716
6f19c13c
AM
17172005-03-21 Alan Modra <amodra@bigpond.net.au>
1718
1719 * configure.tgt: Handle setting of bfd_gas for fmt=multi targets
1720 along with other formats that set bfd_gas. Remove unnecessary
1721 setting of bfd_gas. Delete strongarm cases in generic_target
1722 switch.
1723
bd17c2c3
AM
17242005-03-21 Alan Modra <amodra@bigpond.net.au>
1725
1726 PR gas/780
1727 * config/tc-m68k.c (TRUNC, SEXT): Define.
1728 (issbyte, isubyte, issword, isuword, isbyte, isword): Use the above.
1729 (m68k_ip): Truncate or sign extend expressions as appropriate.
1730 (get_num): Likewise.
1731 (md_apply_fix3): Use SEXT.
1732
ec91a2c2
AM
17332005-03-21 Alan Modra <amodra@bigpond.net.au>
1734
1735 * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
1736 (OBJ_FORMAT_HFILES): Prune config/obj-vms.h.
1737 (obj-vms.o): Delete rule.
1738 Run "make dep-am".
1739 * Makefile.in: Regenerate.
1740 * aclocal.m4: Regenerate.
1741 * doc/Makefile.in: Regenerate.
1742 * po/POTFILES.in: Regenerate.
1743
238d258f
NC
17442005-03-18 C Jaiprakash <cjaiprakash@noida.hcltech.com>
1745
1746 * config/tc-m68k.c (m68k_elf_final_processing): Set file specific
1747 flag for coldfire v4e.
1748
30f725a1
BW
17492005-03-17 Bob Wilson <bob.wilson@acm.org>
1750
1751 * config/tc-xtensa.c (xg_apply_tentative_value): Rename to
1752 xg_apply_fix_value and return a value to indicate success.
1753 (md_pcrel_from): Skip check of fx_done. Return 0 if not PC-relative.
1754 (xtensa_force_relocation): Remove checks for VTABLE relocs.
1755 (xtensa_validate_fix_sub): New.
1756 (xtensa_fix_adjustable): Remove check for external or weak symbols.
1757 (tc_gen_reloc): Move code to handle difference of symbols and code to
1758 apply tentative fix values to ...
1759 (md_apply_fix3): ...here. Enable standard overflow checks for simple
1760 8, 16, and 32 bit relocations. Apply fixes for slot-specific
1761 relocations when linkrelax flag is not set.
1762 * config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype.
1763 (TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define.
1764
a724f0f4
JB
17652005-03-17 Jan Beulich <jbeulich@novell.com>
1766
1767 * config/tc-i386.c (i386_scale): Beautify error message.
1768 (Intel syntax comments): Update.
1769 (struct intel_parser_s): Add fields in_offset, in_bracket, and
1770 next_operand.
1771 (intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1):
1772 Remove declarations.
1773 (intel_bracket_expr): Declare.
1774 (i386_intel_operand): Initialize new intel_parser fields. Wrap most
1775 of the function body in a loop allowing to split an operand into two.
1776 Replace calls to malloc and checks of it returning non-NULL with
1777 calls to xmalloc/xstrdup.
1778 (intel_expr): SHORT no longer handled here. Add comment indicating
1779 comparison ops need implementation.
1780 (intel_e04, intel_e04_1): Combine, replace recursion with loop.
1781 Check right operand of - does not specify a register when parsing
1782 the address of a memory reference.
1783 (intel_e05, intel_e05_1): Combine, replace recursion with loop.
1784 Check operands do not specify a register when parsing the address of
1785 a memory reference.
1786 (intel_e06, intel_e06_1): Likewise.
1787 (intel_e09, intel_e09_1): Combine, replace recursion with loop. Also
1788 handle SHORT as well as unary + and -. Don't accept : except for
1789 segment overrides or in direct far jump/call insns.
1790 (intel_brack_expr): New.
1791 (intel_e10, intel_e10_1): Combine, replace recursion with loop. Use
1792 intel_brack_expr.
1793 (intel_e11): Replace chain of if/else-if by switch, alloing fall-
1794 through in certain cases. Use intel_brack_expr. Add new diagnostics.
1795 Allow symbolic constants as register scale value.
1796 (intel_get_token): Replace call to malloc and check of return value
1797 with call to xmalloc. Change handling for FLAT to match MASM's.
1798 (intel_putback_token): Don't try to back up/free current token if
1799 that is T_NIL.
1800
deeaaff8
DJ
18012005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
1802
1803 * configure.tgt: Set emulation for arm-*-eabi*.
1804 * config/tc-arm.c (meabi_flags): Check EABI_DEFAULT.
1805 * config/te-armeabi.h: New file.
1806 * config/te-armlinuxeabi.h (EABI_DEFAULT): Define.
1807 * config/te-symbian.h: Include "te-armeabi.h".
1808
199fea98
NC
18092005-03-16 Nick Clifton <nickc@redhat.com>
1810
1811 * cgen.c (gas_cgen_parse_operand): Copy opinfo parameter into a
1812 local variable in case it is clobbered by the setjmp.
1813
1ad12f97
NC
18142005-03-16 Nick Clifton <nickc@redhat.com>
1815 Ben Elliston <bje@au.ibm.com>
1816
569acd2c 1817 * configure.in (werror): New switch: Add -Werror to the
1ad12f97 1818 compiler command line. Enabled by default. Disable via
569acd2c 1819 --disable-werror.
1ad12f97
NC
1820 * configure: Regenerate.
1821
a5324a3e
NC
18222005-03-16 Nick Clifton <nickc@redhat.com>
1823
1824 * config/obj-coff.h: Convert to ISO C90 formatting.
1825 * config/obj-coff.c: Convert to ISO C90 formatting.
1826
b05fe5cf
ZW
18272005-03-15 Zack Weinberg <zack@codesourcery.com>
1828
1829 * config/tc-arm.c (do_mla): Rename to do_mlas, take second
1830 is_mls parameter; do not diagnose Rm==Rd when is_mls.
1831 (do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width)
1832 (do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions.
1833 (insns): Add ARMv6T2 instructions:
1834 bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht.
1835 (arm_archs): Add V6T2 variants.
1836
957d91c1
NC
18372005-03-15 Nick Clifton <nickc@redhat.com>
1838
1839 * NEWS: Add cutoff for changes in 2.16 release.
1840
43c3ab55
JB
18412005-03-15 Jan Beulich <jbeulich@novell.com>
1842
1843 * expr.c (operand): Merge handling of unary + into that for unary
1844 -, !, and ~.
1845
5862107c
EC
18462005-03-14 Eric Christopher <echristo@redhat.com>
1847
1848 * config/tc-mips.c: Include dw2gencfi.h.
1849 (mips_cfi_frame_initial_instructions): New.
1850 * config/tc-mips.h (TARGET_USE_CFIPOP): Define.
1851 (tc_cfi_frame_initial_instructions): Ditto.
1852 (DWARF2_DEFAULT_RETURN_COLUMN): Ditto.
1853 (DWARF2_CIE_DATA_ALIGNMENT): Ditto.
1854 * Makefile.am: Update dependencies.
1855 * Makefile.in: Regenerate.
1856
729ae8d2
AM
18572005-03-15 Alan Modra <amodra@bigpond.net.au>
1858
1859 * po/es.po: Commit new Spanish translation.
1860
882cb63e
AM
18612005-03-14 Alan Modra <amodra@bigpond.net.au>
1862
1863 * po/tr.po: Commit new Turkish translation.
1864
885fc257
ZW
18652005-03-12 Zack Weinberg <zack@codesourcery.com>
1866
1867 * config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
1868 wfi, yield.
1869
e330299e
DJ
18702005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
1871
1872 * config-gas.com: Mark vax-vms as obsolete.
1873 * configure.in: Remove fmt=vms support.
1874 * config.in: Regenerate.
1875 * configure: Regenerate.
1876 * config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove.
1877
7b1cc377
BW
18782005-03-10 Sterling Augustine <sterling@tensilica.com>
1879 Bob Wilson <bob.wilson@acm.org>
0fa77c95
BW
1880
1881 * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
1882 when checking if xg_resolve_literals needs to be called.
1883 * config/tc-xtensa.h: Fix spelling typo in a comment.
1884
4962e196
JB
18852005-03-10 Jan Beulich <jbeulich@novell.com>
1886
1887 * config/tc-tic54x.h (tic54x_macro_info): Change parameter type.
1888 * config/tc-tic54x.c (tic54x_macro_info): Likewise. Replace hand-
1889 crafted structure declarations with the types from macro.h.
1890
4184909a
RS
18912005-03-09 Richard Sandiford <rsandifo@redhat.com>
1892
1893 * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
1894 for -mno-shared optimization.
1895
7d8e00cf
RS
18962005-03-09 Richard Sandiford <rsandifo@redhat.com>
1897
1898 * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
1899 (MAX_NOPS): Bump to 4.
1900 (mips_fix_vr4130): New variable.
1901 (nops_for_vr4130): New function.
1902 (nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use
1903 nops_for_vr4130 if working around VR4130 errata.
1904 (OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros.
1905 (md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130.
1906 (md_parse_option): Handle them.
1907 (md_show_usage): Print them.
1908 * doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
1909
dc36a61f
RS
19102005-03-09 Richard Sandiford <rsandifo@redhat.com>
1911
1912 * config/tc-mips.c (append_insn): Remove cop_interlocks test from
1913 branch delay code.
1914
7d10b47d
RS
19152005-03-09 Richard Sandiford <rsandifo@redhat.com>
1916
1917 * config/tc-mips.h (mips_flush_pending_output): Delete.
1918 (mips_emit_delays): Declare.
1919 (md_flush_pending_output): Use mips_emit_delays.
1920 * config/tc-mips.c (mips_no_prev_insn): Remove parameter; always forget
1921 the previous instructions.
1922 (md_begin, append_insn, md_parse_option): Update callers.
1923 (mips_emit_delay): Remove parameter. Move INSNS != 0 code to
1924 start_noreorder.
1925 (mips_align, s_change_sec, s_cons, s_float_cons, s_gpword)
1926 (s_gpdword): Update callers.
1927 (start_noreorder, end_noreorder): New functions.
1928 (macro, macro2, mips16_macro, s_mipsset): Use them instead of
1929 manipulating mips_opts or prev_nop_frag directly.
1930 (mips_flush_pending_output): Delete.
1931
404a8071
RS
19322005-03-09 Richard Sandiford <rsandifo@redhat.com>
1933
1934 * config/tc-mips.c (mips_move_labels): New function, taken from...
1935 (append_insn, mips_emit_delays): ...here.
1936
71400594
RS
19372005-03-09 Richard Sandiford <rsandifo@redhat.com>
1938
1939 * config/tc-mips.c (MAX_NOPS): New macro.
1940 (history): Resize to 1 + MAX_NOPS.
1941 (fix_vr4120_class): New enumeration.
1942 (vr4120_conflicts): New variable.
1943 (init_vr4120_conflicts): New function.
1944 (md_begin): Call it.
1945 (insn_uses_reg): Constify first argument.
1946 (classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence)
1947 (nops_for_insn_or_target): New functions.
1948 (append_insn): Use the new nops_for_* functions instead of inline
1949 delay checks. Generalize prev_nop_frag handling to handle an
1950 arbitrary history length. Insert nops into the history buffer
1951 once the number of nops in prev_nop_frag is fixed.
1952 (emit_delays): Use nops_for_insn instead of inline delay checks.
1953
9b91f544
RS
19542005-03-09 Richard Sandiford <rsandifo@redhat.com>
1955
1956 * config/tc-mips.c (append_insn): Remove now-redundant nops != 0
1957 check from branch delay code. Remove unnecessary check for branches.
1958
1e915849
RS
19592005-03-09 Richard Sandiford <rsandifo@redhat.com>
1960
1961 * config/tc-mips.c (dummy_opcode): Delete.
1962 (nop_insn, mips16_nop_insn): New variables.
1963 (NOP_INSN): New macro.
1964 (insn_length, create_insn, install_insn, move_insn, add_fixed_insn)
1965 (add_relaxed_insn, insert_into_history, emit_nop): New functions.
1966 (md_begin): Initialize nop_insn and mips16_nop_insn.
1967 (append_insn): Use the new emit_nop function to add nops, recording
1968 them in the history buffer. Use add_fixed_insn or add_relaxed_insn
1969 to reserve room for the instruction and install_insn to install the
1970 final form. Use insert_into_history to record the instruction in
1971 the history buffer. Use move_insn to do delay slot filling.
1972 (mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro.
1973 (macro_build, mips16_macro_build, macro_build_lui, mips_ip)
1974 (mips16_ip): Use create_insn to initialize mips_cl_insns.
1975
bf12938e
RS
19762005-03-09 Richard Sandiford <rsandifo@redhat.com>
1977
1978 * config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)
1979 (EXTRACT_OPERAND, MIPS16_INSERT_OPERAND, MIPS16_EXTRACT_OPERAND): New.
1980 (insn_uses_reg, reg_needs_delay, append_insn, macro_build)
1981 (mips16_macro_build, macro_build_lui, mips16_macro, mips_ip)
1982 (mips16_ip): Use the new macros instead of explicit masks and shifts.
1983
a38419a5
RS
19842005-03-09 Richard Sandiford <rsandifo@redhat.com>
1985
1986 * config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p
1987 and extended_p fields with a single fixed_p field.
1988 (append_insn, mips_no_prev_insn): Adjust accordingly.
1989
2fa15973
RS
19902005-03-09 Richard Sandiford <rsandifo@redhat.com>
1991
1992 * config/tc-mips.c (mips_cl_insn): Replace reloc_type array with
1993 a single mips16_absolute_jump_p bit.
1994 (append_insn): Adjust accordingly.
1995
47e39b9d
RS
19962005-03-09 Richard Sandiford <rsandifo@redhat.com>
1997
1998 * config/tc-mips.h (mips_cl_insn): Move definition to...
1999 * config/tc-mips.c (mips_cl_insn): ...here. Add new fields:
2000 frag, where, fixp, reloc_type, valid_p, noreorder_p, delay_slot_p
2001 and extended_p.
2002 (history): New variable.
2003 (prev_insn, prev_prev_insn, prev_insn_valid, prev_insn_frag)
2004 (prev_insn_where, prev_insn_reloc_type, prev_insn_fixp)
2005 (prev_insn_is_delay_slot, prev_insn_unreordered, prev_insn_extended)
2006 (prev_prev_insn_unreordered): Delete.
2007 (reg_needs_delay, append_insn, mips_no_prev_insn, mips_emit_delays)
2008 (macro_start): Replace uses of prev_insn* with the equivalent history[]
2009 field.
2010
399132af
DJ
20112005-03-08 Daniel Jacobowitz <dan@codesourcery.com>
2012
2013 * doc/Makefile.am: Update as.info dependencies.
2014 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
2015
20162005-03-08 Jan Beulich <jbeulich@novell.com>
fffeaa5f
JB
2017
2018 * doc/as.texinfo: Add sentence to indicate redefining a macro is an
2019 error, and point to .purgem documentation if someone really needs
2020 re-definitions.
2021 * NEWS: Mention macro redefinition is now an error.
2022
9b505842
JB
20232005-03-08 Jan Beulich <jbeulich@novell.com>
2024
2025 * config/tc-ia64.c (emit_one_bundle): Track last slot user insn was
2026 emitted to. Add more precise diagnostics for non-fitting insns based
2027 on that. Eliminate now superfluous special casing of MLX. Clear out
2028 slot information when dropping an insn.
2029
ef6a2b41
JB
20302005-03-08 Jan Beulich <jbeulich@novell.com>
2031
2032 * config/tc-ia64.c (parse_section_name): Rename to...
2033 (cross_section): In addition to separating the name from the rest of
2034 the arguments, also carry out the operation.
2035 (dot_xdata): Use cross_section.
2036 (dot_float_cons): Likewise.
2037 (dot_xstringer): Likewise.
2038 (dot_xdata_ua): Likewise.
2039 (dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons.
2040
06647dfd
AM
20412005-03-05 Alan Modra <amodra@bigpond.net.au>
2042
2043 * po/gas.pot: Regenerate.
2044
bbe506e8
TS
20452005-03-04 David Daney <ddaney@avtrex.com>
2046
2047 * config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp'
2048 instead of '_gp' for -mno-shared optimization.
2049 (s_cpload): Ditto.
2050 (s_abicalls): Document it in the comment.
2051 (md_show_usage): Document the -mno-shared option.
2052
aed1a261
RS
20532005-03-04 Richard Sandiford <rsandifo@redhat.com>
2054
2055 * config/tc-mips.c (mips_set_options): Add sym32 field.
2056 (mips_opts): Initialize it.
2057 (HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide.
2058 (HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES.
2059 (HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros.
2060 (load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES
2061 when deciding whether to use a symbolic %highest/%higher expansion.
2062 (macro): Likewise. Remove o64/n32 linux hack. Always use
2063 ADDRESS_ADD*_INSN for address addition in the expansion of "dla"
2064 and "la". Handle constants separately from symbolic expressions in
2065 the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES
2066 and using load_register to load the high part of the address.
2067 (OPTION_MSYM32, OPTION_NO_MSYM32): New macros.
2068 (OPTION_ELF_BASE): Bump by 2.
2069 (md_longopts): Add entries for -msym32 and -mno-sym32.
2070 (md_parse_option): Handle them.
2071 (usage): Document them.
2072 (s_mipsset): Handle ".set sym32" and ".set nosym32".
2073 (s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of
2074 HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp".
2075 * doc/c-mips.texi: Document ".set sym32", ".set nosym32",
2076 -msym32 and -mno-sym32.
2077
6caf9ef4
TS
20782005-03-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2079
2080 * config/tc-mips.c (load_address): Implement GP optimization
2081 for 64bit address space non-PIC. Fix formatting.
2082 (macro): Likewise. Simplify code.
2083 (md_parse_option): Don't bail out if -G 0 is set for PIC code.
2084 (mips_after_parse_args): Simplify code.
2085
406a7f05
NC
20862005-03-03 Nick Clifton <nickc@redhat.com>
2087
fbacee5b
NC
2088 * expr.c (operand): Remove redundant code enclosed by #ifdef
2089 RELAX_PAREN_GROUPING....#endif.
2090
77ccfee5
NC
2091 * config/tc-mn10200.c (tc_gen_reloc): Handle the case where the
2092 reloc is the difference of two symbols defined in the same
2093 section.
2094
406a7f05
NC
2095 * config/tc-iq2000.c (line_comment_chars): Include the # character
2096 as otherwise this breaks #APP/#NO_APP processing.
2097
2f12d57f
RR
20982005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
2099
2100 * config/tc-arc.c(md_assemble): Remove dead code for handling
2101 immediate indexing of ld and st .
2102
3f98094e
DJ
21032005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
2104 Joseph Myers <joseph@codesourcery.com>
2105
2106 * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,
2107 %dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel.
2108 (parse_relocation): Check for a word break after a relocation
2109 operator.
2110 (md_apply_fix3): Handle TLS relocations, and mark thread-local
2111 symbols.
2112
ab1e9ef7
AM
21132005-03-02 Alan Modra <amodra@bigpond.net.au>
2114
2115 * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.
2116
bb14f524
JB
21172005-03-02 Jan Beulich <jbeulich@novell.com>
2118
2119 * as.c (main): Use unlink_if_ordinary instead of unlink.
2120 * messages.c (as_fatal): Likewise.
2121
c4a530c5
JB
21222005-03-02 Jan Beulich <jbeulich@novell.com>
2123
2124 * config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15
2125 accesses.
2126 (parse_register): Allow cr8...15 in all modes.
2127
167c3097
JB
21282005-03-02 Jan Beulich <jbeulich@novell.com>
2129
2130 * config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE
2131 etc. like normal symbol references (T_ID).
2132
71ba24a1
AM
21332005-03-02 Alan Modra <amodra@bigpond.net.au>
2134
2135 * symbols.c (fb_label_name): Fix silly thinko in last change.
2136
a76903bf
AM
21372005-03-02 Alan Modra <amodra@bigpond.net.au>
2138
9d0e75cb
AM
2139 * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
2140 * config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
2141
a76903bf
AM
2142 * symbols.c (fb_label_name): Allow an augend of 2 for mmix.
2143
21442005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
b15c27d7
RR
2145
2146 PR gas/708
a76903bf 2147 * config/tc-arc.c (md_assemble): Initialize suffix for extension
b15c27d7 2148 suffixes also.
b15c27d7 2149
c9dea48b
AM
21502005-03-01 Alan Modra <amodra@bigpond.net.au>
2151
c7f17d46
AM
2152 * config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion.
2153
c9dea48b
AM
2154 * as.h (assert): Warning fix.
2155 * expr.c (expr): Correct assertion.
2156 * read.c (s_comm_internal): Remove assertion.
2157 * write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER.
2158 (fixup_segment): Remove assertion.
2159 * config/tc-dlx.c (machine_ip): Remove untrue assertions.
2160 (md_apply_fix3): Likewise.
2161 * config/tc-i370.c (md_begin): Correct assertion.
2162 (i370_macro): Warning fix for assertion.
2163
44f2f9d2
AM
21642005-03-01 Alan Modra <amodra@bigpond.net.au>
2165
2166 * configure.in (AC_C_BIGENDIAN): Invoke.
2167 * configure: Regenerate.
2168 * write.c (write_object_file <!BFD_ASSEMBLER>): Don't use sizeof
2169 host variable to set string header size.
2170 * config/obj-aout.c (obj_header_append): Don't use host structs.
2171 (obj_symbol_to_chars): Likewise.
2172 (obj_emit_strings): Likewise. Use the passed in output pointer.
2173 * config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE.
2174 * config/obj-bout.c (obj_emit_relocations): Use md_reloc_size,
2175 not sizeof host struct.
2176 (obj_header_append, obj_symbol_to_chars): Don't use host structs.
2177 (obj_emit_strings): Likewise.
2178 * config/obj-bout.h (EXEC_BYTES_SIZE): Define.
2179 (N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of
2180 sizeof host struct.
2181 (H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using
2182 sizeof host struct.
2183 (host_number_to_chars): Define.
2184 * config/obj-hp300.c (hp300_header_append): Don't use sizeof
2185 host internal struct to set header sizes.
2186 * config/tc-i960.c (md_number_to_field): Warning fix.
2187 (md_ri_to_chars): Use host byte order.
2188 (get_cdisp, md_apply_fix3): Warning fix.
055d1eb0 2189 * config/tc-m68k.c (md_assemble): Don't use sizeof host short.
44f2f9d2 2190
802a113d
NC
21912005-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
2192
2193 * doc/c-arc.texi: Update documentation about ARC's extension
2194 instructions.
2195
e5f129ad
SS
21962005-02-27 Svein E. Seldal <svein@dev.seldal.com>
2197
2198 * config/tc-tic4x.c (tic4x_gen_to_words): Changed mail
2199 address for myself.
2200
2132e3a3
AM
22012005-02-23 Alan Modra <amodra@bigpond.net.au>
2202
2203 * cgen.c: Warning fixes.
2204 * config/tc-arc.c: Likewise.
2205 * config/tc-arm.c: Likewise.
2206 * config/tc-avr.c: Likewise.
2207 * config/tc-d10v.c: Likewise.
2208 * config/tc-d30v.c: Likewise.
2209 * config/tc-frv.c: Likewise.
2210 * config/tc-frv.h: Likewise.
2211 * config/tc-h8300.c: Likewise.
2212 * config/tc-h8500.c: Likewise.
2213 * config/tc-i370.c: Likewise.
2214 * config/tc-i960.c: Likewise.
2215 * config/tc-ia64.c: Likewise.
2216 * config/tc-ip2k.c: Likewise.
2217 * config/tc-m68hc11.c: Likewise.
2218 * config/tc-maxq.c: Likewise.
2219 * config/tc-mcore.c: Likewise.
2220 * config/tc-mips.c: Likewise.
2221 * config/tc-msp430.c: Likewise.
2222 * config/tc-pj.c: Likewise.
2223 * config/tc-ppc.c: Likewise.
2224 * config/tc-ppc.h: Likewise.
2225 * config/tc-s390.c: Likewise.
2226 * config/tc-sh.c: Likewise.
2227 * config/tc-sh64.c: Likewise.
2228 * config/tc-tic4x.c: Likewise.
2229 * config/tc-tic80.c: Likewise.
2230 * config/tc-v850.c: Likewise.
2231 * config/tc-vax.c: Likewise.
2232 * config/tc-w65.c: Likewise.
2233 * config/tc-xstormy16.c: Likewise.
2234 * config/tc-z8k.c: Likewise.
2235
ee3c9814
CM
22362005-02-22 Catherine Moore <clm@cm00re.com>
2237
2238 * read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
2239 * doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
2240
9b2f1d35
EC
22412005-02-22 Eric Christopher <echristo@redhat.com>
2242
2243 * config/tc-mips.c (struct proc): Change isym to
2244 func_sym. New member func_end_sym.
2245 (s_mips_ent): Update.
2246 (s_mips_end): Ditto. Add code to compute function size.
2247
b7712f8d
AM
22482005-02-22 Alan Modra <amodra@bigpond.net.au>
2249
2250 * read.c: Warning fixes.
2251 * config/obj-elf.c: Likewise.
2252
58e2ea4d
MR
22532005-02-22 Maciej W. Rozycki <macro@mips.com>
2254
2255 * config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
2256 emitting insn.
2257
ebe372c1
L
22582005-02-21 H.J. Lu <hongjiu.lu@intel.com>
2259
2260 * config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with
2261 SEC_COFF_SHARED.
2262
2263 * config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with
2264 SEC_TIC54X_BLOCK.
2265 (demand_empty_rest_of_line): Likewise.
2266 (tic54x_sblock): Likewise.
2267 (tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK.
2268
cc1bc22a
AM
22692005-02-21 Alan Modra <amodra@bigpond.net.au>
2270
2271 * read.c (address_bytes): New function.
2272 (TC_ADDRESS_BYTES): Default for BSD_ASSEMBLER to address_bytes.
2273 (potable): Add "dc.a".
2274 (cons_worker): Handle "dc.a".
2275 * doc/internals.texi (TC_ADDRESS_BYTES): Document.
2276
ac4528d2
AM
22772005-02-21 Alan Modra <amodra@bigpond.net.au>
2278
2279 * input-file.c (input_file_open): Rearrange to avoid warning.
2280
b5682e56
AM
22812005-02-19 Alan Modra <amodra@bigpond.net.au>
2282
2283 * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.
2284 * read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test.
2285 * doc/internals.texi (TC_EQUAL_IN_INSN): Delete.
2286
8fc2e39e
TS
22872005-02-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2288
2289 * config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at
2290 uses after .set noat.
2291 (load_address): Likewise.
2292 (macro): Likewise. Don't try to avoid $at use by sacrificing
2293 the target register before it is stored, it won't work.
2294
744b6414
JW
22952005-02-17 James E Wilson <wilson@specifixinc.com>
2296
2297 * config/tc-ia64.c (emit_one_bundle): Stop filling a bundle if we
2298 see an instruction that specifies a template.
2299
30eb9c17
AM
23002005-02-18 Alan Modra <amodra@bigpond.net.au>
2301
2302 * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function.
2303 * config/tc-sparc.c (sparc_ip): Make op_exp static to silence warnings.
2304 * config/tc-tic80.c (build_insn): Init insn[1] to silence warning.
2305
91d777ee
L
23062005-02-17 H.J. Lu <hongjiu.lu@intel.com>
2307
2308 * NEWS: Mention "-mhint.b=[ok|warning|error]".
2309
2310 * config/tc-ia64.c (md): Add hint_b.
2311 (emit_one_bundle): Handle md.hint_b for "hint".
2312 (md_parse_option): Accepted "-mhint.b=[ok|warning|error]".
2313 (md_show_usage): Add "-mhint.b=[ok|warning|error]".
2314 (ia64_init): Set md.hint_b to error.
2315 (md_assemble): Handle md.hint_b for "hint.b".
2316
2317 * doc/as.texinfo: Add "-mhint.b=[ok|warning|error]".
2318 * doc/c-ia64.texi: Likewise.
2319
f17c130b
AM
23202005-02-17 Alan Modra <amodra@bigpond.net.au>
2321
2322 * tc.h (struct relax_type, relax_typeS): Move from here..
2323 * as.h: ..to here. Make rlx_forward and rlx_backward an offsetT.
2324 * ecoff.c (ecoff_new_file): Add appfile param.
2325 * ecoff.h (ecoff_new_file): Likewise.
2326 * itbl-lex.h: New file.
2327 * itbl-lex.l: Include itbl-lex.h.
2328 * itbl-parse.y: Likewise.
2329 (insntbl_line, yyparse, yylex): Move to itbl-lex.h.
2330 * read.c (s_app_file_string): Mark appfile possibly unused.
2331 * subsegs.c (seg_not_empty_p): Make sec possibly unused.
2332 * subsegs.h (struct seg_info_trash): Delete.
2333 (seg_info): Use segment_info_type instead.
2334 * config/obj-coff.c (struct filename_list): Make filename const char *.
2335 * config/obj-ecoff.h (obj_app_file): Pass app to ecoff_new_file.
2336 * config/obj-elf.c (elf_file_symbol): Similarly.
2337 * config/tc-a29k.c (md_apply_fix3): Make val a valueT. Don't use
2338 signed right shift.
2339 * config/tc-arc.c (md_operand): Warning fix.
2340 * config/tc-arm.c (arm_parse_reloc): Only define when OBJ_ELF.
2341 (md_begin): Rearrange #if defined OBJ_COFF || defined OBJ_ELF.
2342 * config/tc-cris.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Use do while.
2343 * config/tc-frv.c (frv_force_relocation): Warning fix.
2344 * config/tc-m68k.c (md_parse_option): Delete unused var.
2345 * config/tc-mcore.c (mylog2): Rename from log2 throughout.
2346 * config/tc-sparc.c: Likewise.
2347 (s_common): Warning fix.
2348 * config/tc-mips.c (append_insn): Use unsigned long long expressions.
2349 * config/tc-mmix.c (PUSHJSTUB_MAX, PUSHJSTUB_MIN): Define from
2350 addressT.
2351 * config/tc-s390.c (s390_insn): Delete test of unsigned >= 0.
2352 * config/tc-sh.c (sh_cfi_frame_initial_instructions,
2353 sh_regname_to_dw2regnum): Only define for OBJ_ELF.
2354 * config/tc-tic4x.c (tic4x_insert_reg): Use ISLOWER.
2355 (tic4x_do_align): Use TIC_NOP_OPCODE.
2356 * config/tc-tic4x.h (TIC_NOP_OPCODE): Rename from NOP_OPCODE.
2357 * config/tc-vax.c: Include netinet/in.h.
2358 (tc_headers_hook): Formatting.
2359 * config/tc-xstormy16.c (md_pcrel_from_section): Correct parens.
2360
26b810ce
JB
23612005-02-17 Jan Beulich <jbeulich@novell.com>
2362
2363 * config/tc-ia64.c (ia64_parse_name): Don't advance 'name' when
2364 parsing inN, locN, outN. Set 'idx' to offset register number starts
2365 at. Don't handle numbers with leading zeroes or beyond 95. Remove
2366 pointless cast.
2367
b8285c27
TS
23682005-02-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2369
2370 * config/tc-mips.c (load_address): Fix formatting.
2371 (macro): Don't use AT if .set noat is in effect. Fix formatting.
2372 Catch macros which are unexpandable without AT. Remove duplicate
2373 zeroing of used_at.
2374 (macro2): Remove duplicate zeroing of used_at.
2375
4df6ce47
AM
23762005-02-16 Alan Modra <amodra@bigpond.net.au>
2377
2378 * dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
2379 than zero.
2380
d6f16593 23812005-02-15 Nigel Stephens <nigel@mips.com>
4df6ce47 2382 Maciej W. Rozycki <macro@mips.com>
d6f16593
MR
2383
2384 * config/tc-mips.c (reloc_needs_lo_p): Handle
2385 BFD_RELOC_MIPS16_HI16_S.
2386 (fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
2387 (append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
2388 and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
2389 complaints on.
2390 (mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
2391 BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
2392 Call my_getSmallExpression() to parse percent operators.
2393 (percent_op_match, mips_percent_op): Separate definitions.
2394 (mips16_percent_op): Define percent operators for the MIPS16 mode.
2395 (parse_relocation): Handle the MIPS16 mode using
2396 mips16_percent_op.
2397 (md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
2398 BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.
2399
7b347e43
JB
24002005-02-15 Jan Beulich <jbeulich@novell.com>
2401
2402 * config/tc-ia64.c (md_apply_fix3): Call ia64_gen_real_reloc_type
2403 instead of explicitly dealing with the translation; exclude
2404 relocations that are already pcrel, however.
2405
a66d2bb7
JB
24062005-02-15 Jan Beulich <jbeulich@novell.com>
2407
2408 * config/tc-ia64.c: Include limits.h (if available).
2409 (gr_values[0]): Set path to INT_MAX.
2410 (dot_reg_val): Don't allow changing value of r0. Limit range of
2411 general registers at r127.
2412 (specify_resource): Default resource index is -1. Don't set resource
2413 index (in case IA64_RS_RSE) without setting the specific flag.
2414 (note_register_values): Check operand is O_constant before tracking
2415 input value of moves. Add tracking for dep.z with constant inputs.
2416 (print_dependency): Resource index of specific resource may be zero.
2417 (check_dependencies): Likewise.
2418
4b09e828
JB
24192005-02-15 Jan Beulich <jbeulich@novell.com>
2420
2421 * config/tc-ia64.c (parse_operands): New local variables reg1, reg2,
2422 reg_class. Check operands and emit diagnostics for illegal use of
2423 registers.
2424
0ca3e455
JB
24252005-02-15 Jan Beulich <jbeulich@novell.com>
2426
2427 * config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize
2428 new variables type, suffix, and width. Handle
2429 BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case.
2430 Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add
2431 FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in
2432 FUNC_DTP_RELATIVE case. Return incoming relocation type if
2433 BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning
2434 if unable to translate relocation type, using the new variables.
2435
2fac3d48
JB
24362005-02-15 Jan Beulich <jbeulich@novell.com>
2437
2438 * config/tc-ia64.h (ia64_symbol_chars): Declare.
2439 (ty_symbol_chars): Define.
2440 * config/tc-ia64.c (ia64_symbol_chars): Define.
2441
2f6d622e
JB
24422005-02-15 Jan Beulich <jbeulich@novell.com>
2443
2444 * config/tc-ia64.c (ia64_parse_name): Only update next character if
2445 input_line_pointer was advanced.
2446
28013b5c
KK
24472005-02-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2448
2449 * config/tc-sh.c (md_apply_fix3): Add parentheses around &
2450 within |.
2451
f1dab70d
JB
24522005-02-13 Jan Beulich <jbeulich@novell.com>
2453
2454 * config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn.
2455 (md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default
2456 indicator.
2457 (ia64_init): Set md.detect_dv.
2458 (ia64_start_line): New static variable warned. Warn only once when
2459 encountering explicit stops in automatic mode.
2460 * doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx.
2461 * NEWS: Mention new default mode.
2462
20b36a95
JB
24632005-02-13 Jan Beulich <jbeulich@novell.com>
2464
2465 * config/tc-ia64.c (dot_rot): Add comment that name strings should
2466 be freed when wiping out previous state. Canonicalize names before
2467 use. Free name string when detecting redefinition.
2468 (dot_pred_rel): Call generic expression parser to process arguments.
2469 Handle O_register case for individual predicates and O_subtract for
2470 ranges.
2471 (ia64_parse_name): Canonicalize name before looking it up in dynamic
2472 register hash.
2473 (ia64_canonicalize_symbol_name): Strip off all trailing # characters.
2474 Warn if multiple found, issue error if resulting symbol name has zero
2475 length.
2476 (dot_alias): Canonicalize name before use.
2477
07450571
L
24782005-02-11 H.J. Lu <hongjiu.lu@intel.com>
2479
2480 * config/tc-ia64.c (unwind_diagnostic): Return -1 for warning
2481 and 0 for error.
2482 (in_procedure): Return -1 for warning.
2483 (in_prologue): Likewise.
2484 (in_body): Likewise.
2485
01b91374
L
24862005-02-11 H.J. Lu <hongjiu.lu@intel.com>
2487
ac4528d2 2488 * config/tc-ia64.c (dot_xdata): Undo the last change.
01b91374
L
2489 (dot_float_cons): Likewise.
2490 (dot_xstringer): Likewise.
2491 (dot_xdata_ua): Likewise.
2492 (dot_float_cons_ua): Likewise.
2493
970d6792
L
24942005-02-11 H.J. Lu <hongjiu.lu@intel.com>
2495
2496 * NEWS: Mention "-munwind-check=[warning|error]".
2497
2498 * config/tc-ia64.c (md): Add unwind_check.
2499 (unwind_diagnostic): New.
2500 (in_procedure): Call unwind_diagnostic when a directive isn't
2501 in procedure.
2502 (in_prologue): Call unwind_diagnostic when a directive isn't in
2503 prologue.
2504 (in_body): Call unwind_diagnostic when a directive isn't in
2505 body region.
2506 (dot_endp): Set md.unwind_check to error before calling
2507 in_procedure and restore it after. When the name is missing or
2508 couldn't be found, use the one from the last .proc if
2509 md.unwind_check isn't error. Warn if md.unwind_check is
2510 warning.
2511 (md_parse_option): Handle "-munwind-check=[warning|error]".
2512 (md_show_usage): Add "-munwind-check=[warning|error]".
2513 (ia64_init): Set md.unwind_check to warning.
2514
2515 * doc/as.texinfo: Add "-munwind-check=[none|warning|error]".
2516 * doc/c-ia64.texi: Likewise.
2517
16a48f83
JB
25182005-02-11 Jan Beulich <jbeulich@novell.com>
2519
2520 * config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
2521 (LEX_QM): Likewise.
2522 (ia64_parse_name): New third parameter.
2523 (md_parse_name): Pass third argument.
2524 * config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
2525 (md_operand): Handling of '@'-prefixed symbols moved from here...
2526 (ia64_parse_name): ...to here.
2527
a911c10a
JB
25282005-02-11 Jan Beulich <jbeulich@novell.com>
2529
2530 * config/tc-ia64.c (md): Remove last_groups and group_idx.
2531 (errata_nop_necessary_p): Remove declaraction and definition.
2532 (emit_one_bundle): Don't call errata_nop_necessary_p. Don't
2533 update md.group_idx. Don't reset md.last_groups.
2534
b3f19c14
JB
25352005-02-11 Jan Beulich <jbeulich@novell.com>
2536
2537 * config/tc-ia64.c (parse_section_name): Handle non-quoted first
2538 argument.
2539 (dot_xdata): Free section name after use.
2540 (dot_float_cons): Likewise.
2541 (dot_xstringer): Likewise.
2542 (dot_xdata_ua): Likewise.
2543 (dot_float_cons_ua): Likewise.
2544 (md_pseudo_table): Add xdata16 and xdata16.ua.
2545
5cb53c21
L
25462005-02-10 H.J. Lu <hongjiu.lu@intel.com>
2547
2548 * doc/all.texi: Add IA64.
2549 * doc/as.texinfo: Likewise.
2550
2551 * doc/c-ia64.texi: Fix typos.
2552
620b81c1
JB
25532005-02-10 Julian Brown <julian@codesourcery.com>
2554
2555 * config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
2556 BFD_RELOC_UNUSED.
2557 (do_t_push_pop): Likewise.
2558 (md_assemble): Likewise.
2559 (md_apply_fix3): Handle BFD_RELOC_NONE correctly, make
2560 BFD_RELOC_UNUSED same as previous meaning of BFD_RELOC_NONE.
2561 (create_unwind_entry): Output dependency on the required personality
2562 routines.
620b81c1 2563
4ee4d249
NS
25642005-02-07 Nathan Sidwell <nathan@codesourcery.com>
2565
2566 * as.h (seg_not_empty_p): Return int, not bfd_boolean.
2567 * subsegs.c (seg_not_empty_p): Likewise.
2568
9f5083a4
NC
25692005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
2570
2571 * config/tc-maxq.c (md_estimate_size_before_relax): Correct the
4df6ce47 2572 relative jump calculation.
9f5083a4
NC
2573 <md_convert_frag) : Likewise.
2574 <output_disp): Likewise.
2575
aaac53f5
HPN
25762005-02-07 Hans-Peter Nilsson <hp@axis.com>
2577
2578 * write.c (write_object_file): Recognize warning-symbol construct
2579 and skip object- and target- handling for the second symbol.
2580
05ee4b0f
JB
25812005-02-02 Jan Beulich <jbeulich@novell.com>
2582
2583 * config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed
2584 designators along with quoted ones. Free copy of quoted designator
2585 when done.
2586
65ec77d2
BE
25872005-02-01 Ben Elliston <bje@au.ibm.com>
2588
2589 * config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
2590 config/obj-ieee.c, config/obj-som.c, config/obj-vms.c,
2591 config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c,
2592 config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c,
2593 config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c,
2594 config/tc-i370.c, config/tc-i386.c, config/tc-i960.c,
2595 config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h,
2596 config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c,
2597 config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c,
2598 config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c,
2599 config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c,
2600 config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c,
2601 config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove
2602 #if 0'd code throughout.
2603
d342277e
NC
26042005-01-31 Nick Clifton <nickc@redhat.com>
2605
2606 * as.c (parse_args): Bump copyright date reported by --version to
2607 2005.
2608
d6486796
NC
26092005-01-31 Nick Clifton <nickc@redhat.com>
2610
2611 * configure.tgt: Remove obsolete targets m68k-lynxos, sparc-lynxos
2612 and vax-vms.
2613
ca3bc58f
JB
26142005-01-31 Jan Beulich <jbeulich@novell.com>
2615
2616 * macro.c (buffer_and_nest): Allow 'from' being NULL; handle anything
2617 that can end with .endr in that case. Make requiring/permitting
2618 pseudo-ops without leading dot closer to the logic in read.c serving
2619 the same purpose.
2620 (expand_irp): Don't pass a mnemonic to buffer_and_nest as it will be
2621 ignored.
2622
057f53c1
JB
26232005-01-31 Jan Beulich <jbeulich@novell.com>
2624
2625 * macro.c (do_formals): Adjust to no longer accept empty parameter
2626 names.
2627 (define_macro): Adjust to no longer accept empty macro name, garbage
2628 following the parameters, or macros that were previously defined.
2629 * read.c (s_bad_end): Declare.
2630 (potable): Add endm. Handler for endr and endm is s_bad_end.
2631 (s_bad_end): Rename from s_bad_endr. Adjust to handle both .endm
2632 and .endr.
2633 * read.h (s_bad_endr): Remove.
2634
d3156ecc
JB
26352005-01-31 Jan Beulich <jbeulich@novell.com>
2636
2637 * config/tc-ia64.c (parse_operands): Parse all specified operands,
2638 immediately discarding (but counting) those exceeding the maximum
2639 possible amount. Track whether output and input operand counts ever
2640 matched, and use this to better indicate which of the operands/
2641 operand types was wrong; specifically don't default to pointing to
2642 the first operand.
2643
75e09913
JB
26442005-01-31 Jan Beulich <jbeulich@novell.com>
2645
2646 * config/tc-ia64.c (unwind): Remove proc_end (now an automatic
2647 variable in dot_endp). Add body and insn. Make prologue,
2648 prologue_mask, body, and insn bitfields.
2649 (fixup_unw_records): Remove spurious new-lines from end of diagnostic
2650 messages.
2651 (in_procedure, in_prologue, in_body): New.
2652 (dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
2653 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
2654 dot_unwentry, dot_altrp, dot_savemem, dot_saveg, dot_savef, dot_saveb,
2655 dot_savegf, dot_spill, dot_spillreg, dot_spillmem, dot_spillreg_p,
2656 dot_spillmem_p, dot_label_state, dot_copy_state, dot_unwabi,
2657 dot_personality): Use the appropriate one of the above.
2658 (dot_proc): Clear unwind.proc_start; set to current location only if
2659 none of the entry points were valid. Check for non-zero-length entry
2660 point names. Check that entry points aren't defined, yet. Clear
2661 unwind.prologue, unwind.body, and unwind.insn.
2662 (dot_body): Call in_procedure. Check that first directive in procedure
2663 had no insns emitted before. Set unwind.body.
2664 (dot_prologue): Call in_procedure. Check that not already in prologue.
2665 Check that first directive in procedure had no insns emitted before.
2666 Clear unwind.body.
2667 (dot_endp): Call in_procedure. Declare proc_end. Check for non-zero-
2668 length entry point names. Check that entry points became defined.
2669 (md_assemble): Set unwind.insn once unwind.proc_start is defined.
2670
f4660e2c
JB
26712005-01-31 Jan Beulich <jbeulich@novell.com>
2672
2673 * config/tc-ia64.c (emit_one_bundle): Snapshot manual bundling state
2674 before actually using it. Don't generate an error in manual bundling
2675 mode when looking at an insn requiring slot 2 but not yet at slot 2.
2676 Don't generate an error in manual bundling mode when looking at an
2677 insn required to be last in its group but the required slot hasn't
2678 been reached, yet. Allow conversion from MII to MI;I for bundle
2679 consisting of only 2 insns with the stop between them. Suppress
2680 various meaningless errors resulting from detecting earlier ones.
2681
60b9a617
JB
26822005-01-31 Jan Beulich <jbeulich@novell.com>
2683
2684 * config/tc-ia64.c (parse_operands): Also handle alloc without first
2685 input being ar.pfs.
2686
7af0dfc7
CG
26872005-01-28 Christian Groessler <chris@groessler.org>
2688
2689 * config/tc-z8k.c (md_assemble): Improve error detection.
2690
f7e323d5
JB
26912005-01-28 Jan Beulich <jbeulich@novell.com>
2692
2693 * config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space
2694 for personality routine pointer only if there is one.
2695 (ia64_convert_frag): Likewise.
2696 (generate_unwind_image): Likewise.
2697
f87a1e0c
CG
26982005-01-27 Christian Groessler <chris@groessler.org>
2699
2700 * config/tc-z8k.c (INSERT): Remove, not used anywhere.
2701 (md_apply_fix3): Make relative branches out of range an error
2702 instead of a warning. Display correct line number for out of
2703 range branches/calls/memory accesses.
2704
c6cb92c5
NS
27052005-01-27 Nathan Sidwell <nathan@codesourcery.com>
2706
2707 * dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
2708 to emit .debug_line and other debug sections.
2709 * as.h (seg_not_empty_p): Declare.
2710 * subsegs.c (seg_not_empty_p): New predicate.
2711
e8093792
AC
27122005-01-27 Andrew Cagney <cagney@gnu.org>
2713
2714 * configure: Regenerate to track ../gettext.m4 change.
2715
09124b3f
JB
27162005-01-27 Jan Beulich <jbeulich@novell.com>
2717
2718 * config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".
2719
27202005-01-27 Jan Beulich <jbeulich@novell.com>
97762d08
JB
2721
2722 * config/tc-ia64.c (emit_one_bundle): Add late resolution of move
2723 to/from application registers dynamic insns.
2724 (md_assemble): Defer resolution of move to/from application registers
2725 dynamic insns when they can be issued on either the I- or M-units.
2726
90219bd0
AO
27272005-01-25 Alexandre Oliva <aoliva@redhat.com>
2728
2729 * config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such.
2730 2004-12-10 Alexandre Oliva <aoliva@redhat.com>
2731 * config/tc-frv.c (frv_pic_ptr): Add tlsmoff support.
2732 2004-11-10 Alexandre Oliva <aoliva@redhat.com>
2733 * cgen.c (gas_cgen_parse_operand): Handle
2734 CGEN_PARSE_OPERAND_SYMBOLIC.
2735 * config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations.
2736 (frv_force_relocation): Likewise. Fix handling of PIC
2737 relocations.
2738 (md_apply_fix3): Likewise.
2739
59c871b4
BE
27402005-01-21 Ben Elliston <bje@au.ibm.com>
2741
2742 * as.h: Remove #if 0'd code.
2743 * atof-generic.c (atof_generic): Likewise.
2744 * ecoff.c (ecoff_directive_frame): Likewise.
2745 * frags.h (FRAG_APPEND_1_CHAR): Likewise.
2746 * itbl-ops.c (itbl_add_reg): Likewise.
2747 * listing.c (calc_hex): Likewise.
2748 * read.c (MASK_CHAR): Likewise.
2749 * subsegs.c (subsegs_print_statistics): Likewise.
2750 * symbols.c (indent): Likewise.
2751 * write.c (write_relocs): Likewise.
2752 (write_object_file): Likewise.
2753 (relax_frag): Likewise.
2754
fb767913
NC
27552005-01-20 Nick Clifton <nickc@redhat.com>
2756
2757 * as.c (std_longopts): Add an entry for "--a" in order to prevent
2758 getopt_long_only() from considering -a as an abbreviation for
2759 --alternate.
2760 (parse_args): Fix the parsing of -a=<file>.
2761
c556cc9c
AM
27622005-01-20 Alan Modra <amodra@bigpond.net.au>
2763
2764 PR gas/684
2765 * read.c (s_incbin): Adjust default count for skip. Check validity
2766 of count and skip rigorously.
2767
9c6ed8e6
FF
27682005-01-19 Fred Fish <fnf@specifixinc.com>
2769
2770 * config/tc-mips.c (dummy_opcode): Add init for new struct member.
2771
e5604d79
RS
27722005-01-19 Richard Sandiford <rsandifo@redhat.com>
2773
2774 * read.c (convert_to_bignum): New function, split out from...
2775 (emit_expr): ...here. Handle the case where X_add_number is
2776 positive and the input value is negative.
2777 (output_big_sleb128): Fix setting of continuation bit. Check whether
2778 the final byte needs to be sign-extended. Fix size-shrinking loop.
2779 (emit_leb128_expr): When generating a signed leb128, see whether the
2780 sign of an O_constant's X_add_number matches the sign of the input
2781 value. Use a bignum if not.
2782
e38bc3b5
NC
27832005-01-17 Andrew Stubbs <andrew.stubbs@st.com>
2784
2785 * tc-sh.c (md_begin,md_parse_option): Change arch_sh1_up to
2786 arch_sh_up in order to match the external name and make the
2787 testsuite's job easier.
2788
df227444
L
27892005-01-14 H.J. Lu <hongjiu.lu@intel.com>
2790
4df6ce47 2791 PR 659
df227444
L
2792 * config/tc-i386.c (i386_scale): Disallow 0 scale.
2793
b8b80cf7
NC
27942005-01-12 Nick Clifton <nickc@redhat.com>
2795
2796 * config/tc-iq2000.c (s_iq2000_set): Fix thinko parsing
2797 ignored_arguments array.
2798
324007b9
L
27992005-01-10 H.J. Lu <hongjiu.lu@intel.com>
2800
2801 * write.c (write_object_file): Disallow a symbol equated to
2802 common symbol.
2803
5c4504f7
NC
28042005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com>
2805
2806 * tc-maxq.c: Replace constants 10 and 20 with bfd_mach_maxq10 and
2807 bfd_mach_maxq20.
2808 (md_pseudo_table): Add new pseudo ops for maxq10 and maxq20.
2809 (maxq_target): New function: Set the machine type.
2810
4e7fd91e
PB
28112005-01-06 Paul Brook <paul@codesourcery.com>
2812
2813 * config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
2814 (md_begin): Handle TE_VXWORKS for FP defaults.
2815 (md_apply_fix3): Correct rela offsets.
2816 (elf32_arm_target_format): Add VxWorks targets.
2817
ea3eed15
PB
28182005-01-06 Paul Brook <paul@codesourcery.com>
2819
2820 * configure.tgt: Set em=vxworks for *-*-vxworks.
2821 * config/te-vxworks.h: New File.
2822
5dc1606f
PB
28232005-01-06 Paul Brook <paul@codesourcery.com>
2824
2825 * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
2826
18af0b39
NC
28272005-01-04 Dmitry Diky <diwil@spec.ru>
2828
2829 * config/tc-msp430.c (md_apply_fix3): Fix offset calculation for
2830 global label.
2831
196e8040
JW
28322005-01-03 David Mosberger <davidm@hpl.hp.com>
2833
2834 * config/tc-ia64.c (md): Add member "loc_directive_seen".
2835 (dot_loc): New function.
2836 (md_pseudo_table): Add entry to map .loc to dot_loc().
2837 (emit_one_bundle): Only call dwarf2_gen_line_info() if we have
2838 seen a .loc directive or we're generating DWARF2 debug info for
2839 assembly source.
2840
a207757e
AM
28412004-12-29 Alan Modra <amodra@bigpond.net.au>
2842
2843 PR gas/619
2844 * read.c (s_comm_internal): Don't zero end of name until size
2845 expression has been parsed.
2846
71d7ecf2
MM
28472004-12-25 Marek Michalkiewicz <marekm@amelek.gda.pl>
2848
2849 * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
2850
30c62922
TL
28512004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
2852
2853 * config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch'
2854 case).
2855
14ee9f48
ILT
28562004-12-22 Ian Lance Taylor <ian@airs.com>
2857
2858 * configure.tgt: New.
2859 * configure.in: Move setting of cpu_type, fmt, etc., to
2860 configure.tgt.
2861 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
2862 $(srcdir)/configure.tgt.
2863 * configure, Makefile.in: Rebuild.
2864
750bce0e 28652004-12-22 Klaus Rudolph <lts-rudolph@gmx.de>
4df6ce47 2866
750bce0e
NC
2867 * config/tc-avr.c: Add support for the new R_AVR_LDI, R_AVR_6 and
2868 R_AVR_6_ADIW relocs for the LDI, ADIW/SBIW and LDD/STD
2869 instructions.
2870 (avr_offset_expression): New function to parse offsets for LDI
2871 instructions.
2872 (avr_operand): Use it.
2873 (md_apply_fix3): Generate the relocs.
2874
9d2be1ee
JR
28752004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
2876
2877 * config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
2878 BFD_RELOC_SH_IMMS10BY8 relocation.
2879
2880 * config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
2881 than just ignoring bad code.
2882
1e50d24d
RS
28832004-12-16 Richard Sandiford <rsandifo@redhat.com>
2884
2885 * config/tc-v850.c (handle_lo16): New function.
2886 (v850_reloc_prefix): Use it to check lo().
2887 (md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET.
2888
2fbd2a87
NC
28892004-12-14 P.J. Darcy <darcypj@us.ibm.com>
2890
2891 * configure.in: Add s390x-ibm-tpf support.
2892 * configure: Regenerate.
2893
7a6d0b32
JB
28942004-12-15 Jan Beulich <jbeulich@novell.com>
2895
2896 * config/obj-elf.c (obj_elf_change_section): Only set type and
2897 attributes on new sections. Emit warning when type of re-declared
2898 section doesn't match.
2899
5b9d23c6
JB
29002004-12-15 Jan Beulich <jbeulich@novell.com>
2901
2902 * dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so
2903 '.cfi_startproc simple' doesn't inherit the old value.
2904
dcb45a06
JB
29052004-12-15 Jan Beulich <jbeulich@novell.com>
2906
2907 * dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation
2908 to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf
2909 generation to emit a factored offset.
2910
aa6975fb
ILT
29112004-12-10 Ian Lance Taylor <ian@wasabisystems.com>
2912
6943caf0
ILT
2913 * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset
2914 which is too large in the case of NO_PIC without 64-bit
2915 addresses.
2916
aa6975fb
ILT
2917 * config/tc-mips.c (mips_in_shared): New static variable.
2918 (macro_build_lui): Permit "_gp" if !mips_in_shared.
2919 (md_longopts): Add -mshared and -mno-shared.
2920 (md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED.
2921 (s_cpload): Implement !mips_in_shared case.
2922 (s_cpsetup): Likewise.
2923 * doc/c-mips.texi (MIPS Opts): Document -mno-shared.
2924 * NEWS: Mention -mno-shared.
2925
be1b2b4b
PB
29262004-12-09 Paul Brook <paul@codesourcery.com>
2927
2928 * config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
2929 for function start.
2930
9a92f48d
ILT
29312004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
2932
dd22970f
ILT
2933 * config/tc-mips.c (append_insn): If we emit a nop during a relax
2934 sequence, increase the size of the sequence.
2935
9a92f48d
ILT
2936 * config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to
2937 use CPU_RM9000.
2938
b617dc20
BE
29392004-12-07 Ben Elliston <bje@gnu.org>
2940
2941 * read.c (s_align): Use an align_limit temporary to allay a GCC
2942 signed/unsigned comparison warning.
2943
c820d418
MM
29442004-12-01 Mark Mitchell <mark@codesourcery.com>
2945
2946 * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
2947 * configure.in: Use it for arm*-*-linux-gnueabi*.
2948 * config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
2949 * config/te-armlinuxeabi.h: New file.
2950 * Makefile.in: Regenerated.
2951 * aclocal.m4: Likewise.
2952 * configure: Likewise.
4df6ce47 2953 * doc/Makefile.in: Regenerated.
c820d418 2954
2b0210eb
BW
29552004-12-02 Bob Wilson <bob.wilson@acm.org>
2956
2957 * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
2958 (xtensa_restore_emit_state): Likewise.
2959
9ebd302d
AM
29602004-12-02 Alan Modra <amodra@bigpond.net.au>
2961
2962 * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.
2963 (s_align): Use it.
2964
32118081
NC
29652004-11-30 Tero Niemela <tero_niemela@yahoo.com>
2966
2967 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
2968 * Makefile.in: Regenerate.
2969
3f414718
TL
29702004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
2971
9ebd302d
AM
2972 * config/tc-crx.c: Major code cleanup. Remove unused variables and
2973 functions, give functions a meaningful name, add comments.
2974 (check_range): New function - Replace operand size calculation
3f414718
TL
2975 with range checking.
2976 (assemble_insn): Update Algorithm, improve error issuing.
9ebd302d 2977 (enum op_err): New.
3f414718
TL
2978 (process_label_constant): Bug fix regarding COP_BRANCH_INS relocation
2979 handling.
2980
a7498ae6
NC
29812004-11-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2982
2983 * config/tc-m32r.c (md_pcrel_from_section): Fixed a pcrel relocte
2984 miss between different section in the same module.
2985 (tc_gen_reloc): Likewise.
2986
5c54fd37
NC
29872004-11-25 Theodore A. Roth <troth@openavr.org>
2988
2989 * gas/config/tc-avr.c (mcu_types): Add support for atmega165,
2990 atmega325, atmega3250, atmega645 and atmega6450.
2991
37edbb65
JB
29922004-11-25 Jan Beulich <jbeulich@novell.com>
2993
2994 * config/tc-i386.c (optimize_imm): Adjust immediates to only those
2995 permissible for the selected instruction suffix.
2996 (process_suffix): For DefaultSize instructions, suppressing the
2997 guessing of a 'q' suffix if the instruction doesn't support it is
2998 pointless, because only an 'l' suffix can be guessed in this place.
2999
5515a510
NC
30002004-11-24 Nick Clifton <nickc@redhat.com>
3001
3002 * config/tc-iq2000.c: Remove support for IQ10 processor.
3003 Convert to ISO C90 formatting.
3004 * config/tc-iq2000.h: Likewise.
3005
dae1b34e
NC
30062004-11-23 Nick Clifton <nickc@redhat.com>
3007
3008 * config/tc-mn10300.c (md_relax_table): More fixes to the offsets
3009 in this table. They should be correct now.
3010
5c6af06e
JB
30112004-11-23 Jan Beulich <jbeulich@novell.com>
3012
3013 * config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to
3014 indicate the MMX extensions added by both SSE and 3DNow!A.
3015 (Cpu3dnowA): Declare.
3016 (CpuUnknownFlags): Update.
3017 * config/tc-i386.c (cpu_sub_arch_name): Declare.
3018 (cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do
3019 neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies
3020 3DNow!. Athlon additionally implies 3DNow!A. Several new
3021 entries (those starting with a dot are for sub-arch specification).
3022 (set_cpu_arch): Handle sub-arch specifications.
3023 (parse_insn): Distinguish between instructions not supported because
3024 of insufficient CPU features and because of 64-bit mode.
3025 * doc/c-i386.texi: Describe enhanced .arch directive.
3026
d9740523
BW
30272004-11-22 Bob Wilson <bob.wilson@acm.org>
3028
3029 * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow.
3030
3120ef82
BW
30312004-11-22 Bob Wilson <bob.wilson@acm.org>
3032
3033 * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section
3034 without a corresponding .debug_info section.
3035
d190d046
HPN
30362004-11-22 Hans-Peter Nilsson <hp@axis.com>
3037
3038 * read.c (potable): Add "error" and "warning".
3039 (s_errwarn): New function.
3040 * read.h (s_errwarn): Declare.
3041 * doc/as.texinfo (Error, Warning): Document .error and .warning.
3042
5519f6ea
NC
30432004-11-22 Nick Clifton <nickc@redhat.com>
3044
3045 * config/tc-tic54x.c (tic54x_adjust_symtab): Adjust call to
3046 c_dot_file_symbol.
3047
f5c7edf4
AM
30482004-11-19 Alan Modra <amodra@bigpond.net.au>
3049
3050 * config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes,
3051 struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h.
3052
a4528eeb
AM
30532004-11-19 Alan Modra <amodra@bigpond.net.au>
3054
3055 * config/obj-coff.c (c_dot_file_symbol): Add "app" param.
3056 (coff_adjust_symtab): Adjust call.
3057 (crawl_symbols): Likewise.
3058 * config/obj-coff.h (c_dot_file_symbol): Add "app" param.
3059 (obj_app_file): Adjust.
3060
444bf5f3
NC
30612004-11-18 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
3062
3063 * configure.in: Enable bfd_assember for the MAXQ port.
3064 * configure: Regenerate.
3065
a1ace8d8 30662004-11-12 Bob Wilson <bob.wilson@acm.org>
88ac794e 3067 Sterling Augustine <sterling@tensilica.com>
a1ace8d8
BW
3068
3069 * config/tc-xtensa.c (finish_vinsn): Clear pending instruction if
3070 there is a conflict.
3071 (check_t1_t2_reads_and_writes): Check for both reads and writes to
3072 interfaces that are related as determined by xtensa_interface_class_id.
3073
30e857fc
NC
30742004-11-12 Nick Clifton <nickc@redhat.com>
3075
3076 * config/tc-mn10300.c (md_relax_table): Fix off by one negative
3077 offsets for conditional branches.
3078
a67517f4
BW
30792004-11-11 Bob Wilson <bob.wilson@acm.org>
3080
3081 * config/tc-xtensa.c (MAX_IMMED6): Change value to 65.
3082
1d19a770
BW
30832004-11-10 Bob Wilson <bob.wilson@acm.org>
3084
3085 * config/tc-xtensa.c (update_next_frag_state): Always add a NOP if
3086 relaxing at the end of a loop. Don't mark frags as UNREACHABLE or
3087 MAYBE_UNREACHABLE.
3088 (relax_frag_immed): Update call to update_next_frag_state.
3089
c04f5787
AM
30902004-11-10 Alan Modra <amodra@bigpond.net.au>
3091
3092 * obj.h (struct format_ops <app_file>): Add int param.
3093 * read.h (s_app_file_string): Likewise.
3094 * read.c (s_app_file_string): Likewise.
3095 (s_app_file): Adjust s_app_file_string call.
3096 * config/tc-mips.c (s_mips_file): Likewise.
3097 * config/obj-coff.h (obj_app_file): Add app param.
3098 * config/obj-ecoff.h (obj_app_file): Likewise.
3099 * config/obj-multi.h (obj_app_file): Likewise.
3100 * config/obj-elf.h (elf_file_symbol): Likewise.
3101 * config/obj-elf.c (elf_file_symbol): Only emit one file symbol
3102 if called for # preprocessor lines.
3103
a77a9021
L
31042004-11-08 H.J. Lu <hongjiu.lu@intel.com>
3105
3106 PR 528
3107 * symbols.c (resolve_symbol_value): Convert weak symbols only
3108 for Windows PECOFF.
3109 (symbol_equated_reloc_p): Don't equate weaks when relocating
3110 only for Windows PECOFF.
3111
aea44f62
TL
31122004-11-08 Tomer Levi <Tomer.Levi@nsc.com>
3113
3114 * config/tc-crx.c (print_insn): Check and set insn_addr.
3115 * config/tc-crx.h (md_frag_check): Define.
3116
7499d566
NC
31172004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
3118 Vineet Sharma <vineets@noida.hcltech.com>
3119
3120 * configure.in: Add support for new target maxq-coff.
3121 * configure: Regenerate.
3122 * NEWS: Mention new support.
3123 * config/tc-maxq.c: New file.
3124 * config/tc-maxq.h: New file.
3125 * config/obj-coff.h: Add support for maxq-coff.
3126
977cdf5a
NC
31272004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
3128
3129 * symbols.c (any_external_name): Define.
a77a9021 3130 (resolve_symbol_value): Convert weak symbols.
977cdf5a
NC
3131 (S_SET_EXTERNAL): Support any_external_name.
3132 (S_SET_NAME): Qualify parameter const.
316f3bf8 3133 (symbol_equated_reloc_p): Equate to weaks when relocating.
977cdf5a
NC
3134 * symbols.h (S_SET_NAME): Qualfiy parameter const.
3135 * tc.h (any_external_name): Declare.
3136 * config/obj-coff.c ("coff/pe.h"): Include for BFD
3137 assemblers also.
3138 (weak_is_altname): Declare and define.
3139 (weak_name2altname): Same.
3140 (weak_altname2name): Same.
3141 (weak_uniquify): Same.
3142 (weak_altprefix): Define.
3143 (obj_coff_weak): Change .weak syntax and handling.
3144 (coff_frob_symbol): Fix PE weak symbol alternates.
3145 * config/obj-coff.h (USE_UNIQUE): Define.
3146 * config/tc-i386.c (md_apply_fix3): Assume weak symbols
3147 are in another segment.
3148 (tc_gen_reloc): Remove broken addend hack.
3149 doc/as.texinfo: Update.
3150
34e41783
BW
31512004-11-05 Sterling Augustine <sterling@tensilica.com>
3152
3153 * config/tc-xtensa.c (total_frag_text_expansion): New.
3154 (md_estimate_size_before_relax): Use it.
3155 (find_address_of_next_align_frag): Likewise.
3156
dcd46b4e
TL
31572004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
3158
3159 * config/tc-crx.c: Rename argument types.
3160 (processing_arg_number): Rename to 'cur_arg_num'.
3161 (get_number_of_bits): Rename to 'set_operand_size'.
3162 (get_operandtype): Rename to 'parse_operand', totally rewrite.
3163 (set_cons_rparams): Rename to 'set_operand', totally rewrite.
3164 (set_indexmode_parameters): Remove function, integrate its code into
3165 'set_operand'.
3166 (set_operand_size): Get rid of 'Operand Number' function parameter -
3167 use global variable 'cur_arg_num' instead.
3168 Use a local 'argument' pointer to reference the current argument.
3169 (parse_operand): Likewise.
3170 (set_operand): Likewise.
3171 (process_label_constant): Likewise.
3172
9456465c
BW
31732004-11-04 Bob Wilson <bob.wilson@acm.org>
3174
3175 * config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs.
3176 (add_section_rename): Delete. Inlined into...
3177 (build_section_rename): ...here. Use xstrdup instead of strdup.
3178 (xtensa_section_rename): Drop "const" from argument and return types.
3179 (md_show_usage): Indent to match show_usage().
3180 * config/tc-xtensa.h: Remove XTENSA_SECTION_RENAME ifdefs.
3181 (tc_canonicalize_section_name): Define.
3182 (md_elf_section_rename): Remove unused macro.
3183 * doc/as.texinfo (Overview): Document Xtensa --rename-section option.
3184 * doc/c-xtensa.texi (Xtensa Options): Likewise.
3185 (Frame Directive): Delete.
3186
7f266840
DJ
31872004-11-04 Daniel Jacobowitz <dan@debian.org>
3188
3189 * configure.in: Remove arm-*-oabi and thumb-*-oabi.
3190 * config/tc-arm.c (target_oabi): Delete.
3191 (md_apply_fix3, elf32_arm_target_format): Remove target_oabi checks.
3192 (arm_opts): Remove moabi.
3193 * doc/as.texinfo (Overview): Remove documentation of -moabi.
3194 * doc/c-arm.texi (ARM Options): Likewise.
3195 * configure: Regenerated.
3196
ae57792d
HPN
31972004-11-04 Hans-Peter Nilsson <hp@axis.com>
3198
3199 * configure.in (crisv32): Recognize. AC_DEFINE_UNQUOTED
3200 DEFAULT_CRIS_ARCH. Handle crisv32-*-linux-gnu* like
3201 cris-*-linux-gnu* and crisv32-*-* like cris-*-*.
3202 * configure: Regenerate.
3203 * config/tc-cris.c (enum cris_archs): New.
3204 (cris_mach, cris_arch_from_string, s_cris_arch, get_sup_reg)
3205 (cris_insn_ver_valid_for_arch): New functions.
3206 (DEFAULT_CRIS_ARCH): New macro, default to cris_any_v0_v10.
3207 (cris_arch): New variable.
3208 (md_pseudo_table): New pseudo .arch.
3209 (err_for_dangerous_mul_placement): Initialize according to
3210 DEFAULT_CRIS_ARCH.
3211 (STATE_COND_BRANCH): Renamed from STATE_CONDITIONAL_BRANCH.
3212 All users changed.
3213 (STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON)
3214 (STATE_ABS_BRANCH_V32, STATE_LAPC, BRANCH_BF_V32, BRANCH_BB_V32)
3215 (BRANCH_WF_V32, BRANCH_WB_V32): New.
3216 (BRANCH_BF, BRANCH_BB, BRANCH_WF, BRANCH_WB): Don't undef after
3217 use in md_cris_relax_table.
3218 (md_cris_relax_table): Add entries for STATE_COND_BRANCH_V32,
3219 STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
3220 Update and improve head comment.
3221 (OPTION_PIC): Define in terms of previous option, OPTION_US.
3222 (OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): Similar.
3223 (OPTION_ARCH): New.
3224 (md_longopts): New option --march=...
3225 (cris_any_v0_v10_long_jump_size, crisv32_long_jump_size): New
3226 macros.
3227 (md_long_jump_size): Initialize in terms of DEFAULT_CRIS_ARCH.
3228 (HANDLE_RELAXABLE): New macro.
3229 (md_estimate_size_before_relax): Use HANDLE_RELAXABLE for common
3230 cases. Check for weak symbols and assume not relaxable. Handle
3231 STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON,
3232 STATE_ABS_BRANCH_V32, STATE_LAPC. Use new variable symbolP, not
3233 fragP->fr_symbol.
3234 (md_convert_frag): Handle STATE_COND_BRANCH_V32,
3235 STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
3236 (cris_create_short_jump): Adjust for CRISv32.
5664e9a7 3237 (cris_relax_frag): Handle new states.
ae57792d
HPN
3238 (md_create_long_jump): Ditto. Emit error for common_v10_v32.
3239 (md_begin): Define symbols "..asm.arch.cris.v32",
3240 "..asm.arch.cris.v10", "..asm.arch.cris.common_v10_v32" and
3241 "..asm.arch.cris.any_v0_v10". Use cris_insn_ver_valid_for_arch
3242 when entering opcode table entry points.
3243 (md_assemble): Adjust branch handling for CRISv32. Handle LAPC
3244 relaxation. In fix_new_exp call for main insn, pass 1 for pcrel
3245 parameter for 8, 16 and 32-bit pc-relative insns and LAPC.
3246 (cris_process_instruction): Initialize out_insnp->insn_type to
3247 CRIS_INSN_NONE, not CRIS_INSN_NORMAL.
3248 <case ']', '[', 'A', 'd', 'Q', 'N', 'n', 'Y', 'U', 'u', 'T'>: New
3249 cases.
3250 <case 'm'>: Check that modified_char == '.'.
3251 <invalid operands>: Consume the rest of the line.
3252 When operands don't match, skip over subsequent insns with
3253 non-matching version specifier but same mnemonic.
3254 <immediate constant, case SIZE_SPEC_REG>: Immediate operands for
3255 special registers in CRISv32 are always 32 bit long.
3256 <immediate constant, case SIZE_FIELD_SIGNED, SIZE_FIELD_UNSIGNED>:
3257 New cases.
3258 (get_gen_reg): Only recognize "PC" when followed by "+]" for v32
3259 and compatible. Recognize "ACR" for v32, unless followed by "+".
3260 (get_spec_reg): Consider cris_arch when looking up register.
3261 (get_autoinc_prefix_or_indir_op): Don't recognize assignment for
3262 v32 or compatible.
3263 (get_3op_or_dip_prefix_op): Check for ']' after seeing '[rN+'.
3264 (cris_get_expression): Restore input_line_pointer if failing "early".
3265 (get_flags): Consider cris_arch and recognize flags accordingly.
3266 (branch_disp): Adjust for CRISv32.
3267 (gen_cond_branch_32): Similar. Emit error for common_v10_v32.
3268 (cris_number_to_imm): Use as_bad_where, not as_bad. Remove
3269 related FIXME. Don't insist on BFD_RELOC_32_PCREL fixup to be
3270 resolved. Don't enter zeros in object file for
3271 BFD_RELOC_32_PCREL.
3272 <case BFD_RELOC_CRIS_LAPCQ_OFFSET, BFD_RELOC_CRIS_SIGNED_16>
3273 <case BFD_RELOC_CRIS_SIGNED_8>: New case.
3274 (md_parse_option): Break out "return 1".
3275 <OPTION_ARCH> New case.
3276 (tc_gen_reloc): <case BFD_RELOC_CRIS_LAPCQ_OFFSET>
3277 <case BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_SIGNED_8>
3278 <case BFD_RELOC_CRIS_UNSIGNED_8, BFD_RELOC_CRIS_UNSIGNED_16>
3279 <case BFD_RELOC_32_PCREL>: New cases.
3280 Addends for non-zero fx_pcrel are too in fx_offset.
3281 (md_show_usage): Show --march=<arch>.
3282 (md_apply_fix3): Adjust val for BFD_RELOC_CRIS_LAPCQ_OFFSET.
3283 (md_pcrel_from): BFD_RELOC_CRIS_LAPCQ_OFFSET is PC-relative too.
3284 (s_syntax) <struct syntaxes>: Properly constify member operand.
3285 * config/tc-cris.h (TARGET_MACH): Define.
3286 (cris_mach): Declare.
3287 * doc/as.texinfo (Overview) <CRIS>: Add --march=...
3288 * doc/c-cris.texi (CRIS-Symbols): New node for built-in symbols.
3289 (CRIS-Opts): Document --march=...
3290 (CRIS-Pseudos): Document .arch.
3291
9306ca4a
JB
32922004-11-04 Jan Beulich <jbeulich@novell.com>
3293
3294 * config/tc-i386.c (set_intel_syntax): Allow % in symbol names when
3295 intel syntax and no register prefix, allow $ in symbol names when
3296 intel syntax.
3297 (set_16bit_gcc_code_flag): Replace literal 'l' by LONG_MNEM_SUFFIX.
3298 (intel_float_operand): Add fourth return value indicating math control
3299 operations. Make classification more precise.
3300 (md_assemble): Complain if memory operand of mov[sz]x has no size
3301 specified.
3302 (parse_insn): Translate word operands to floating point instructions
3303 operating on integers as well as control instructions to short ones
3304 as expected by AT&T syntax. Translate 'd' suffix to short one only for
3305 floating point instructions operating on non-integer operands.
3306 (match_template): Remove fldcw special case. Adjust q-suffix handling
3307 to permit it on fild/fistp/fisttp in AT&T mode.
3308 (process_suffix): Don't guess DefaultSize insns' suffix from
3309 stackop_size for certain floating point control instructions. Guess
3310 suffix for branch and [ls][gi]dt based on flag_code. Split error
3311 messages for Intel and AT&T syntax, and make the condition more strict
3312 for the former. Adjust suppressing of generation of operand size
3313 overrides.
3314 (intel parser): Allow the full set of MASM operators. Add FWORD, TBYTE,
3315 OWORD, and XMMWORD operand size specifiers (TBYTE replaces XWORD). Add
3316 more error checking.
3317 * config/tc-i386.h (BYTE_PTR WORD_PTR DWORD_PTR QWORD_PTR XWORD_PTR
3318 SHORT OFFSET_FLAT FLAT NONE_FOUND): Remove unused defines.
3319
2b4f075a
HPN
33202004-11-03 Hans-Peter Nilsson <hp@axis.com>
3321
3322 * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare
3323 md_short_jump_size, md_long_jump_size.
3324 * write.c [!WORKING_DOT_WORD]: Ditto.
3325 * tc.h [!WORKING_DOT_WORD]: Declare them here. Drop const
3326 qualifier.
3327 * config/tc-cris.h (md_short_jump_size, md_long_jump_size): Don't
3328 declare.
3329 * config/tc-cris.c (md_short_jump_size, md_long_jump_size): Drop
3330 const qualifier in these definitions.
3331 * config/tc-i370.c, config/tc-m68k.c, config/tc-pdp11.c,
3332 config/tc-s390.c, config/tc-tahoe.c, config/tc-vax.c: Ditto.
3333
ddbc47ac
NC
33342004-11-02 Nick Clifton <nickc@redhat.com>
3335
3336 * dwarf2dbg.c (dwarf2_finish): Check for the existence of a file
3337 table before deciding to produce a .debug_line section to match up
3338 with a user provided .debug_info section.
3339
3ad3f5ad
TL
33402004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
3341
3342 * config/tc-crx.c (getreg_image): Bug fix, a return value was
3343 mistakenly omitted from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.
3344
c815a616
TL
33452004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
3346
3347 * config/tc-crx.c: Remove global variable 'post_inc_mode'.
3348 (get_flags): New function.
c04f5787
AM
3349 (get_number_of_bits): Edit comments, update numeric values to
3350 supported sizes.
3351 (process_label_constant): Don't support the colon
3352 format (SYMBOL:[s|m|l]).
c815a616
TL
3353 (set_cons_rparams): Support argument type 'arg_rbase'.
3354 (get_operandtype): Bug fix in 'rbase' operand type parsing.
3355 (handle_LoadStor): Bug fix, first handle post-increment mode.
c04f5787
AM
3356 (getreg_image): Remove redundant code, update according to latest
3357 CRX spec.
c815a616 3358 (print_constant): Bug fix relate to 3-word instructions.
c04f5787 3359 (assemble_insn): Bug fix, when matching instructions, verify also
c815a616
TL
3360 instruction type (not only mnemonic).
3361 Add various error checking.
3362 (preprocess_reglist): Support HI/LO and user registers.
3363
ed7af9f9
L
33642004-10-25 David Mosberger-Tang <davidm@hpl.hp.com>
3365
c04f5787 3366 * config/tc-ia64.c (fixup_unw_records): Don't let the "t" value
ed7af9f9
L
3367 in an epilogue directive go negative.
3368
ac025970
L
33692004-10-25 H.J. Lu <hongjiu.lu@intel.com>
3370
3371 PR 474
3372 * config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use
3373 after reporting template error during manual bundling. Reported
3374 by Michael Dupont, michaelx.dupont@intel.com.
3375
a394c00f
NC
33762004-10-25 Daniel Jacobowitz <dan@debian.org>
3377
3378 * Makefile.am: Run dep-am.
3379 * aclocal.m4: Regenerate with automake 1.9.2.
3380 * Makefile.in: Regenerate with automake 1.9.2.
3381 * doc/Makefile.in: Likewise.
3382
3383 * config/tc-arm.c: Include "dw2gencfi.h".
3384 (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions):
3385 New functions.
3386 * config/tc-arm.h (TARGET_USE_CFIPOP, DWARF2_DEFAULT_RETURN_COLUMN)
3387 (DWARF2_CIE_DATA_ALIGNMENT, tc_regname_to_dw2regnum)
3388 (tc_cfi_frame_initial_instructions): Define.
3389 (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions):
3390 Add prototypes.
3391
23d83918
TL
33922004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
3393
3394 * config/tc-crx.c (assemble_insn): Check unsigned immediate
3395 operands validity.
3396 Update coprocessor id to be unsigned immediate.
3397
bb41ade5
AM
33982004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
3399
3400 * config/tc-i386.c (O_secrel): Delete.
3401 (tc_pe_dwarf2_emit_offset): New function.
3402 * config/tc-i386.h (O_secrel): Define as O_md1.
3403 (TC_DWARF2_EMIT_OFFSET): Define.
3404
87e62348
NC
34052004-10-18 Nick Clifton <nickc@redhat.com>
3406
3407 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Accept and
3408 ignore @fptr() directives for 4-byte fixups.
3409
3c55da70
AM
34102004-10-15 Alan Modra <amodra@bigpond.net.au>
3411
3412 * Makefile.am: Run "make dep-am"
3413 * Makefile.in: Regenerate.
3414
40e7b7b9
BW
34152004-10-14 Bob Wilson <bob.wilson@acm.org>
3416
3417 * doc/c-xtensa.texi (Xtensa Options, Absolute Literals Directive):
3418 Remove comments about placement of literal pools.
3419 (Literal Directive): Update description of literal placement.
3420 (Literal Prefix Directive): Remove statement that this does not apply
3421 to absolute-mode literals. Describe new section naming scheme.
3422
b08b5071
BW
34232004-10-12 Bob Wilson <bob.wilson@acm.org>
3424
3425 * config/tc-xtensa.c (xtensa_frequency_pseudo): Use set_subseg_freq.
3426 (is_entry_opcode, is_movi_opcode, is_the_loop_opcode, is_jx_opcode,
3427 is_windowed_return_opcode): Delete.
3428 (xtensa_frob_label): Use get_subseg_target_freq.
3429 (md_assemble): Inline call to is_entry_opcode.
3430 (xtensa_handle_align): Inline call to get_frag_is_literal.
3431 (relaxation_requirements): Inline call to is_jx_opcode.
3432 (emit_single_op): Inline call to is_movi_opcode.
3433 (xg_assemble_vliw_tokens): Inline calls to get_frag_is_insn,
3434 get_frag_is_no_transform, is_entry_opcode, and
3435 set_frag_is_specific_opcode. Use get_subseg_total_freq.
3436 (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags,
3437 xtensa_fix_close_loop_end_frags, relax_frag_immed, convert_frag_immed):
3438 Inline calls to get_frag_is_no_transform.
3439 (next_instrs_are_b_retw): Inline call to is_windowed_return_opcode.
3440 (xtensa_fix_short_loop_frags): Inline calls to is_the_loop_opcode and
3441 get_frag_is_no_transform.
3442 (convert_frag_immed_finish_loop): Inline calls to get_expression_value
3443 and set_frag_is_no_transform.
3444 (get_expression_value): Delete.
3445 (subseg_map struct): Rename cur_total_freq to total_freq. Rename
3446 cur_target_freq to target_freq.
3447 (get_subseg_info): Split out code to create a new map entry into ...
3448 (add_subseg_info): ... this new function.
3449 (get_last_insn_flags): Check if get_subseg_info succeeded.
3450 (set_last_insn_flags): Call add_subseg_info if needed.
3451 (get_subseg_total_freq, get_subseg_target_freq, set_subseg_freq): New.
3452 (xtensa_reorder_segments): Compute last_sec while counting sections.
3453 Remove call to get_last_sec.
3454 (get_last_sec): Delete.
3455 (cache_literal_section): Inline call to retrieve_literal_seg and its
3456 callees, seg_present and add_seg_list.
3457 (retrieve_literal_seg, seg_present, add_seg_list): Delete.
3458 (get_frag_is_insn, get_frag_is_no_transform,
3459 set_frag_is_specific_opcode, set_frag_is_no_transform): Delete.
3460 * config/tc-xtensa.h (MAX_SLOTS): Reduce from 31 to 15.
3461
7fa3d080
BW
34622004-10-12 Bob Wilson <bob.wilson@acm.org>
3463
3464 * config/tc-xtensa.c: Use ISO C90 formatting.
3465 * config/tc-xtensa.h: Likewise.
3466 * config/xtensa-istack.h: Likewise.
3467 * config/xtensa-relax.c: Likewise.
3468 * config/xtensa-relax.h: Likewise.
3469
8cb51566
PB
34702004-10-12 Paul Brook <paul@codesourcery.com>
3471
3472 * config/tc-arm.c (md_begin): Change EF_ARM_EABI_VER3 to
3473 EF_ARM_EABI_VER4.
3474 (arm_eabis): Ditto.
3475 * doc/c-arm.texi: Document that we actually support -meabi=4, not
3476 -meabi=3.
3477
653cfe85
BW
34782004-10-08 Bob Wilson <bob.wilson@acm.org>
3479
3480 * doc/as.texinfo (VTableEntry, VTableInherit): Add "directive" to index
3481 entries.
3482 (Acknowledgements): Use "GAS" instead of AS variable.
3483
d2b2c203
DJ
34842004-10-08 Daniel Jacobowitz <dan@debian.org>
3485
3486 * config/tc-i386.c: Include "elf/x86-64.h".
3487 (i386_elf_section_type): New function.
3488 * config/tc-i386.h (md_elf_section_type): Define.
3489 (i386_elf_section_type): New prototype.
3490
e80e0390
NC
34912004-10-08 Linus Nielsen Feltzing <linus@haxx.se>
3492
3493 * config/m68k-parse.h (enum m68k_register): New control register,
3494 MBAR2 (for MCF5249)
3495 * config/tc-m68k.c: Correct control register set for MCF5249.
3496
43cd72b9 34972004-10-07 Bob Wilson <bob.wilson@acm.org>
85a5ac80 3498 Sterling Augustine <sterling@tensilica.com>
43cd72b9
BW
3499
3500 * config/tc-xtensa.c (absolute_literals_supported): New global flag.
3501 (UNREACHABLE_MAX_WIDTH): Define.
3502 (XTENSA_FETCH_WIDTH): Delete.
3503 (cur_vinsn, xtensa_fetch_width, xt_saved_debug_type, past_xtensa_end,
3504 prefer_const16, prefer_l32r): New global variables.
3505 (LIT4_SECTION_NAME): Define.
3506 (lit4_state struct): Add lit4_seg_name and lit4_seg fields.
3507 (XTENSA_PROP_*, GET_XTENSA_PROP_*, SET_XTENSA_PROP_*): Define.
3508 (frag_flags struct): New.
c04f5787 3509 (xtensa_block_info struct): Move from tc-xtensa.h. Add flags field.
43cd72b9
BW
3510 (subseg_map struct): Add cur_total_freq and cur_target_freq fields.
3511 (bitfield, bit_is_set, set_bit, clear_bit): Define.
3512 (MAX_FORMATS): Define.
3513 (op_placement_info struct, op_placement_table): New.
3514 (O_pltrel, O_hi16, O_lo16): Define.
3515 (directiveE enum): Rename directive_generics to directive_transform.
3516 Delete directive_relax. Add directive_schedule,
3517 directive_absolute_literals, and directive_last_directive.
3518 (directive_info): Rename "generics" to "transform". Delete "relax".
3519 Add "schedule" and "absolute-literals".
3520 (directive_state): Adjust entries to match changes in directive_info.
3521 (xtensa_relax_statesE, RELAX_IMMED_MAXSTEPS): Move to tc-xtensa.h.
3522 (xtensa_const16_opcode, xtensa_movi_opcode, xtensa_movi_n_opcode,
3523 xtensa_l32r_opcode, xtensa_nop_opcode, xtensa_rsr_lcount_opcode): New.
3524 (xtensa_j_opcode, xtensa_rsr_opcode): Delete.
3525 (align_only_targets, software_a0_b_retw_interlock,
3526 software_avoid_b_j_loop_end, maybe_has_b_j_loop_end,
3527 software_avoid_short_loop, software_avoid_close_loop_end,
3528 software_avoid_all_short_loops, specific_opcode): Delete.
3529 (warn_unaligned_branch_targets): New.
3530 (workaround_a0_b_retw, workaround_b_j_loop_end, workaround_short_loop,
3531 workaround_close_loop_end, workaround_all_short_loops): Default FALSE.
3532 (option_[no_]link_relax, option_[no_]transform,
3533 option_[no_]absolute_literals, option_warn_unaligned_targets,
3534 option_prefer_l32r, option_prefer_const16, option_target_hardware):
3535 New enum values.
3536 (option_[no_]align_only_targets, option_literal_section_name,
3537 option_text_section_name, option_data_section_name,
3538 option_bss_section_name, option_eb, option_el): Delete.
3539 (md_longopts): Add entries for: [no-]transform, [no-]absolute-literals,
3540 warn-unaligned-targets, prefer-l32r, prefer-const16, [no-]link-relax,
3541 and target-hardware. Delete entries for [no-]target-align-only,
3542 literal-section-name, text-section-name, data-section-name, and
3543 bss-section-name.
3544 (md_parse_option): Handle new options and remove old ones. Accept but
3545 ignore [no-]density options. Warn for [no-]generics and [no-]relax
3546 and treat them as [no-]transform.
3547 (md_show_usage): Add new options and remove old ones.
3548 (xtensa_setup_hw_workarounds): New.
3549 (md_pseudo_table): Change "word" entry to use xtensa_elf_cons. Add
3550 "long", "short", "loc" and "frequency" entries.
3551 (use_generics): Rename to ...
3552 (use_transform): ... this function. Add past_xtensa_end check.
3553 (use_longcalls): Add past_xtensa_end check.
3554 (code_density_available, can_relax): Delete.
3555 (do_align_targets): New.
3556 (get_directive): Accept dashes in directive names. Warn about
3557 [no-]generics and [no-]relax directives and treat them as
c04f5787 3558 [no-]transform.
43cd72b9
BW
3559 (xtensa_begin_directive): Call md_flush_pending_output only for some
3560 directives. Check for directives inside instruction bundles. Warn
3561 about deprecated ".begin literal" usage. Warn and ignore [no-]density
3562 directives. Handle new directives. Check generating_literals flag
3563 for literal_prefix.
3564 (xtensa_end_directive): Check for directives inside instruction
3565 bundles. Warn and ignore [no-]density directives. Handle new
3566 directives. Call xtensa_set_frag_assembly_state.
3567 (xtensa_loc_directive_seen, xtensa_dwarf2_directive_loc,
3568 xtensa_dwarf2_emit_insn): New.
3569 (xtensa_literal_position): Call md_flush_pending_output. Do not check
3570 use_literal_section flag.
3571 (xtensa_literal_pseudo): Call md_flush_pending_output. Handle absolute
3572 literals. Use xtensa_elf_cons to parse the expression.
3573 (xtensa_literal_prefix): Do not check use_literal_section. Support
3574 ".lit4" sections for absolute literals. Change prefix convention to
3575 replace ".text" (or ".t" in a linkonce section). No need to call
3576 subseg_set.
3577 (xtensa_frequency_pseudo, xtensa_elf_cons, xtensa_elf_suffix): New.
3578 (expression_end): Handle closing braces and colons.
3579 (PLT_SUFFIX, plt_suffix): Delete.
3580 (expression_maybe_register): Use new xtensa-isa.h functions. Use
3581 xtensa_elf_suffix instead of checking for plt suffix, and handle O_lo16
3582 and O_hi16 expressions as well.
3583 (tokenize_arguments): Handle closing braces and colons.
3584 (parse_arguments): Use new xtensa-isa.h functions. Handle "invisible"
3585 operands and paired register syntax.
3586 (get_invisible_operands): New.
3587 (xg_translate_sysreg_op): Handle new Xtensa LX RSR/WSR/XSR syntax. Use
3588 new xtensa-isa.h functions.
3589 (xtensa_translate_old_userreg_ops, xtensa_translate_zero_immed): New.
3590 (xg_translate_idioms): Check if inside bundle. Use use_transform.
3591 Handle new Xtensa LX RSR/WSR/XSR syntax. Remove code to widen density
3592 instructions. Use xtensa_translate_zero_immed.
3593 (operand_is_immed, operand_is_pcrel_label): Delete.
3594 (get_relaxable_immed): Use new xtensa-isa.h functions.
3595 (get_opcode_from_buf): Add slot parameter. Use new xtensa-isa.h
3596 functions.
3597 (xtensa_print_insn_table, print_vliw_insn): New.
3598 (is_direct_call_opcode): Use new xtensa-isa.h functions.
3599 (is_call_opcode, is_loop_opcode, is_conditional_branch_opcode,
3600 is_branch_or_jump_opcode): Delete.
3601 (is_movi_opcode, decode_reloc, encode_reloc, encode_alt_reloc): New.
3602 (opnum_to_reloc, reloc_to_opnum): Delete.
3603 (xtensa_insnbuf_set_operand, xtensa_insnbuf_get_operand): Use new
3604 xtensa-isa.h functions. Operate on one slot of an instruction.
3605 (xtensa_insnbuf_set_immediate_field, is_negatable_branch,
3606 xg_get_insn_size): Delete.
3607 (xg_get_build_instr_size): Use xg_get_single_size.
3608 (xg_is_narrow_insn, xg_is_single_relaxable_insn): Update calls to
3609 xg_build_widen_table. Use xg_get_single_size.
3610 (xg_get_max_narrow_insn_size): Delete.
3611 (xg_get_max_insn_widen_size, xg_get_max_insn_widen_literal_size,
3612 xg_is_relaxable_insn): Update calls to xg_build_widen_table. Use
3613 xg_get_single_size.
3614 (xg_build_to_insn): Record the loc field. Handle OP_OPERAND_HI16U and
3615 OP_OPERAND_LOW16U. Check xg_valid_literal_expression.
3616 (xg_expand_to_stack, xg_expand_narrow): Update calls to
3617 xg_build_widen_table. Use xg_get_single_size.
3618 (xg_immeds_fit): Use new xtensa-isa.h functions. Update call to
3619 xg_check_operand.
3620 (xg_symbolic_immeds_fit): Likewise. Also handle O_lo16 and O_hi16, and
3621 treat weak symbols conservatively.
3622 (xg_check_operand): Use new xtensa-isa.h functions.
3623 (is_dnrange): Delete.
3624 (xg_assembly_relax): Inline previous calls to tinsn_copy.
3625 (xg_finish_frag): Specify separate relax states for the frag and slot0.
3626 (is_branch_jmp_to_next, xg_add_branch_and_loop_targets): Use new
3627 xtensa-isa.h functions.
3628 (xg_instruction_matches_option_term, xg_instruction_matches_or_options,
3629 xg_instruction_matches_options): New.
3630 (xg_instruction_matches_rule): Handle O_register expressions. Call
3631 xg_instruction_matches_options.
3632 (transition_rule_cmp): New.
3633 (xg_instruction_match): Update call to xg_build_simplify_table.
3634 (xg_build_token_insn): Record loc fields.
3635 (xg_simplify_insn): Check is_specific_opcode field and
3636 density_supported flag.
3637 (xg_expand_assembly_insn): Skip checking code_density_available. Use
3638 new xtensa-isa.h functions. Call use_transform instead of can_relax.
3639 (xg_assemble_literal): Add error handling for O_big. Call
3640 record_alignment. Handle O_pltrel.
3641 (xg_valid_literal_expression): New.
3642 (xg_assemble_literal_space): Add slot parameter. Remove call to
3643 set_expr_symbol_offset. Add call to record_alignment. Update call to
3644 xg_finish_frag.
3645 (xg_emit_insn): Delete.
3646 (xg_emit_insn_to_buf): Add format parameter. Update calls to
3647 xg_add_opcode_fix and xtensa_insnbuf_to_chars.
3648 (xg_add_opcode_fix): Change opcode parameter to tinsn and add format
3649 and slot parameters. Handle new "alternate" relocations for absolute
3650 literals and CONST16 instructions. Check for bad uses of O_lo16 and
3651 O_hi16. Use new xtensa-isa.h functions.
3652 (xg_assemble_tokens): Delete.
3653 (is_register_writer): Use new xtensa-isa.h functions.
3654 (is_bad_loopend_opcode): Check for xtensa_rsr_lcount_opcode instead of
3655 old-style RSR from LCOUNT.
3656 (next_frag_opcode): Delete.
3657 (next_frag_opcode_is_loop, next_frag_format_size, frag_format_size,
3658 update_next_frag_state): New.
3659 (update_next_frag_nop_state): Delete.
3660 (next_frag_pre_opcode_bytes): Use next_frag_opcode_is_loop.
3661 (xtensa_mark_literal_pool_location): Check use_literal_section flag and
3662 the state of the absolute-literals directive. Add calls to
3663 record_alignment and xtensa_set_frag_assembly_state. Call
3664 xtensa_switch_to_non_abs_literal_fragment instead of
3665 xtensa_switch_to_literal_fragment.
3666 (build_nop): New.
3667 (assemble_nop): Use build_nop. Update call to xtensa_insnbuf_to_chars.
3668 (get_expanded_loop_offset): Change check for undefined opcode to an
3669 assertion.
3670 (xtensa_set_frag_assembly_state, relaxable_section,
3671 xtensa_find_unmarked_state_frags, xtensa_find_unaligned_branch_targets,
3672 xtensa_find_unaligned_loops, xg_apply_tentative_value): New.
3673 (md_begin): Update call to xtensa_isa_init. Initialize linkrelax to 1.
3674 Set lit4_seg_name. Call xg_init_vinsn. Initialize new global opcodes.
3675 Call init_op_placement_info_table and xtensa_set_frag_assembly_state.
3676 (xtensa_init_fix_data): New.
3677 (xtensa_frob_label): Reset label symbol to the current frag. Check
3678 do_align_targets and generating_literals flag. Propagate frequency
3679 info to new alignment frag. Call xtensa_set_frag_assembly_state.
3680 (xtensa_unrecognized_line): New.
3681 (xtensa_flush_pending_output): Check if inside a bundle. Add a call
3682 to xtensa_set_frag_assembly_state.
3683 (error_reset_cur_vinsn): New.
3684 (md_assemble): Remove check for literal frag. Remove call to
3685 istack_init. Call use_transform instead of use_generics. Parse
3686 explicit instruction format specifiers. Move code for
3687 a0_b_retw_interlock workaround to xg_assemble_vliw_tokens. Call
3688 error_reset_cur_vinsn on errors. Add call to get_invisible_operands.
3689 Add dwarf2_where call. Remote automatic alignment for ENTRY
3690 instructions. Move call to xtensa_clear_insn_labels to the end.
3691 Rearrange to handle bundles.
3692 (xtensa_cons_fix_new): Delete.
3693 (xtensa_handle_align): New.
3694 (xtensa_frag_init): Call xtensa_set_frag_assembly_state. Remove
3695 assignment to is_no_density field.
3696 (md_pcrel_from): Use new xtensa-isa.h functions. Use decode_reloc
3697 instead of reloc_to_opnum. Handle "alternate" relocations.
3698 (xtensa_force_relocation, xtensa_check_inside_bundle,
3699 xtensa_elf_section_change_hook): New.
3700 (xtensa_symbol_new_hook): Delete.
3701 (xtensa_fix_adjustable): Check for difference of symbols with an
3702 offset. Check for external and weak symbols.
3703 (md_apply_fix3): Remove cases for XTENSA_OP{0,1,2} relocs.
3704 (md_estimate_size_before_relax): Return expansion for the first slot.
3705 (tc_gen_reloc): Handle difference of symbols by producing
3706 XTENSA_DIFF{8,16,32} relocs and by writing the value of the difference
3707 into the output. Handle new XTENSA_SLOT*_OP relocs by storing the
3708 tentative values into the output when linkrelax is set.
3709 (XTENSA_PROP_SEC_NAME): Define.
3710 (xtensa_post_relax_hook): Call xtensa_find_unmarked_state_frags.
3711 Create literal tables only if using literal sections. Create new
3712 property tables instead of old instruction tables. Check for unaligned
3713 branch targets and loops.
3714 (finish_vinsn, find_vinsn_conflicts, check_t1_t2_reads_and_writes,
3715 new_resource_table, clear_resource_table, resize_resource_table,
3716 resources_available, reserve_resources, release_resources,
3717 opcode_funcUnit_use_unit, opcode_funcUnit_use_stage,
3718 resources_conflict, xg_find_narrowest_format, relaxation_requirements,
3719 bundle_single_op, emit_single_op, xg_assemble_vliw_tokens): New.
3720 (xtensa_end): Call xtensa_flush_pending_output. Set past_xtensa_end
3721 flag. Update checks for workaround options. Call
3722 xtensa_mark_narrow_branches and xtensa_mark_zcl_first_insns.
3723 (xtensa_cleanup_align_frags): Add special case for branch targets.
3724 Check for and mark unreachable frags.
3725 (xtensa_fix_target_frags): Remove use of align_only_targets flag.
3726 Use RELAX_LOOP_END_BYTES in special case for negatable branch at the
3727 end of a zero-overhead loop body.
3728 (frag_can_negate_branch): Handle instructions with multiple slots.
3729 Use new xtensa-isa.h functions
3730 (xtensa_mark_narrow_branches, is_narrow_branch_guaranteed_in_range,
3731 xtensa_mark_zcl_first_insns): New.
3732 (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags): Error if
3733 transformations are disabled.
3734 (next_instrs_are_b_retw): Use new xtensa-isa.h functions. Handle
3735 multislot instructions.
3736 (xtensa_fix_close_loop_end_frags, xtensa_fix_short_loop_frags):
3737 Likewise. Also error if transformations are disabled.
3738 (unrelaxed_frag_max_size): New.
3739 (unrelaxed_frag_min_insn_count, unrelax_frag_has_b_j): Use new
3740 xtensa-isa.h functions.
3741 (xtensa_sanity_check, is_empty_loop, is_local_forward_loop): Use
3742 xtensa_opcode_is_loop instead of is_loop_opcode.
3743 (get_text_align_power): Replace as_fatal with assertion.
3744 (get_text_align_fill_size): Iterate instead of using modulus when
3745 use_nops is false.
3746 (get_noop_aligned_address): Assert that this is for a machine-dependent
3747 RELAX_ALIGN_NEXT_OPCODE frag. Use next_frag_opcode_is_loop,
3748 xg_get_single_size, and frag_format_size.
3749 (get_widen_aligned_address): Rename to ...
3750 (get_aligned_diff): ... this function. Add max_diff parameter.
3751 Remove handling of rs_align/rs_align_code frags. Use
3752 next_frag_format_size, get_text_align_power, get_text_align_fill_size,
3753 next_frag_opcode_is_loop, and xg_get_single_size. Compute max_diff
3754 and pass it back to caller.
3755 (xtensa_relax_frag): Use relax_frag_loop_align. Add code for new
3756 RELAX_SLOTS, RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN,
3757 RELAX_FILL_NOP, and RELAX_UNREACHABLE frag types. Check relax_seen.
3758 (relax_frag_text_align): Rename to ...
3759 (relax_frag_loop_align): ... this function. Assume loops can only be
3760 in the first slot of an instruction.
3761 (relax_frag_add_nop): Use assemble_nop instead of constructing an OR
3762 instruction. Remove call to frag_wane.
3763 (relax_frag_narrow): Rename to ...
3764 (relax_frag_for_align): ... this function. Extend to handle
3765 RELAX_FILL_NOP and RELAX_UNREACHABLE, as well as RELAX_SLOTS with
3766 RELAX_NARROW for the first slot.
3767 (find_address_of_next_align_frag, bytes_to_stretch): New.
3768 (future_alignment_required): Use find_address_of_next_align_frag and
3769 bytes_to_stretch. Look ahead to subsequent frags to make smarter
3770 alignment decisions.
3771 (relax_frag_immed): Add format, slot, and estimate_only parameters.
3772 Check if transformations are enabled for b_j_loop_end workaround.
3773 Use new xtensa-isa.h functions and handle multislot instructions.
3774 Update call to xg_assembly_relax.
3775 (md_convert_frag): Handle new RELAX_SLOTS, RELAX_UNREACHABLE,
3776 RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN, and RELAX_FILL_NOP
3777 frag types.
3778 (convert_frag_narrow): Add segP, format and slot parameters. Call
3779 convert_frag_immed for branch instructions. Adjust calls to
3780 tinsn_from_chars, tinsn_immed_from_frag, and xg_emit_insn_to_buf. Use
3781 xg_get_single_size and xg_get_single_format.
3782 (convert_frag_fill_nop): New.
3783 (convert_frag_immed): Add format and slot parameters. Handle multislot
3784 instructions and use new xtensa-isa.h functions. Update calls to
3785 tinsn_immed_from_frag and xg_assembly_relax. Check if transformations
3786 enabled for b_j_loop_end workaround. Use build_nop instead of
3787 assemble_nop. Check is_specific_opcode flag. Check for unreachable
3788 frags. Use xg_get_single_size. Handle O_pltrel.
3789 (fix_new_exp_in_seg): Remove check for old plt flag.
3790 (convert_frag_immed_finish_loop): Update calls to tinsn_from_chars and
3791 xtensa_insnbuf_to_chars. Call tinsn_immed_from_frag. Change check
3792 for loop opcode to an assertion. Mark all frags up to the end of the
3793 loop as not transformable.
3794 (get_last_insn_flags, set_last_insn_flags): Use get_subseg_info.
3795 (get_subseg_info): New.
3796 (xtensa_move_literals): Call xtensa_set_frag_assembly_state. Add null
3797 check for dest_seg.
3798 (xtensa_switch_to_literal_fragment): Rewrite to handle absolute
3799 literals and use xtensa_switch_to_non_abs_literal_fragment otherwise.
3800 (xtensa_switch_to_non_abs_literal_fragment): New.
3801 (cache_literal_section): Add is_code parameter and pass it through to
3802 retrieve_literal_seg.
3803 (retrieve_literal_seg): Add is_code parameter and use it to set the
3804 flags on the literal section. Handle case where head parameter is 0.
3805 (get_frag_is_no_transform, set_frag_is_specific_opcode,
3806 set_frag_is_no_transform): New.
3807 (xtensa_create_property_segments): Add end_property_function parameter
3808 and pass it through to add_xt_block_frags. Call bfd_get_section_flags
3809 and skip SEC_DEBUGGING and !SEC_ALLOC sections.
3810 (xtensa_create_xproperty_segments, section_has_xproperty): New.
3811 (add_xt_block_frags): Add end_property_function parameter and call it
3812 if it is non-zero. Call xtensa_frag_flags_init.
3813 (xtensa_frag_flags_is_empty, xtensa_frag_flags_init,
3814 get_frag_property_flags, frag_flags_to_number,
3815 xtensa_frag_flags_combinable, xt_block_aligned_size,
3816 xtensa_xt_block_combine, add_xt_prop_frags,
3817 init_op_placement_info_table, opcode_fits_format_slot,
3818 xg_get_single_size, xg_get_single_format): New.
3819 (istack_push): Inline call to tinsn_copy.
3820 (tinsn_copy): Delete.
3821 (tinsn_has_invalid_symbolic_operands): Handle O_hi16 and O_lo16 and
3822 CONST16 opcodes. Handle O_big, O_illegal, and O_absent.
3823 (tinsn_has_complex_operands): Handle O_hi16 and O_lo16.
3824 (tinsn_to_insnbuf): Use xg_get_single_format and new xtensa-isa.h
3825 functions. Handle invisible operands.
3826 (tinsn_to_slotbuf): New.
3827 (tinsn_check_arguments): Use new xtensa-isa.h functions.
3828 (tinsn_from_chars): Add slot parameter. Rewrite using xg_init_vinsn,
3829 vinsn_from_chars, and xg_free_vinsn.
3830 (tinsn_from_insnbuf): New.
3831 (tinsn_immed_from_frag): Add slot parameter and handle multislot
3832 instructions. Handle symbol differences.
3833 (get_num_stack_text_bytes): Use xg_get_single_size.
3834 (xg_init_vinsn, xg_clear_vinsn, vinsn_has_specific_opcodes,
3835 xg_free_vinsn, vinsn_to_insnbuf, vinsn_from_chars, expr_is_register,
3836 get_expr_register, set_expr_symbol_offset_diff): New.
3837 * config/tc-xtensa.h (MAX_SLOTS): Define.
3838 (xtensa_relax_statesE): Move from tc-xtensa.c. Add
3839 RELAX_CHECK_ALIGN_NEXT_OPCODE, RELAX_MAYBE_DESIRE_ALIGN, RELAX_SLOTS,
3840 RELAX_FILL_NOP, RELAX_UNREACHABLE, RELAX_MAYBE_UNREACHABLE, and
3841 RELAX_NONE types.
3842 (RELAX_IMMED_MAXSTEPS): Move from tc-xtensa.c.
3843 (xtensa_frag_type struct): Add is_assembly_state_set,
3844 use_absolute_literals, relax_seen, is_unreachable, is_specific_opcode,
3845 is_align, is_text_align, alignment, and is_first_loop_insn fields.
3846 Replace is_generics and is_relax fields by is_no_transform field.
3847 Delete is_text and is_longcalls fields. Change text_expansion and
3848 literal_expansion to arrays of MAX_SLOTS entries. Add arrays of
3849 per-slot information: literal_frags, slot_subtypes, slot_symbols,
3850 slot_sub_symbols, and slot_offsets. Add fr_prev field.
3851 (xtensa_fix_data struct): New.
3852 (xtensa_symfield_type struct): Delete plt field.
3853 (xtensa_block_info struct): Move definition to tc-xtensa.h. Add
3854 forward declaration here.
3855 (xt_section_type enum): Delete xt_insn_sec. Add xt_prop_sec.
3856 (XTENSA_SECTION_RENAME): Undefine.
3857 (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FORCE_RELOCATION, NO_PSEUDO_DOT,
3858 tc_unrecognized_line, md_do_align, md_elf_section_change_hook,
3859 HANDLE_ALIGN, TC_LINKRELAX_FIXUP, SUB_SEGMENT_ALIGN): Define.
3860 (TC_CONS_FIX_NEW, tc_symbol_new_hook): Delete.
3861 (unit_num_copies_func, opcode_num_units_func,
3862 opcode_funcUnit_use_unit_func, opcode_funcUnit_use_stage_func): New.
3863 (resource_table struct): New.
3864 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase from 6 to 10.
3865 (TInsn struct): Add keep_wide, loc, fixup, record_fix, subtype,
3866 literal_space, symbol, sub_symbol, offset, and literal_frag fields.
3867 (tinsn_copy): Delete prototype.
3868 (vliw_insn struct): New.
3869 * config/xtensa-relax.c (insn_pattern_struct): Add options field.
3870 (widen_spec_list): Add option conditions for density and boolean
3871 instructions. Add expansions using CONST16 and conditions for using
3872 CONST16 vs. L32R. Use new Xtensa LX RSR/WSR syntax. Add entries for
3873 predicted branches.
3874 (simplify_spec_list): Add option conditions for density instructions.
3875 Add entry for NOP instruction.
3876 (append_transition): Add cmp function pointer parameter and use it to
3877 insert the new entry in order.
3878 (operand_function_LOW16U, operand_function_HI16U): New.
3879 (xg_has_userdef_op_fn, xg_apply_userdef_op_fn): Handle
3880 OP_OPERAND_LOW16U and OP_OPERAND_HI16U.
3881 (enter_opname, split_string): Use xstrdup instead of strdup.
3882 (init_insn_pattern): Initialize new options field.
3883 (clear_req_or_option_list, clear_req_option_list,
3884 clone_req_or_option_list, clone_req_option_list, parse_option_cond):
3885 New.
3886 (parse_insn_pattern): Parse option conditions.
3887 (transition_applies): New.
3888 (build_transition): Use new xtensa-isa.h functions. Fix incorrectly
3889 swapped last arguments in calls to append_constant_value_condition.
3890 Call clone_req_option_list. Add warning about invalid opcode.
3891 Handle LOW16U and HI16U function names.
3892 (build_transition_table): Add cmp parameter and use it in calls to
3893 append_transition. Use new xtensa-isa.h functions. Check
3894 transition_applies before adding entries.
3895 (xg_build_widen_table, xg_build_simplify_table): Add cmp parameter and
3896 pass it through to build_transition_table.
3897 * config/xtensa-relax.h (ReqOrOptionList, ReqOrOption, ReqOptionList,
3898 ReqOption, transition_cmp_fn): New types.
3899 (OpType enum): Add OP_OPERAND_LOW16U and OP_OPERAND_HI16U.
3900 (transition_rule struct): Add options field.
3901 * doc/as.texinfo (Overview): Update Xtensa options.
3902 * doc/c-xtensa.texi (Xtensa Options): Delete --[no-]density,
3903 --[no-]relax, and --[no-]generics options. Update descriptions of
3904 --text-section-literals and --[no-]longcalls. Add
3905 --[no-]absolute-literals and --[no-]transform.
3906 (Xtensa Syntax): Add description of syntax for FLIX instructions.
3907 Remove use of "generic" and "specific" terminology for opcodes.
3908 (Xtensa Registers): Generalize the syntax description to include
3909 user-defined register files.
3910 (Xtensa Automatic Alignment): Update.
3911 (Xtensa Branch Relaxation): Mention limitation of unconditional jumps.
3912 (Xtensa Call Relaxation): Linker can now remove most of the overhead.
3913 (Xtensa Directives): Remove confusing rules about precedence.
3914 (Density Directive, Relax Directive): Delete.
3915 (Schedule Directive): New.
3916 (Generics Directive): Rename to ...
3917 (Transform Directive): ... this node.
3918 (Literal Directive): Update for absolute literals. Missing
3919 literal_position directive is now an error.
3920 (Literal Position Directive): Update for absolute literals.
3921 (Freeregs Directive): Delete.
3922 (Absolute Literals Directive): New.
3923 (Frame Directive): Minor editing.
3924 * Makefile.am (DEPTC_xtensa_elf, DEPOBJ_xtensa_elf, DEP_xtensa_elf):
3925 Update dependencies.
3926 * Makefile.in: Regenerate.
3927
6e1304d8
RS
39282004-10-07 Richard Sandiford <rsandifo@redhat.com>
3929
3930 * config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp
3931 to build the second and third fixups for a composite relocation.
3932 (macro_read_relocs): New function.
3933 (macro_build): Use it.
3934 (s_cpsetup): Pass all three composite relocation codes to macro_build.
3935 Simplify fragging code accordingly.
3936 (s_gpdword): Use fix_new rather than fix_new_exp for the second part
3937 of the composite relocation. Set fx_tcbit in both fixups.
3938
b1dca8ee
RS
39392004-10-07 Richard Sandiford <rsandifo@redhat.com>
3940
3941 * config/tc-mips.c (append_insn): Set fx_tcbit for composite relocs.
3942 (md_apply_fix3): Don't treat composite relocs as done.
3943
89658e52
NC
39442004-10-07 Jan Beulich <jbeulich@novell.com>
3945
3946 * macro.c (macro_expand_body): When ELF, use .LL rather than LL as
3947 prefix for symbol names generated from the LOCAL macro directive.
3948
289040ca
NC
3949 * dw2gencfi.c (select_cie_for_fde): When separating CIE out from
3950 FDE, treat a DW_CFA_remember_state as we do a DW_CFA_advance_loc.
3951
48c9f030
NC
39522004-10-07 Tomer Levi <Tomer.Levi@nsc.com>
3953
3954 * config/tc-crx.c (preprocess_reglist): Handle Co-processor
c04f5787 3955 Special registers.
5c5054ab 3956 (md_assemble): Add error checking for Co-Processor instructions.
48c9f030
NC
3957 (get_cinv_parameters): Add 'b' option to invalidate the
3958 branch-target cache.
3959
7ed4c4c5
NC
39602004-10-05 Paul Brook <paul@codesourcery.com>
3961
3962 * config/tc-arm.c (unwind): New variable.
3963 (vfp_sp_encode_reg): New function.
3964 (vfp_sp_reg_required_here): Use it.
3965 (vfp_sp_reg_list, vfp_dp_reg_list): Remove.
3966 (vfp_parse_reg_list): New function.
3967 (s_arm_unwind_fnstart, s_arm_unwind_fnend, s_arm_unwind_cantunwind,
3968 s_arm_unwind_personality, s_arm_unwind_personalityindex,
3969 s_arm_unwind_handlerdata, s_arm_unwind_save, s_arm_unwind_movsp,
3970 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): New
3971 functions.
3972 (md_pseudo_table): Add them.
3973 (do_vfp_reg2_from_sp2): Use vfp_parse_reg_list and vfp_sp_encode_reg.
3974 (do_vfp_sp2_from_reg2, vfp_sp_ldstm, vfp_dp_ldstm): Ditto.
3975 (set_section, add_unwind_adjustsp, flush_pending_unwind,
3976 finish_unwind_opcodes, start_unwind_section, create_unwind_entry,
3977 require_hashconst, add_unwind_opcode): New functions.
ab1e9ef7 3978 * doc/c-arm.texi: Document unwinding opcodes.
7ed4c4c5
NC
3979 * NEWS: Mention the new feature.
3980
04ca8703
EC
39812004-10-04 Eric Christopher <echristo@redhat.com>
3982
3983 * config/tc-mips.c (md_apply_fix3): Remove erroneous assert.
3984
7c1d0959
L
39852004-10-01 H.J. Lu <hongjiu.lu@intel.com>
3986
3987 * config/tc-ppc.c (md_apply_fix3): Call S_SET_THREAD_LOCAL for
3988 TLS relocations.
3989 * config/tc-s390.c (md_apply_fix3): Likewise.
3990 * config/tc-sparc.c (md_apply_fix3): Likewise.
3991
40a18ebd
NC
39922004-10-01 Paul Brook <paul@codesourcery.com>
3993
3994 * config/tc-arm.c (arm_elf_section_type): New function.
3995 (arm_elf_change_section): Set section link for exidx sections.
3996 * config/tc-arm.h (arm_elf_section_type): Add prototype.
3997 (md_elf_section_type): Define.
3998
14127cc4
NC
39992004-10-01 Bill Farmer <Bill@the-farmers.freeserve.co.uk>
4000
4001 * config/tc-pdp11.c (md_apply_fix3): Change to sign of the SOB
4002 instruction's offset.
4003
b7c92712
NC
40042004-10-01 Adam Nemet <anemet@lnxw.com>
4005
4006 * (TARGET_FORMAT): Remove LynxOS COFF definition.
4007
65555e64
AM
40082004-10-01 Ravi Ramaseshan <ravi.ramaseshan@codito.com>
4009
4010 * config/tc-arc.c (tc_gen_reloc): Don't assume fixP->fx_addsy is an
4011 asymbol *, instead use symbol_get_bfdsym.
4012
9fe0b840
NC
40132004-09-30 Linus Nielsen Feltzing <linus@haxx.se>
4014
4015 * config/tc-m68k.c (select_control_regs): Add mcf5249.
4016
0dd132b6
NC
40172004-09-30 Paul Brook <paul@codesourcery.com>
4018
4019 * config/tc-arm.c (do_smi, do_nop): New functions.
4020 (insns): Add ARMv6ZK instructions.
4021 (md_apply_fix3): Handle BFD_RELOC_ARM_SMI.
4022 (tc_gen_reloc): Ditto.
4023 (arm_cpus): Add mpcore and arm1176.
4024 (arm_archs): Add armv6{k,z,zk}.
4025 * doc/c-arm.texi: Document new cores and architectures.
4026
a737bd4d
NC
40272004-09-30 Nick Clifton <nickc@redhat.com>
4028
4029 * config/tc-arm.c: Use ISO C90 formatting.
4030
3631a3c8
NC
40312004-09-30 Vladimir Ivanov <vladitx@nucleusys.com>
4032
a737bd4d 4033 * config/tc-arm.c (mav_reg_required_here): Allow REG_TYPE_CN
3631a3c8
NC
4034 as alternative when REG_TYPE_MVF, REG_TYPE_MVD, REG_TYPE_MVFX or
4035 REG_TYPE_MVDX is expected.
4036
d5f0cf92
AM
40372004-09-29 Marc Bevand <m.bevand@gmail.com>
4038
4039 * doc/c-i386.texi (i386-Mnemonics): Fix typo.
4040
9f9a069e
JW
40412004-09-21 James E Wilson <wilson@specifixinc.com>
4042
4043 * config/tc-ia64.c (ENCODED_PSP_OFFSET): New.
4044 (output_rp_psprel, output_pfs_psprel, output_preds_psprel,
4045 output_spill_base, output_unat_psprel, output_lc_psprel,
4046 output_fpsr_psprel, output_priunat_psprel, output_bsp_psprel,
4047 output_bsprestore_psprel, output_rnat_psprel, output_spill_psprel,
4048 output_spill_psprel_p): Use it.
4049
4b778c88
TL
40502004-09-20 Tomer Levi <Tomer.Levi@nsc.com>
4051
c04f5787 4052 * config/tc-crx.c (handle_LoadStor): New function.
04ca8703 4053 Handle load/stor unique instructions before parsing.
4b778c88 4054
eb043451
PB
40552004-09-17 Paul Brook <paul@codesourcery.com>
4056
4057 * config/tc-arm.c (s_arm_rel31): New funciton.
4058 (md_pseudo_table): Add .rel31.
04ca8703 4059 (md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2,
eb043451
PB
4060 BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31.
4061 (tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2.
4062 (arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2.
4063 (arm_parse_reloc): Add (target2).
4064
8ea2b00f
AM
40652004-09-17 Alan Modra <amodra@bigpond.net.au>
4066
4067 * Makefile.am: Run "make dep-am".
4068 * Makefile.in: Regenerate.
4069 * aclocal.m4: Regenerate.
4070 * configure: Regenerate.
4071 * doc/Makefile.in: Regenerate.
4072 * po/POTFILES.in: Regenerate.
4073 * po/gas.pot: Regenerate.
4074
7e1792e0
HPN
40752004-09-14 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp>
4076
4077 * config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif.
4078 [!LLONG_MAX]: Ditto.
4079
9c504268
PB
40802004-09-13 Paul Brook <paul@codesourcery.com>
4081
4082 * config/tc-arm.c: Rename RELABS to TARGET1.
4083
2159ac21
AM
40842004-09-13 Alan Modra <amodra@bigpond.net.au>
4085
4086 * messages.c (as_internal_value_out_of_range): Cast values passed
4087 to as_bad_where or as_warn_where to proper type.
4088
23794b24
MM
40892004-09-11 Theodore A. Roth <troth@openavr.org>
4090
4091 * config/tc-avr.c: Add support for
4092 atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
4093
e9fad691
AM
40942004-09-09 Alan Modra <amodra@bigpond.net.au>
4095
4096 * dw2gencfi.c (select_cie_for_fde): When separating CIE out
4097 from FDE, treat a CFI_escape as we do a DW_CFA_advance_loc.
4098
10b016c2
PB
40992004-09-08 Paul Brook <paul@codesourcery.com>
4100
4101 * config/obj-elf.c (obj_elf_section_type): Handle init_array,
4102 fini_array and preinit_array section types.
4103 * config/tc-ia64.c (ia64_elf_section_type): Remove init_array
4104 and fini_array.
4105 * doc/as.texinfo: Document extra section types.
4106
e5a52504
MM
41072004-09-02 Mark Mitchell <mark@codesourcery.com>
4108
4109 * Makefile.am (TARG_ENV_HFILES): Add te-symbian.h.
4110 * Makefile.in: Regenerated.
4111 * configure.in: Set em for arm*-*-symbianelf*.
4112 * configure: Regenerated.
4113 * config/tc-arm.c (elf32_arm_target_format): Use Symbian target
4114 vectors when appropriate.
4115 * config/te-symbian.h: New file.
4116
42851540
NC
41172004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
4118
4119 * config/tc-crx.c (gettrap): Exception vector can be case
4120 insensitive.
04ca8703 4121 (process_label_constant): Fix a 32-bit displacement bug in branch
42851540
NC
4122 instructions.
4123 (get_operandtype) : Bug fix, wrong operand was used.
04ca8703 4124 (process_label_constant): Initialize relocation type to
42851540
NC
4125 BFD_RELOC_NONE
4126
8783612f
RE
41272004-09-01 Richard Earnshaw < reanrsha@arm.com>
4128
4129 * tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
4130 for synthesizable cores.
4131
1ff4677c
RE
4132 * doc/c-arm.texi (ARM Options): Document canonical names of CPUs.
4133
b18c562e
NC
41342004-08-25 Dmitry Diky <diwil@spec.ru>
4135
4136 * config/tc-msp430.c: Clean-up the code.
4137 (md_relax_table): New relax table.
4138 (mcu_types): Sort MCU types.
4139 (md_pseudo_table): Add .profiler pseudo handler.
4140 (pow2value): New function.
4141 (msp430_profiler): New function.
4142 (msp430_operands): Add new insns handlers.
4143 (msp430_srcoperand): Add register operand handler, allow complex
4144 expressions.
4145 (md_estimate_size_before_relax): Rewritten.
4146 (md_convert_frag): Rewritten.
4147 (msp430_relax_frag): New function.
4148 * config/tc-msp430.h (md_relax_frag): define macro
4149 * doc/c-msp430.texi: Update information.
4150
8f94ae4d
NC
41512004-08-24 Nick Clifton <nickc@redhat.com>
4152
4153 * as.c (std_shortopts): Allow -g to take an optional argument.
4154 (parse_args): Pass any switch starting with -g on to the backend
4155 for parsing.
4156
e51dace8
MM
41572004-08-18 Mark Mitchell <mark@codesourcery.com>
4158
4159 * configure.in (arm*-*-symbianelf*): New target.
4160 (arm*-*-eabi*): Likewise.
4161 * configure: Regenerated.
4162
f7870c8d
TS
41632004-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4164 * config/tc-mips.c (append_insn): Handle delay slots in branch likely
4165 correctly.
4166
d6afba4b
JJ
41672004-08-18 Jakub Jelinek <jakub@redhat.com>
4168
4169 * config/tc-ia64.c (start_unwind_section): Add linkonce_empty
4170 argument, don't do anything if current section is not
4171 .gnu.linkonce.t.* and linkonce_empty is set.
4172 (generate_unwind_image, dot_endp): Adjust callers, call
4173 start_unwind_section (*, 1) if nothing will be put into the
4174 section.
4175
329e276d
NC
41762004-08-17 Nick Clifton <nickc@redhat.com>
4177
4178 * as.c (MD_DEBUG_FORMAT_SELECTOR): Provide default definition.
4179 (show_usage): Add -g.
4180 (std_longopts): Add --gen-debug. Alpha sort the table.
4181 (parse_args): Print an error message if a switch is not handled.
4182 Handle the -g switch, calling md_debug_format_selector() if
4183 necessary.
4184 * NEWS: Mention new feature.
4185 * doc/as.texinfo: Document new switch.
4186 * doc/internals.texi: Document behaviour of md_parse_option.
04ca8703 4187
329e276d
NC
4188 * config/tc-arm.c (md_parse_option): Do not issue an error message
4189 if the switch is not recognised.
4190 * config/tc-m68k.c (md_parse_option): Likewise.
4191 * config/tc-pdp11.c (md_parse_option): Likewise.
4192 * config/tc-v850.c (md_parse_option): Likewise.
4193
4194 * as.h: Fix up formatting.
4195 * tc.h: Likewise.
4196
4101eec8
NC
41972004-08-16 Nick Clifton <nickc@redhat.com>
4198
2766e5e4
NC
4199 * macro.c (macro_set_alternate): Use ISO C90 formatting.
4200
4101eec8
NC
4201 * configure.in: Sort architecture based tables alphabetically.
4202 * configure: Regenerate.
4203
80f846b6
AM
42042004-08-16 Alan Modra <amodra@bigpond.net.au>
4205
4206 * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace
4207 { "cc", 68 }, with { "cr", 70 }.
4208
caa32fe5
NC
42092004-08-13 Jan Beulich <jbeulich@novell.com>
4210 Nick Clifton <nickc@redhat.com>
4211
4212 * as.c: Add and handle new --alternate command line option.
4213 * macro.c (macro_set_alternate): New.
4214 * macro.h (macro_set_alternate): Declare.
4215 * read.c: Add and handle new .altmacro and .noaltmacro directives.
4216 * doc/as.texinfo: Document new command line option and pseudo-ops
4217 as well as insert documentation originating from gasp about
4218 alternate macro syntax.
4219 * NEWS: Mention new command line option and pseudo-ops.
4220
b2221023
MM
42212004-08-10 Mark Mitchell <mark@codesourcery.com>
4222
4223 * expr.c (operand): Handle the "~", "-", and "!" operators applied
4224 to bignums.
4225
db6579d4
PB
42262004-08-06 Paul Brook <paul@codesourcery.com>
4227
4228 * config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc):
4229 Handle new relocations.
4230 * include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations.
4231
e750405d
BW
42322004-08-05 Bob Wilson <bob.wilson@acm.org>
4233
4234 * write.c (relax_segment): Use was_address instead of address when
4235 setting fr_fix field for align frag due to backwards .org.
4236
1d70c7fb
AO
42372004-07-29 Alexandre Oliva <aoliva@redhat.com>
4238
4239 Introduce SH2a support.
4240 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4241 * config/tc-sh.c (get_specific): Change arch_sh2a_up to
4242 arch_sh2a_nofpu_up.
4243 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4244 * config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling.
4245 2004-02-20 Corinna Vinschen <vinschen@redhat.com>
4246 * config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition
4247 to end of conditional expression.
4248 2004-02-20 Corinna Vinschen <vinschen@redhat.com>
4249 * config/tc-sh.c: Add sh2a-nofpu support.
4250 2003-12-29 DJ Delorie <dj@redhat.com>
4251 * tc-sh.c: Add sh2a support.
4252 (parse_reg): Add tbr.
4253 (parse_at): Support @@(disp,tbr).
4254 (get_specific): Support sh2a opcodes.
4255 (insert4): New, for 4 byte relocs.
4256 (build_Mytes): Support sh2a opcodes.
4257 (md_apply_fix3_Mytes): Support sh2a opcodes.
4258 2003-12-02 Michael Snyder <msnyder@redhat.com>
4259 * config/tc-sh.c (md_parse_option): Handle sh2a.
4260 (sh_elf_final_processing): Ditto.
4261
e7fbc2bf
JT
42622004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
4263
4264 * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd"
4265 for TE_NetBSD.
4266
9232bbb0
AM
42672004-07-27 Alan Modra <amodra@bigpond.net.au>
4268
4269 * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big.
4270 (ppc_arch): Expand comment.
4271
670ec21d
NC
42722004-07-27 Tomer Levi <Tomer.Levi@nsc.com>
4273
4274 * config/tc-crx.c: Support evaluating the difference between two
4275 symbols.
4276 * config/tc-crx.h: Likewise.
4277
406f8ff9 42782004-07-26 H.J. Lu <hongjiu.lu@intel.com>
38ce5b11
L
4279
4280 * config/tc-ia64.c (start_unwind_section): Set the linked-to
4281 section.
4282 (ia64_elf_section_change_hook): Set the linked-to section for
4283 SHT_IA_64_UNWIND.
4284
c05e9f04
NC
42852004-07-26 Dmitry Diky <diwil@spec.ru>
4286
4287 * config/tc-msp430.c: Add new subtargets: msp430x1610,
4288 msp430x1611, msp430x1612, msp430x415, msp430x417, msp430xG437,
4289 msp430xG438, msp430xG439.
4290
e9863d7f
DJ
42912004-07-25 Daniel Jacobowitz <dan@debian.org>
4292
4293 * doc/as.texinfo (Section, PushSection): Correct documentation
4294 for ELF.
4295
543613e9 42962004-07-21 Jan Beulich <jbeulich@novell.com>
20f0a1fc
NC
4297
4298 * config/tc-i386.c (optimize_imm): Adjust immediates to only those
4299 permissible for the selected instruction suffix.
4300 (match_template): Don't permit 64-bit general purpose operands in
4301 32-bit mode.
4302 (finalize_imm): Permit 64-bit immediates.
4303 (build_modrm_byte): Don't treat 32-bit addressing in 64-bit mode
4304 specially except for the width of the used base and/or index
4305 registers. For 32-bit displacements, use sign-extended
4306 relocations only when using 64-bit addressing.
4307 Force zero displacement on rip-relative addressing when there is
4308 no other displacement.
4309 (i386_index_check): Don't treat 32-bit addressing in 64-bit mode
4310 specially except for the width of the used base and/or index
4311 registers.
4312 (parse_register): Disallow Reg64 registers in 32-bit mode.
4313
543613e9
NC
4314 * config/tc-i386.c: For DefaultSize instructions, don't guess a 'q'
4315 suffix if the instruction doesn't support it.
04ca8703 4316
01a3f561
MR
43172004-07-20 Maciej W. Rozycki <macro@linux-mips.org>
4318
4319 * config/tc-mips.c (append_insn): Handle constant expressions with
4320 no associated relocation.
4321 (mips_ip): Cancel the expression after use for the Q format
4322 specifier.
4323 (parse_relocation): Return no relocation for unsupported
4324 operators.
4325 (my_getSmallExpression): Return no relocation if no relocation
4326 operators are used.
4327
e12904d2
DA
43282004-07-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4329
4330 * config/obj-som.c (adjust_stab_sections): Add prototype.
4331 (obj_som_compiler, obj_som_version, obj_som_copyright,
4332 adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
4333 * config/tc-hppa.c (update_subspace): Likewise.
4334 (is_defined_subspace): Amplify comment.
4335 * config/obj-som.h (som_frob_file): Add prototype.
4336
90c1602c
L
43372004-07-19 Christopher Faylor <cgf@timesys.com>
4338 H.J. Lu <hongjiu.lu@intel.com>
4339
4340 * subsegs.c (section_symbol): Don't create a new segment when
4341 existing segment is undefined.
4342
f263249b
RE
43432004-07-16 Richard Earnshaw <rearnsha@arm.com>
4344
4345 * config/tc-arm.c: Include include/opcode/arm.h.
4346 (ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete.
4347 (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete.
4348 (FPU_ARCH_*): Delete.
4349 * Makefile.am: Update dependencies.
4350 * Makefile.in: Regenerate.
4351
152c65b9
NC
43522004-07-15 Nick Clifton <nickc@redhat.com>
4353
4354 * configure.in: Accept armbe as a big-endian arm configuration.
4355 * configure: Regenerate.
4356
0477af35
NC
43572004-07-13 Thomas Nystrom <thn@saeab.se>
4358
4359 * config/tc-i386.c (T_SHIFTOP): New constant.
4360 (intel_e05_1): Handle '&', '|' and T_SHIFTOP.
4361 (intel_el1): Handle '~'.
4362 (intel_get_token): Handle '<>', '&', '|' and '~'.
4363
43642004-07-13 Nick Clifton <nickc@redhat.com>
4365
4366 (md_assemble): Remove spurious newline from end of as_bad error
4367 message.
4368 (intel_e05_1): Likewise.
4369 (intel_e11): Likewise.
4370 (intel_match_token): Likewise.
4371
31302357
AS
43722004-07-11 Andreas Schwab <schwab@suse.de>
4373
4374 * config/tc-m68k.c: Convert to C90. Remove redundant
4375 declarations. Indentation fixup.
4376 [M68KCOFF]: Include "obj-coff.h" instead of declaring
4377 obj_coff_section ourselves.
04ca8703 4378
549f748d
JW
43792004-07-09 James E Wilson <wilson@specifixinc.com>
4380
4381 * config/tc-ia64.c (default_big_endian): New.
4382 (dot_byteorder, md_begin): Use it.
4383 (md_parse_option): Set it.
04ca8703 4384
1a320fbb
NC
43852004-07-09 Nick Clifton <nickc@redhat.com>
4386
4387 * configure.in: Change sh-sybmian-elf to sh-*-symbianelf.
4388 * configure: Regenerate.
4389 * NEWS: Change sh-sybmian-elf to sh-*-symbianelf.
4390 * config/tc-sh.c (sh_elf_final_processing): Use renamed version of
4391 sh_find_elf_flags if necessary.
4392
de7e6852
RS
43932004-07-08 Richard Sandiford <rsandifo@redhat.com>
4394
4395 * config/tc-mips.c (mips_fix_adjustable): If the full addend is
4396 going to be split into more than one in-place addend, return 0
4397 for relocations against mergeable sections. Associate comments
4398 with code.
4399
1fe1f39c
NC
44002004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
4401
4402 * Makefile.am (CPU_TYPES): Add crx.
4403 (TARGET_CPU_CFILES): Add config/tc-crx.c.
4404 (TARGET_CPU_HFILES): Add config/tc-crx.h.
4405 (DEPTC_crx_elf): New target.
4406 (DEPOBJ_crx_elf): Likewise.
4407 (DEP_crx_elf): Likewise.
4408 * Makefile.in: Regenerate.
4409 * configure.in: Add crx* target.
4410 * configure: Regenerate.
4411 * config/tc-crx.c: New file.
4412 * config/tc-crx.h: New file.
4413 * NEWS: Mention new target.
4414
d9895649
NC
44152004-07-06 Nick Clifton <nickc@redhat.com>
4416
85fbca6a 4417 * config.in: Undefine TARGET_SYMBIAN by default.
c04f5787
AM
4418 * configure.in:
4419 * configure: Regenerate. Add sh-symbian-elf target. If
4420 selected define TARGET_SYMBIAN.
4421 * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target
4422 format if TARGET_SYMBIAN has been defined.
04ca8703 4423
e7bd9ea0
NC
4424 * output-file.c (output_file_create): Report the target format
4425 chosen when bfd_openw reports that it is invalid.
4426
d9895649
NC
4427 * config/obj-coff.c (coff_pseudo_table): Only define the weak
4428 pseudo for BFD based assemblers.
4429
871ec896
JR
44302004-07-05 Andrew Stubbs <andrew.stubbs@superh.com>
4431
4432 gas:
4433 * config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
4434 (md_parse_option): Remove redundant -isa testing.
4435 Make bfd_arch variable const.
4436 (md_show_usage): Make bfd_arch variable const.
4437
5a9ff93d
JW
44382004-07-03 James E Wilson <wilson@specifixinc.com>
4439
4440 * config/tc-ia64.c (emit_one_bundle): Check and set insn_addr.
4441 * config/tc-ia64.h (md_frag_check): Define.
4442
c87db184
CF
44432004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
4444
4445 * config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
4446 externals.
4447 * doc/as.texinfo (Weak): Document PE weak symbols.
4448
3b91255e
RS
44492004-07-03 Richard Sandiford <rsandifo@redhat.com>
4450
4451 * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
4452 (reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS.
4453 (mips_frob_file): Rework so that only a single pass through the
4454 relocs is needed. Allow %lo()s to have higher offsets than their
4455 corresponding %hi()s or %got()s.
4456
310ea308
NC
44572004-07-02 Nick Clifton <nickc@redhat.com>
4458
4459 * config/tc-arm.c (md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not
4460 allow values which have come from undefined symbols.
4461 Always consider this fixup to have been processed as a reloc
4462 cannot be generated for it.
4463
09b935ac
AM
44642004-07-02 Alan Modra <amodra@bigpond.net.au>
4465
4466 * frags.h (struct frag): Add has_code and insn_addr fields.
4467 * write.c (cvt_frag_to_fill): Invoke md_frag_check.
4468 * config/tc-ppc.c (md_assemble): Check and set insn_addr.
4469 * config/tc-ppc.h (md_frag_check): Define.
4470
4d1cd5c7
MR
44712004-06-28 Maciej W. Rozycki <macro@linux-mips.org>
4472
4473 * doc/Makefile.am (info): Rename goal to...
4474 (info-local): ... this, to preserve implicit dependencies.
4475 * doc/Makefile.in: Regenerate with automake 1.8.5.
4476
097f809a
NC
44772004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4478
4479 * config/tc-m32r.c (md_convert_frag): Changed for @PLT.
4480 (m32r_cgen_record_fixup_exp): Changed for @GOTOFF, @GOT.
4481 (m32r_fix_adjustable): Changed for @GOTOFF, @GOT, @PLT.
4482 (tc_gen_reloc): Likewise.
4483 (m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT.
4484 (m32r_parse_name): Likewise.
4485 (m32r_cgen_parse_fix_exp): Likewise.
4486 * config/tc-m32r.h (md_parse_name): Define for @GOTOFF, @GOT, @PLT.
4487 (O_PIC_reloc): Likewise.
4488 (TC_CGEN_PARSE_FIX_EXP): Likewise..
4489 * cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP
4490 for @GOTOFF, @GOT, @PLT.
4491
bb82af9f
NC
44922004-06-21 Jan Beulich <jbeulich@novell.com>
4493
4494 * gas/symbols.c: While discarding ordinary local absolute symbols
4495 when --strip-local-absolute is in effect, retain file symbols.
4496
990ae22a
AS
44972004-06-20 Andreas Schwab <schwab@suse.de>
4498
4499 * config/tc-m68k.c (mri_chip): Replace current_chip, not augment.
4500 (md_parse_option): Likewise.
4501
32137342
NC
45022004-06-17 Jan Beulich <jbeulich@novell.com>
4503
4504 * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
4505 * config/te-netware.h: New file.
4506 * config/te-ppcnw.h: Delete: Obsolete.
4507 * configure.in: Eliminate ill NetWare targets. Make generic
4508 NetWare target use proper emulation.
4509 * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add
4510 reference to new te-netware.h.
4511 * configure: Regenerate.
4512 * Makefile.in: Regenerate.
4513
f84d8e26
MS
45142004-06-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
4515
4516 * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
4517 comparison in .insn pseudo operation.
4518
587aac4e
AM
45192004-06-15 Alan Modra <amodra@bigpond.net.au>
4520
4521 * config/obj-coff.c (coff_adjust_section_syms): Use
4522 bfd_get_section_size instead of bfd_get_section_size_before_reloc.
4523 (coff_frob_section): Likewise.
4524 * config/tc-mips.c (md_apply_fix3): Likewise.
4525 * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size.
4526 (elf_frob_file_after_relocs): Likewise.
4527
2337eb33
DA
45282004-06-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4529
b8fc22bc
DA
4530 * config/tc-hppa.c (log2): Rename to exact_log2.
4531 (pa_next_subseg): Delete unused function.
4532 (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
4533 (create_new_subspace): Likewise.
4534
2337eb33
DA
4535 Bug gas/213
4536 * config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
4537 labels. Fix warning.
4538
53cb0362
DD
45392004-05-28 DJ Delorie <dj@redhat.com>
4540
4541 * config/tc-mn10300.h (tc_fix_adjustable): Define.
4542 * config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug
4543 or non-merged symbols.
4544
888a75be
L
45452004-05-28 H.J. Lu <hongjiu.lu@intel.com>
4546
4547 * config/tc-ia64.c (remove_marked_resource): Save, clear and
4548 restore the old slot when inserting srlz.i/srlz.d.
4549
f6f9408f
JR
45502004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
4551
4552 * Makefile.am: Regenerate dependecies.
4553 * Makefile.in: Regenerate.
4554 * config/tc-sh.c (valid_arch): Make unsigned.
4555 (preset_target_arch): Likewise.
4556 (md_begin): Use new architecture flags system.
4557 (get_specific): Likewise.
4558 (assemble_ppi): Likewise.
4559 (md_assemble): Likewise. Also fix error check for bad opcodes.
4560 (md_parse_option): Likewise. Also generate -isa values according
4561 to the table in bfd/cpu-sh.c instead of just constants. Also
4562 allow <arch>-up ISA variants.
4563 (sh_elf_final_processing): Replace if-else chain with a call to
4564 sh_find_elf_flags().
f6f9408f 4565
580b9172
NC
45662004-05-28 Peter Barada <peter@the-baradas.com>
4567
4568 * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing
4569 with zero offset into mode 2 addressing to save a word.
4570
652ca075
L
45712004-05-27 H.J. Lu <hongjiu.lu@intel.com>
4572
4573 * config/tc-ia64.c (ar_is_in_integer_unit): Removed.
4574 (ar_is_only_in_integer_unit): New.
4575 (ar_is_only_in_memory_unit): New.
4576 (generate_unwind_image): Silence gcc on 32bit host.
4577 (md_assemble): Use ar_is_only_in_integer_unit instead of
4578 ar_is_in_integer_unit. Check AR access.
4579
60fed2d3
NC
45802004-05-27 Peter Barada <peter@the-baradas.com>
4581
4582 * config/tc-m68k.c (md_begin): Sort the opcode table into
4583 alphabetical order.
4584 (m68k_compare_opcode): New function to do the sorting.
4585
be8c092b
NC
45862004-05-24 Peter Barada <peter@the-baradas.com>
4587
4588 * config/m68k-parse.y(operand): Allow for MAC/EMAC mask
4589 addressing on MIT style operands.
4590 * config/m68k-parse.y(yylex): Allow '-&' for predecrement
4591 w/mask addressing.
4592 * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type
4593 operands.
4594
1181c20e
AM
45952004-05-23 Alan Modra <amodra@bigpond.net.au>
4596
4597 * expr.c (operand, operator): Don't reject '++' and '--'.
4598
20e56c33
RS
45992004-05-20 Richard Sandiford <rsandifo@redhat.com>
4600
4601 * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
4602 dwarf tables.
4603
04ca8703 46042004-05-17 Adam Nemet <anemet@lnxw.com>
b2d65c0b
NC
4605
4606 * configure.in: Add ppc-*-lynxos*. Update i386-*-lynxos* to ELF.
4607 * configure: Regenerate.
4608
0da76f83
NC
46092004-05-13 Paul Brook <paul@codesourcery.com>
4610
4611 * dw2gencfi.c (output_cie): Handle dwarf3 format CIE entries.
4612
4b363073
NC
46132004-05-13 Joel Sherrill <joel@oarcorp.com>
4614
4615 * configure.in (or32-*-rtems*): Switch to elf.
4616 * configure: Regenerate.
4617
9598fbe5
NC
46182004-05-13 Nick Clifton <nickc@redhat.com>
4619
4620 * po/fr.po: Updated French translation.
4621
22fe14ad
NC
46222004-05-11 Nick Clifton <nickc@redhat.com>
4623
4624 * doc/as.texinfo (Section): Document G and T flags to .section
4625 directive. Document the extra arguments that the G flag
4626 requires. Document the #tls flag.
4627
46282004-05-11 H.J. Lu <hongjiu.lu@intel.com>
4629
4630 * subsegs.c (section_symbol): Create a new section symbol if
4631 the existing one doesn't match.
4632 * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol.
4633
532c738a
RS
46342004-05-07 Richard Sandiford <rsandifo@redhat.com>
4635
4636 * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120
4637 to cope with VR4181A errata MD(1) and MD(4).
4638
0503b355
BF
46392004-05-07 Brian Ford <ford@vss.fsi.com>
4640
4641 * NEWS: Mention .secrel32 for pe[i]-i386.
4642
daeea990
AO
46432004-05-07 Alexandre Oliva <aoliva@redhat.com>
4644
4645 * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
4646 (HANDLE_ALIGN): New.
4647
bfbdcf04
DJ
46482004-05-06 Daniel Jacobowitz <dan@debian.org>
4649
4650 * Makefile.am (DIST_SUBDIRS): Define.
4651 * aclocal.m4: Regenerate with automake 1.8.4.
4652 * Makefile.in: Likewise.
4653 * doc/Makefile.in: Likewise.
4654
5e819f9c
JW
46552004-05-06 David Mosberger-Tang <davidm@hpl.hp.com>
4656
4657 * config/tc-ia64.c (dot_serialize): Declare.
4658 (dot_serialize): New function.
4659 (md_pseudo_table): Add ".serialize.data" and
4660 ".serialize.instruction" directives.
4661
e5976317
NC
46622004-05-06 Nick Clifton <nickc@redhat.com>
4663
4664 * messages (as_internal_value_out_of_range): Print a message about
4665 a value being out of range. Be consistent about whether the
4666 values are printed in decimal or hexadecimal.
4667 (as_warn_value_out_of_range): Generate a warning message about an
4668 out of range value.
4669 (as_bad_value_out_of_range): Generate an error message about an
4670 out of range value.
4671 * as.h: Prototype the new functions.
4672 * config/tc-alpha.c (insert_operand): Use new function.
4673 * config/tc-arc.c (arc_insert_operand): Likewise.
4674 * config/tc-mn10200.c (mn10200_insert_operand): Likewise.
4675 * config/tc-mn10300.c (mn10300_insert_operand): Likewise.
4676 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4677 * config/tc-s390.c (s390_insert_operand): Likewise.
4678 * config/tc-v850.c (v850_insert_operand): Likewise.
4679
996991aa
AO
46802004-05-05 Alexandre Oliva <aoliva@redhat.com>
4681
4682 * configure.in: Set em=linux for frv-*-*linux*.
4683 * configure: Rebuilt.
4684 * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
4685 (frv_md_fdpic_enabled): New.
4686 * config/tc-frv.c (frv_md_fdpic_enabled): New.
4687 (DEFAULT_FDPIC): New.
4688 (frv_flags): Use DEFAULT_FDPIC.
4689 (frv_pic_flag): Likewise.
4690 (OPTION_NOPIC): New.
4691 (md_longopts): Add -mnopic.
4692 (md_parse_option): Handle it.
4693 (md_show_usage): Add -mfdpic and -mnopic.
4694
6b6e92f4
NC
46952004-05-05 Peter Barada <peter@the-baradas.com>
4696
4697 * config/tc-m68k.c: Add find_cf_chip to print list of valid
4698 chips for invalid coldfire instructions, rename selectors
4699 for ColdFire sub-variants, add 521x,5249,547x,548x and aliases,
4700 add current_chip to track which chip is referred to(including save/restore),
4701 use current_chip to select control registers, not current_arch.
4702 (md_show_usage): Add new chips.
4703 * doc/c-m68k.texi: Document new command line switches.
4704
6f079ae3
JJ
47052004-05-05 Jakub Jelinek <jakub@redhat.com>
4706
4707 * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
4708 (NOP_OPCODE): Define.
4709 (s390_align_code): Remove prototype.
4710 * tc-s390.c (s390_align_code): Remove.
4711
2d6ed997
L
47122004-05-04 H.J. Lu <hongjiu.lu@intel.com>
4713
4714 * config/tc-ia64.c (make_unw_section_name): Removed.
4715 (start_unwind_section): New function.
4716 (generate_unwind_image): Take const segT instead of const
4717 char *.
4718 (dot_handlerdata): Adjusted.
4719 (dot_endp): Likewise.
4720
b9f18452
L
47212004-05-02 H.J. Lu <hongjiu.lu@intel.com>
4722
4723 * config/obj-elf.c (obj_elf_change_section): Allow the
4724 ".note.GNU-stack" section has SHF_EXECINSTR.
4725
fafe6678
L
47262004-05-02 H.J. Lu <hongjiu.lu@intel.com>
4727
4728 * config/obj-elf.c (get_section): Return bfd_boolean.
4729 (obj_elf_change_section): Call bfd_get_section_by_name_if
4730 instead of bfd_map_over_sections.
4731
86654c12
L
47322004-04-30 H.J. Lu <hongjiu.lu@intel.com>
4733
4734 * config/obj-elf.c (get_section): New function.
4735 (obj_elf_change_section): Support multiple sections with same
4736 name.
4737
376eb240
NC
47382004-04-30 Nick Clifton <nickc@redhat.com>
4739
4740 * config/tc-arm.c (create_register_alias): Fix typo checking for
4741 case sensitive register aliases.
4742 (co_proc_number): Use error message string in all_reg_maps[]
4743 array.
4744 (cp_reg_required_here): Likewise.
4745 (fp_reg_required_here): Likewise.
4746
8a7140c3
NC
47472004-04-29 Brian Ford <ford@vss.fsi.com>
4748
4749 * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags.
4750
3e722fb5
CD
47512004-04-28 Chris Demetriou <cgd@broadcom.com>
4752
4753 * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build)
4754 (load_address, macro, mips_ip, md_parse_option)
4755 (mips_force_relocation, mips_validate_fix, md_apply_fix3)
4756 (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all
4757 embedded-PIC handling, and update comments.
4758 (SWITCH_TABLE): Remove.
4759 * config/tc-mips.h (DIFF_EXPR_OK): Delete.
4760 (enum mips_pic_level): Remove EMBEDDED_PIC.
4761 (EXTERN_FORCE_RELOC): Remove embedded-PIC handling.
4762 (TC_FORCE_RELOCATION): Update comment.
4763 * ecoff.c (ecoff_build_lineno): Add comment about some code that
4764 might be safe to remove now that MIPS embedded-PIC is gone.
4765
351e2b5a
DA
47662004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4767
4768 * config/obj-som.c (obj_som_init_stab_section): Add new arguments in
4769 call to obj_set_subsection_attributes.
4770 (obj_som_init_stab_section): Likewise.
4771 * config/tc-hppa.c (default_subspace_dict): Add comdat field.
4772 (pa_def_subspaces): Provide comdat default.
4773 (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and
4774 not SEC_IS_COMMON if section is comdat, common or dup_common. Update
4775 calls to create_new_subspace and update_subspace to pass comdat flag.
4776 (create_new_subspace, update_subspace): Add new comdat argument. Use
4777 it in calls to obj_set_subsection_attributes.
4778 * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter
4779 and use of comdat, common and dup_comm parameters.
4780
f5842774
L
47812004-04-26 H.J. Lu <hongjiu.lu@intel.com>
4782
4783 * config/obj-elf.c (obj_elf_change_section): Check if the old
4784 group name is NULL before comparison.
4785
558fe4a7
CD
47862004-04-23 Chris Demetriou <cgd@broadcom.com>
4787
4788 * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
4789
81a21e38
TS
47902004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4791
4792 * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
4793
47942004-04-23 Chris Demetriou <cgd@broadcom.com>
1ffcab4b
CD
4795
4796 * config/tc-mips.c (md_longopts): Remove -membedded-pic option.
4797 (OPTION_MEMBEDDED_PIC): Remove.
4798 (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
4799 (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
4800 (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
4801 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
4802 (OPTION_ELF_BASE): Renumber.
4803 (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
4804 (md_show_usage): Remove mention of -membedded-pic.
4805 * doc/as.texinfo: Remove mention of -membedded-pic.
4806
4d0d148d
TS
48072004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4808
4809 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
4810 * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
4811 a.out support.
4812 (md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
4813 s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
4814 USE_GLOBAL_POINTER_OPT.
4815
017315e4
TS
48162004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4817
4818 * config/tc-mips.c (macro): One more use of load_delay_nop.
4819
269137b2
TS
48202004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
4821
4822 * config/tc-mips.c (load_delay_nop): New function.
4823 (load_address, macro): Use load_delay_nop() to build a nop
4824 which can be omitted with gpr_interlocks.
4825
24772049
TS
48262004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4827
4828 * config/tc-mips.c (hilo_interlocks, gpr_interlocks,
4829 cop_interlocks): Remove superfluous CPU entries.
4830
06516a5e
PB
48312004-04-22 Paul Brook <paul@codesourcery.com>
4832
4833 * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
4834
fd99574b
NC
48352004-04-22 Peter Barada <peter@the-baradas.com>
4836
4837 * NEWS: Added support for EMAC instructions and MAC/EMAC
4838 Motorola syntax.
4839 * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
4840 scale factor tokens, trailing_ampersand to mark mask addressing
4841 for MAC/EMAC instructions.
4842 * config/m68k-parse.y: Add options_ampersand clause, '<<',
4843 '>>'.
4844 (yylex): Handle '>', '<', and '&' following '+'.
4845 * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
04ca8703 4846 architectures in archs[].
fd99574b
NC
4847 (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
4848 for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
4849 respectively.
4850 (m68k_ip): Handle trailing '&' on MAC/EMAC insns.
4851 (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
4852 cases.
4853 Add EMAC operands to init_table[].
4854
69b97547
NC
48552004-04-22 Bruno De Bus <bdebus@elis.ugent.be>
4856
4857 * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
4858 state.
4859 (TC_SEGMENT_INFO_TYPE): Define to enum mstate.
4860 * config/tc-arm.c (enum mstate): Delete from here.
4861 (mapping_state): Remove the static mapstate variable and instead
4862 store the state in the segment. This allows a per-section mapping
4863 state. Handle and ignore MAP_UNDEFINED states.
4864 (arm_elf_change_section): Get the current mapping state from the
4865 new section.
4866 (s_ltorg): Set the mapping state to MAP_DATA.
4867 (arm_cleanup): Use arm_elf_change_section to get the mapping state
4868 for each pool as it is emitted.
4869
48702004-04-22 Nick Clifton <nickc@redhat.com>
4871
4872 * config/tc-arm.h: Formatting tidy ups.
4873
7a7f4e42
CD
48742004-04-20 Chris Demetriou <cgd@broadcom.com>
4875
4876 * NEWS: Note that MIPS -membedded-pic option is deprecated.
4877
6482c264
NC
48782004-04-20 DJ Delorie <dj@redhat.com>
4879
4880 * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define.
4881 * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32".
4882 [TE_PE] (O_secrel): Define.
4883 [TE_PE] (x86_pe_cons_fix_new): New.
4884 [TE_PE] (pe_directive_secrel): Likewise.
4885 (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL.
4886
5bf10039
EC
48872004-04-19 Eric Christopher <echristo@redhat.com>
4888
c04f5787
AM
4889 * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
4890 of previous patch for fix in gcc.
5bf10039 4891
77cd6497
JJ
48922004-04-19 Jakub Jelinek <jakub@redhat.com>
4893
4894 * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
4895
b8861cfb
NS
48962004-04-19 Nathan Sidwell <nathan@codesourcery.com>
4897
4898 * read.c (do_align): Call md_flush_pending_output, if defined.
4899
f4c724fc
AM
49002004-04-16 Alan Modra <amodra@bigpond.net.au>
4901
4902 * expr.c (operand): Correct checks for ++ and --.
4903
a4b6e8f6
L
49042004-04-14 H.J. Lu <hongjiu.lu@intel.com>
4905
4906 * config/tc-generic.c: Add some comments.
4907
d766e8ec
RS
49082004-04-14 Richard Sandiford <rsandifo@redhat.com>
4909
4910 * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
4911 -{no-}mfix-vr4122-bugs.
4912 * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
4913 (append_insn, mips_emit_delays): Update accordingly.
4914 (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
4915 (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
4916 (md_parse_option): Update after above changes.
4917 (md_show_usage): Add -mfix-vr4120.
4918
ed9589d4
BW
49192004-04-13 Bob Wilson <bob.wilson@acm.org>
4920
4921 * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
4922 of .section directive; add a reference to the ELF .subsection
4923 directive.
4924
097dba13
NC
49252004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4926
4927 * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
4928 in parallel.
4929
279500de
TS
49302004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4931
4932 * Makefile.am: Remove mips from aout targets.
4933 * Makefile.in: Regenerate.
4934 * configure.in: Remove mips-dec-bsd* target.
4935 * configure: Regenerate.
4936
b7d7dc63
AM
49372004-04-07 Alan Modra <amodra@bigpond.net.au>
4938
4939 PR 96
4940 * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
4941 to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64.
4942 Update "mapping". Restrict some @ modifiers to 32 bit.
4943
f55629b8
KK
49442004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
4945 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4946
4947 * config/tc-sh.c (dont_adjust_reloc_32): New variable.
4948 (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
4949 dont_adjust_reloc_32 is set.
4950 (md_longopts): Add option -renesas.
4951 (md_parse_option, md_show_usage): Likewise.
4952 * doc/c-sh.texi: Likewise.
4953
a7844384
NC
49542004-04-01 Dave Korn <dk@artimi.com>
4955
4956 * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
4957 hi16 and lo16 fixS structs.
4958 (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
4959 exactly the same way as for RELOC_DLX_REL16.
4960 (machine_ip): properly respect LO flag in the_insn and
4961 output RELOC_DLX_LO16 rather than RELOC_DLX_16.
4962 (md_apply_fix3): apply RELOC_DLX_LO16.
4963
6c71dbc4
SS
49642004-03-30 Stan Shebs <shebs@apple.com>
4965
4966 Remove long-obsolete MPW support.
4967 * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
4968 * configure.in: Remove mention of ppc-*-mpw* config.
4969 * configure.in: Likewise.
4970
7cc69913
NC
49712004-03-30 Nick Clifton <nickc@redhat.com>
4972
4973 * config/tc-arm.c (meabi_flags): Make its use conditional upon
4974 OBJ_ELF being defined.
4975
53fbb48a
AM
49762004-03-27 Alan Modra <amodra@bigpond.net.au>
4977
4978 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
4979
d507cf36
PB
49802004-03-23 Paul Brook <paul@codesourcery.com>
4981
4982 * config/tc-arm.c (meabi_flags): New variable.
4983 (arm_parse_eabi): New function.
4984 (md_begin): Set flags for EABI v3.
4985 (arm_eabis): Add.
4986 (arm_long_opts): Add meabi.
ab1e9ef7 4987 * doc/as.texinfo <ARM>: Document -meabi.
d507cf36
PB
4988 * doc/c-arm.texi: Ditto.
4989
88d65ad6
BW
49902004-03-22 Bob Wilson <bob.wilson@acm.org>
4991
4992 * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
4993 tables even when use_literal_section flag is not set.
4994
13ef8878
AM
49952004-03-22 Alan Modra <amodra@bigpond.net.au>
4996
4997 * config/tc-sh.c: Remove trailing whitespace.
4998
1048a9ba
HPN
49992004-03-22 Hans-Peter Nilsson <hp@axis.com>
5000
5001 * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
5002 --mul-bug-abort and the default behavior.
5003 * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
5004 (err_for_dangerous_mul_placement): New variable.
5005 (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
5006 macros.
5007 (md_cris_relax_table): Have placeholder for STATE_MUL.
5008 (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
5009 (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
5010 case doing nothing.
5011 (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
5012 STATE_BYTE)>: Ditto.
5013 (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
5014 alignment and position of this frag, emit error message if
5015 suspicious.
5016 (md_assemble): For a multiply insn and when checking it,
5017 transform the current frag into a special frag for that purpose.
5018 (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
5019 OPTION_MULBUG_ABORT_ON>: Handle new options.
5020
a7877748
BW
50212004-03-19 Bob Wilson <bob.wilson@acm.org>
5022
5023 * config/tc-xtensa.c (mark_literal_frags): New function.
5024 (xtensa_move_literals): Call mark_literal_frags for all literal
5025 segments, including init and fini literal segments.
5026 (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
5027
9992270f
DA
50282004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5029
5030 * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
5031 (pa_comm): Set BSF_OBJECT in symbol flags.
5032
6e1772d5
AM
50332004-03-19 Alan Modra <amodra@bigpond.net.au>
5034
5035 * Makefile.am: Run "make dep-am".
5036 * Makefile.in: Regenerate.
5037 * doc/Makefile.in: Regenerate.
5038 * config.in: Regenerate.
5039 * po/gas.pot: Regenerate.
5040
3e4caed2
NS
50412004-03-18 Nathan Sidwell <nathan@codesourcery.com>
5042
c95b35a9
NS
5043 * read.c (read_a_source_file): Use demand_empty_rest_of_line.
5044 (demand_empty_rest_of_line): Issue an error here.
5045 (ignore_rest_of_line): Silently skip to end.
5046 (demand_copy_string): Issue an error, not warning.
5047 (equals): Likewise.
5048 * config/obj-elf.c (obj_elf_section_name): Likewise.
5049 (obj_elf_section): Likewise.
5050 * config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
5051 (arc_extinst): Likewise.
5052 * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
5053 (dot_spill): Likewise.
5054 (dot_unwabi): Likewise.
5055 (dot_prologue): Likewise.
5056
3e4caed2
NS
5057 * expr.c (operand): Reject ++ and --.
5058 (operator): Likewise.
5059
2ce4cc60
KK
50602004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5061
5062 * config/tc-sh.c: Include dw2gencfi.h.
5063 (sh_cfi_frame_initial_instructions): New function.
5064 (sh_regname_to_dw2regnum): Likewise.
5065 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
5066 file.
5067 (TARGET_USE_CFIPOP): Define.
5068 (tc_cfi_frame_initial_instructions): Likewise.
5069 (tc_regname_to_dw2regnum): Likewise.
5070 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
5071 * Makefile.am: Update dependencies.
5072 * Makefile.in: Regenerate.
5073
9183ed4b
AM
50742004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5075
5076 * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
5077 * configure: Regenerate.
5078
00bbdfe7
BW
50792004-03-12 Bob Wilson <bob.wilson@acm.org>
5080
5081 * read.c (s_leb128): Call md_flush_pending_output.
5082
0f10071e
ML
50832004-03-12 Michal Ludvig <mludvig@suse.cz>
5084
5085 * config/tc-i386.c (output_insn): Handle PadLock instructions.
5086 * config/tc-i386.h (CpuPadLock): New define.
5087 (CpuUnknownFlags): Added CpuPadLock.
5088
84c84759
AS
50892004-03-07 Andreas Schwab <schwab@suse.de>
5090
5091 * doc/c-hppa.texi (HPPA Directives): Fix typo.
5092
6ec51dba
RH
50932004-03-07 Richard Henderson <rth@redhat.com>
5094
5095 * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
5096 (cfi_finish): Likewise for fde.
5097
bae25f19
L
50982004-03-05 H.J. Lu <hongjiu.lu@intel.com>
5099
5100 * config/tc-ia64.c (md_assemble): Properly handle NULL
5101 align_frag.
5102 (ia64_handle_align): Don't abort if failed to add a stop bit.
5103
ab509236
L
51042004-03-04 H.J. Lu <hongjiu.lu@intel.com>
5105
5106 * Makefile.in: Regenerated.
5107 * aclocal.m4: Likewise.
5108 * configure: Likewise.
5109 * doc/Makefile.in: Likewise.
5110
d9201763
L
51112004-03-03 H.J. Lu <hongjiu.lu@intel.com>
5112
5113 * config/tc-ia64.c (dot_align): New.
5114 (ia64_do_align): Make it static.
5115 (md_pseudo_table): Use "dot_align" for "align".
5116 (ia64_md_do_align): Don't set align_frag here.
5117 (ia64_handle_align): Add a stop bit to the previous bundle if
5118 needed.
5119
5120 * config/tc-ia64.h (ia64_do_align): Removed.
5121
ae51a426
JR
51222003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
5123
5124 * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
5125 -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
5126 (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
5127 the most general type or the user specifically requested it.
5128 (md_assemble): Add a new error message for when an instruction
5129 is understood, but is not allowed due to an -isa option.
5130
9545c4ce
L
51312004-03-02 H.J. Lu <hongjiu.lu@intel.com>
5132
5133 * config/tc-ia64.c (align_frag): New.
5134 (md_assemble): Set the tc_frag_data field in align_frag for
5135 IA64_OPCODE_FIRST instructions.
5136 (ia64_md_do_align): Set align_frag.
5137 (ia64_handle_align): Add a stop bit if needed.
5138
5139 * config/tc-ia64.h (TC_FRAG_TYPE): New.
5140 (TC_FRAG_INIT): New.
5141
676a64f4
RS
51422004-03-01 Richard Sandiford <rsandifo@redhat.com>
5143
5144 * config/tc-frv.c (fr400_audio): New variable.
5145 (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
5146 (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
5147 (target_implements_insn_p): New function.
5148 (md_assemble): Report an error if the processor doesn't implement
5149 the instruction.
5150
bd337dde
NC
51512004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
5152
5153 * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
5154 (md_parse_option): Ditto.
5155 (OPTION_NO_SPECIAL_M32R): Added.
5156 (md_show_usage): Document it.
5157 (enable_speial_m32r): Changed a default value from 0 to 1.
5158 * doc/c-m32r.texi: Document the -no-bitinst option.
5159
78878175
NC
51602004-02-27 Nick Clifton <nickc@redhat.com>
5161
5162 * config/tc-sh.c (get_operand): Revert previous delta.
5163 (tc_gen_reloc): Check for an unknown reloc type before processing
5164 the addend.
5165
1d6d62a4
MS
51662004-02-27 Hannes Reinecke <hare@suse.de>
5167
5168 * config/tc-s390.c (s390_insn): Correct range check for opcode in
5169 .insn pseudo operation.
5170
4aa3e325
NC
51712004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
5172
5173 * config/tc-sh.c (get_operand): In case of #Imm, check has been
5174 added for wrong syntax.
5175
73369e65
EC
51762004-02-26 Eric Christopher <echristo@redhat.com>
5177
5178 * config/tc-mips.c (mips_dwarf2_addr_size): New.
5179 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
5180
6a5709a5
JR
51812004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
5182
5183 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
5184 nibble types to assembler.
5185
95385380
FF
51862004-02-25 Fred Fish <fnf@redhat.com>
5187
5188 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
5189
b5e0fabd
JW
51902004-02-20 James E Wilson <wilson@specifixinc.com>
5191
5192 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
5193 finalize_syms.
5194 (fixup_unw_records): New arg before_relax. Pass to slot_index.
5195 (ia64_estimate_size_before_relax): New.
5196 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
5197 (generate_unwind_image): Pass 1 to fixup_unw_records.
5198 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
5199 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
5200
2f01ffbf
JJ
52012004-02-19 Jakub Jelinek <jakub@redhat.com>
5202
5203 * stabs.c (generate_asm_file): Avoid warning about use of
5204 uninitialized variable.
5205
9c59842f
JW
52062004-02-18 David Mosberger <davidm@hpl.hp.com>
5207
5208 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
5209 body, and endp, allow unwind records which do not have a "t"
5210 (time/instruction) field.
5211
34920d91
NC
52122004-02-17 Petko Manolov <petkan@nucleusys.com>
5213
5214 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
5215 (do_mav_dspsc_2): Likewise.
5216 Fix accumulator registers move opcodes.
5217
4dde8e61 52182004-02-13 Hannes Reinecke <hare@suse.de>
13ef8878 5219 Jakub Jelinek <jakub@redhat.com>
4dde8e61
AJ
5220
5221 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
5222
936cf02e
JW
52232004-02-10 Steve Ellcey <sje@cup.hp.com>
5224
5225 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
5226 (tc_frob_symbol): New macro definition.
5227 * config/tc-ia64.c (ia64_frob_symbol): New routine.
5228
e41f12f3
DJ
52292004-02-09 Daniel Jacobowitz <drow@mvista.com>
5230
5231 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
5232 read-only.
5233
a8a3b3b2
NS
52342004-02-09 Nathan Sidwell <nathan@codesourcery.com>
5235
5236 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
5237 (TC_CASE_SENSITIVE): ... this.
5238 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
5239 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
5240
c97b7ef6
JW
52412004-02-06 James E Wilson <wilson@specifixinc.com>
5242
5243 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
5244 (generate_unwind_image): Re-add it here.
5245
e4475e39
NS
52462004-02-06 Nathan Sidwell <nathan@codesourcery.com>
5247
5248 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
5249 * read.h (SKIP_WHITESPACE): Turn into an expression.
5250 * read.c (read_a_source_file): A pseudo is removed by having a
5251 NULL handler.
5252
5738bc24
JW
52532004-02-05 James E Wilson <wilson@specifixinc.com>
5254
5255 * config/tc-ia64.c (output_endp): New.
5256 (count_bits): Delete.
5257 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
5258 endp unwind records.
5259 (fixup_unw_records): Handle endp unwind records. Delete code for
5260 shortening prologue regions not followed by a body record.
5261 (dot_endp): Call add_unwind_entry to emit endp unwind record.
5262 * config/tc-ia64.h (unw_record_type): Add endp.
5263
d6e78c11
JW
52642004-02-03 James E Wilson <wilson@specifixinc.com>
5265
5266 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
5267 fill padding bytes with zeroes.
5268 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
5269 sets unwind_record slot_number and slot_frag fields.
5270
f6a22291
MR
52712004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5272
5273 * config/tc-mips.c (add_got_offset_hilo): New function.
5274 (macro): Use load_register() and add_got_offset_hilo() to load
5275 constants instead of hardcoding code sequences throughout.
5276
127cab00
L
52772004-01-28 H.J. Lu <hongjiu.lu@intel.com>
5278
5279 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
5280
6358301e
NC
52812004-01-26 Bernardo Innocenti <bernie@develer.com>
5282
5283 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
5284 like m68k-elf.
5285 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
5286 of hard-coded test for TARGET_OS=elf.
5287
c8978940
CD
52882004-01-24 Chris Demetriou <cgd@broadcom.com>
5289
5290 * config/tc-mips.c (hilo_interlocks): Change definition
5291 so that MIPS32, MIPS64 and later ISAs are included, along with
5292 the already-included machines. Update comments.
5293
c3ba240c
DJ
52942004-01-23 Daniel Jacobowitz <drow@mvista.com>
5295
5296 * config/tc-arm.c (tc_gen_reloc): Improve error message for
5297 undefined local labels.
5298
e864ceca
RS
52992004-01-23 Richard Sandiford <rsandifo@redhat.com>
5300
5301 * config/tc-mips.c (load_address, macro): Update comments about
5302 NewABI GP relaxation.
5303
67c0d1eb
RS
53042004-01-23 Richard Sandiford <rsandifo@redhat.com>
5305
5306 * config/tc-mips.c (macro_build): Remove place and counter arguments.
5307 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
5308 (mips16_macro_build, macro_build_jalr): Remove counter argument.
5309 (set_at, load_register, load_address, move_register): Likewise.
5310 (load_got_offset, add_got_offset): Likewise.
5311 Update all calls and tidy accordingly.
5312
584892a6
RS
53132004-01-23 Richard Sandiford <rsandifo@redhat.com>
5314
5315 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
5316 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
5317 (RELAX_USE_SECOND): Bump to 0x10000.
5318 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
5319 (mips_macro_warning): New variable.
5320 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
5321 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
5322 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
5323 of RELAX_ENCODE.
5324 (append_insn): Update mips_macro_warning.sizes.
5325 (macro_start, macro_warning, macro_end): New functions.
5326 (macro_build): Don't emit warnings here.
5327 (macro_build_lui, md_estimate_size_before_relax): ...or here.
5328 (md_convert_frag): Check for cases where one macro alternative
5329 needs a warning and the other doesn't. Emit a warning if the
5330 longer sequence was chosen.
5331
4d7206a2
RS
53322004-01-23 Richard Sandiford <rsandifo@redhat.com>
5333
5334 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
5335 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
5336 the first sequence, the size of the second sequence, and a flag
5337 that says whether we should warn.
5338 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
5339 (RELAX_FIRST, RELAX_SECOND): New.
5340 (mips_relax): New variable.
5341 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
5342 (append_insn): Remove "place" argument. Use mips_relax.sequence
5343 rather than "place" to check whether we're expanding the second
5344 alternative of a relaxable macro. Remove redundant check for
5345 branch relaxation. If generating a normal insn, and there
5346 is not enough room in the current frag, call relax_close_frag()
5347 to close it. Update mips_relax.sizes[]. Emit fixups for the
5348 second version of a relaxable macro. Record the first relaxable
5349 fixup in mips_relax. Remove tc_gen_reloc workaround.
5350 (macro_build): Remove all uses of "place". Use mips_relax.sequence
5351 in the same way as in append_insn.
5352 (mips16_macro_build): Remove "place" argument.
5353 (macro_build_lui): As for macro_build. Don't drop the add_symbol
5354 when generating the second version of a relaxable macro.
5355 (load_got_offset, add_got_offset): New functions.
5356 (load_address, macro): Use new relaxation machinery. Remove
5357 tc_gen_reloc workarounds.
5358 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
5359 version of a relaxable macro is needed. Return -RELAX_SECOND if the
5360 first version is needed.
5361 (tc_gen_reloc): Remove relaxation handling.
5362 (md_convert_frag): Go through the fixups for a relaxable macro and
5363 mark those that belong to the unneeded alternative as done. If the
5364 second alternative is needed, adjust the fixup addresses to account
5365 for the deleted first alternative.
5366
0530d30a
RS
53672004-01-23 Richard Sandiford <rsandifo@redhat.com>
5368
5369 * frags.h (frag_room): Declare.
5370 * frags.c (frag_room): New function.
5371 * doc/internals.texi: Document it.
5372
048cdf86
TS
53732004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5374
5375 * config/tc-mips.c (append_insn): Don't do r3900 interlock
5376 optimization for -mtune=r3900, as this will break on other CPUs.
5377
28d39d1a
NC
53782004-01-11 Tom Rix <tcrix@worldnet.att.net>
5379
5380 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
73369e65 5381 be relaxed, use fixup.
28d39d1a
NC
5382 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
5383
26664553
JJ
53842004-01-19 Jakub Jelinek <jakub@redhat.com>
5385
5386 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
5387 precision operands.
5388
895921c9
MR
53892004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5390
5391 * config/tc-mips.c (append_insn): Properly detect variant frags
5392 that preclude swapping of relaxed branches. Correctly swap
5393 instructions between frags when dealing with relaxed branches.
5394
f8b73030
MR
53952004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5396
5397 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
5398 throughout.
5399 * aclocal.m4: Regenerate.
5400 * configure: Regenerate.
5401
ca9a79a1 54022004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
73369e65 5403
ca9a79a1
NC
5404 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
5405 manipulation insns.
5406
cc3d92a5
RS
54072004-01-12 Richard Sandiford <rsandifo@redhat.com>
5408
5409 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
5410 reloc, reserve space for the delay slot as well as the jalr itself.
5411
e45d0630
PB
54122004-01-09 Paul Brook <paul@codesourcery.com>
5413
5414 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
5415 (do_vfp_sp2_from_reg2): New function.
5416 (insns): Use them.
5417 (do_vfp_dp_from_reg2): Check return values properly.
5418
81912461
ILT
54192004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
5420
78849248
ILT
5421 * config/tc-mips.c (warn_nops): Remove static variable.
5422 (macro): Remove test of warn_nops.
5423 (md_shortops): Remove 'n'.
5424 (md_parse_option): Remove 'n' case.
5425 (md_show_usage): Remove -n.
5426 * doc/as.texinfo (Overview): Remove MIPS -n option.
5427 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
5428 * NEWS: Mention removal of MIPS -n option.
5429
81912461
ILT
5430 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
5431 (cop_interlocks): Check ISA level.
5432 (cop_mem_interlocks): Define.
5433 (reg_needs_delay): Check cop_interlocks rather than
5434 ISA_HAS_COPROC_DELAYS.
5435 (append_insn): Likewise. Use cop_mem_interlocks rather than
5436 directly checking mips_opts.isa.
5437 (mips_emit_delays): Likewise.
5438
73f20958
L
54392004-01-07 H.J. Lu <hongjiu.lu@intel.com>
5440
5441 * config/tc-ia64.c (unwind): Move next_slot_number and
5442 next_slot_frag to ...
5443 (unw_rec_list): Here.
5444 (free_list_records): Removed.
5445 (output_unw_records): Likewise.
5446 (generate_unwind_image): Make it void.
5447 (alloc_record): Initialize next_slot_number and next_slot_frag.
5448 (slot_index): Take .org, .space and .align into account.
5449 (fixup_unw_records): Don't set slot_number to 0. Use
5450 list->next_slot_number and list->next_slot_frag instead of
5451 unwind.next_slot_number and unwind.next_slot_frag.
5452 (ia64_convert_frag): New.
5453 (generate_unwind_image): Generate a rs_machine_dependent frag
5454 for unwind record.
5455 (emit_one_bundle): Use list->next_slot_number and
5456 list->next_slot_frag instead of unwind.next_slot_number and
5457 unwind.next_slot_frag.
5458
5459 * config/tc-ia64.h (md_convert_frag): Defined as
5460 ia64_convert_frag.
5461 (md_estimate_size_before_relax): Defined as (f)->fr_var.
5462
99d09cdb
AO
54632004-01-06 Alexandre Oliva <aoliva@redhat.com>
5464
5465 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
5466 * config/tc-frv.h (md_apply_fix3): Don't define.
5467 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
5468 operands.
5469 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
5470 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
5471 * config/tc-frv.c (line_separator_chars): Add `!'.
5472 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
5473 * config/tc-frv.c (md_assemble): Clear insn upfront.
5474 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
5475 * config/tc-frv.c (OPTION_FDPIC): New macro.
5476 (md_longopts): Add mfdpic.
5477 (md_parse_option): Handle it.
5478 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
5479 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
5480 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
5481 (frv_pic_ptr): Parse funcdesc.
5482
4a4c4a1d
MR
54832004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5484
5485 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
5486 gasver.texi. Remove duplicate symbol definitions for texi2pod.
5487
2251dd89
MR
54882004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5489
5490 * Makefile.am (Makefile): Move the dependency on
5491 $(BFDDIR)/configure.in to...
5492 (CONFIG_STATUS_DEPENDENCIES): ... here.
5493 (AUTOMAKE_OPTIONS): Require automake 1.8.
5494 * Makefile.in: Regenerate.
5495 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
5496 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
5497 $(BFDDIR)/configure.in here as well.
5498 * doc/Makefile.in: Regenerate.
5499
c6581168
MR
55002004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5501
5502 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
5503 * Makefile.in: Regenerate.
5504 * aclocal.m4: Regenerate.
5505 * doc/Makefile.am (install, install-info): Remove.
5506 (install-data-local): A new hook for install-info.
5507 (AUTOMAKE_OPTIONS): Require automake 1.8.
5508 * doc/Makefile.in: Regenerate.
5509
303e7b79
NC
55102004-01-02 Nutan Singh <nutan@kpitcummins.com>
5511
5512 * doc/c-sh.texi: Update description about floating point behavior
5513 of SH family.
5514
b50c15dc
NC
55152004-01-02 Bernardo Innocenti <bernie@develer.com>
5516
5517 * configure.in: Add m68k-uClinux target.
5518 * configure: Regenerate.
7de9afa2 5519
c9e214e5 5520For older changes see ChangeLog-0203
08d56133
NC
5521\f
5522Local Variables:
5523mode: change-log
5524left-margin: 8
5525fill-column: 74
5526version-control: never
5527End:
This page took 0.551919 seconds and 4 git commands to generate.