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