2005-07-07 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
... / ...
CommitLineData
12005-07-06 H.J. Lu <hongjiu.lu@intel.com>
2
3 * config/tc-i386.c (cpu_arch): Add sse3.
4
5 * config/tc-i386.h (CpuSSE3): Renamed from ...
6 (CpuPNI): This. Defined as CpuSSE3.
7
8 * doc/c-i386.texi: Document .sse3.
9
102005-07-06 Jan Beulich <jbeulich@novell.com>
11
12 * config/tc-ia64.c (nop): Use zero for L-unit pseudo-nop.
13
142005-07-05 Nick Clifton <nickc@redhat.com>
15
16 * config/tc-pdp11.c (md_apply_fix): Cast first argument to
17 md_chars_to_numbers to an unsigned pointer in order to avoid a
18 compile time warning.
19
202005-07-05 Paul Brook <paul@codesourcery.com>
21
22 * config/tc-ppc.c (ppc_target_format): Add VxWorks.
23
242005-07-05 Aldy Hernandez <aldyh@redhat.com>
25
26 * config/tc-ms1.c: New.
27 * config/tc-ms1.h: New.
28 * testsuite/gas/ms1/allinsn.d: New.
29 * testsuite/gas/ms1/allinsn.s: New.
30 * testsuite/gas/ms1/badinsn.s: New.
31 * testsuite/gas/ms1/badinsn1.s: New.
32 * testsuite/gas/ms1/badoffsethigh.s: New.
33 * testsuite/gas/ms1/badoffsetlow.s: New.
34 * testsuite/gas/ms1/badorder.s: New.
35 * testsuite/gas/ms1/badreg.s: New.
36 * testsuite/gas/ms1/badsignedimmhigh.s: New.
37 * testsuite/gas/ms1/badsignedimmlow.s: New.
38 * testsuite/gas/ms1/badsyntax.s: New.
39 * testsuite/gas/ms1/badsyntax1.s: New.
40 * testsuite/gas/ms1/badunsignedimmhigh.s: New.
41 * testsuite/gas/ms1/badunsignedimmlow.s: New.
42 * testsuite/gas/ms1/errors.exp: New.
43 * testsuite/gas/ms1/ldst.s: New.
44 * testsuite/gas/ms1/misc.d: New.
45 * testsuite/gas/ms1/misc.s: New.
46 * testsuite/gas/ms1/ms1-16-003.d: New.
47 * testsuite/gas/ms1/ms1-16-003.s: New.
48 * testsuite/gas/ms1/ms1.exp: New.
49 * testsuite/gas/ms1/msys.d: New.
50 * testsuite/gas/ms1/msys.s: New.
51 * testsuite/gas/ms1/relocs.d: New.
52 * testsuite/gas/ms1/relocs.exp: New.
53 * testsuite/gas/ms1/relocs1.s: New.
54 * testsuite/gas/ms1/relocs2.s: New.
55
562005-07-05 Jan Beulich <jbeulich@novell.com>
57
58 * config/tc-i386.h (CpuSVME): New.
59 (CpuUnknownFlags): Include CpuSVME.
60 * config/tc-i386.c (cpu_arch): Add .pacifica and .svme. Add opteron
61 as alias of sledgehammer.
62 (md_assemble): Include invlpga in the check for insns with two source
63 operands.
64 (process_operands): Include SVME insns in the check for ignored
65 segment overrides. Adjust diagnostic.
66 (i386_index_check): Special-case SVME insns with memory operands.
67
682005-07-04 Khem Raj <kraj@mvista.com>
69 Nick Clifton <nickc@redhat.com>
70
71 * tc-arm.c (struct arm_it): Make operands.imm signed to match its
72 use an immediate value.
73 (parse_vfp_reg_list): Make the 2nd parameter an unsigned pointer
74 since the register field of the operands structure is unsigned.
75 (s_arm_unwind_save_vfp): Make "reg" unsigned.
76 (parse_operands): Make the 2ns parameter an unsigned pointer to
77 match its use.
78 (do_ldrd): When using the imm field of the operands structure as a
79 second register field, treat it as unsigned.
80
812005-07-04 Alan Modra <amodra@bigpond.net.au>
82
83 PR 1004
84 * config/obj-elf.c (obj_elf_change_section): Use backend
85 get_sec_type_attr.
86
872005-07-01 Jan Beulich <jbeulich@novell.com>
88
89 * config/tc-ia64.c (line_separator_chars): Add '{' and '}'.
90 (output_spill_psprel, output_spill_psprel_p): Combine.
91 (output_spill_sprel, output_spill_sprel_p): Combine.
92 (output_spill_reg, output_spill_regp_p): Combine.
93 (process_one_record): Handle psp_psprel.
94 (parse_predicate_and_operand): New.
95 (convert_expr_to_ab_reg): Two new parameters. Return void. Always
96 initialize output values. Emit diagnostic case here.
97 (convert_expr_to_xy_reg): Likewise. Don't allow r0, f0, and f1.
98 (add_unwind_entry): New second parameter. Allow first parameter to
99 be NULL. Parse optional tag, emit warning about further support for
100 it otherwise being missing. Check end-of-line when requested.
101 (dot_fframe): Clear operand when wrong. Allow tag.
102 (dot_vframe): Likewise.
103 (dot_vframesp): Likewise. Rename parameter, issue warning when psp
104 relative.
105 (dot_vframepsp): Remove.
106 (dot_altrp): Clear operand when wrong. Allow tag.
107 (dot_save): Likewise. Let default case also go through
108 add_unwind_entry.
109 (dot_savemem): Likewise.
110 (dot_restore): Don't return when wrong operand. Allow tag.
111 (dot_spillreg, dot_spillreg_p): Combine. Simplify by using
112 parse_predicate_and_operand and the new arguments to
113 convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
114 when wrong operand. Allow tag.
115 (dot_restorereg, dot_restorereg_p): Likewise.
116 (dot_spillmem, dot_spillmem_p): Likewise.
117 (dot_saveg): Clear operand when wrong. Perform tighter operand
118 checks. Allow tag.
119 (dot_savef): Likewise.
120 (dot_saveb): Likewise.
121 (dot_savegf): Likewise.
122 (dot_spill): Remove end-of-line check. Combine. Simplify by using
123 parse_predicate_and_operand and the new arguments to
124 convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
125 when wrong operand. Allow tag.
126 (popcount): New.
127 (dot_label_state): Don't return when wrong operand.
128 (dot_copy_state): Likewise.
129 (dot_unwabi): Likewise. Check if in prologue.
130 (dot_body): Don't call demand_empty_rest_of_line.
131 (dot_prologue): Type of mask and grsave is unsigned. Perform tighter
132 operand checks.
133 (md_pseudo_table): Also use dot_restorereg for .restorereg.p. Also
134 use dot_spillreg for .spillreg.p. Also use dot_spillmem for
135 .spillpsp.p and .spillsp.p. Also use dot_vframesp for .vframepsp.
136 (parse_operand): New second parameter. Don't deal with '}' here
137 anymore. Don't advance past end-of-line.
138 (parse_operands): Pass second argument to parse_operand.
139 (ia64_start_line): Prevent out-of-bounds access through
140 input_line_pointer. Deal with '}' here.
141 (ia64_unrecognized_line): Don't deal with '}' here.
142 (dot_alias): Use ignore_rest_of_line not its deprecated alias
143 discard_rest_of_line.
144
1452005-06-30 Zack Weinberg <zack@codesourcery.com>
146
147 * config/tc-arm.c (T_OPCODE_BRANCH, encode_arm_addr_mode_2)
148 (encode_arm_addr_mode_3, encode_arm_cp_address, do_blx, do_t_blx)
149 (do_t_branch, insns [b, bl]): Don't encode pipeline offset.
150 (do_branch): Always set inst.reloc.pc_rel.
151 (s_arm_elf_cons): Disallow use of (plt) suffix.
152 (do_adrl): Adjust X_add_number unconditionally.
153 (md_pcrel_from): Rename md_pcrel_from_section, add second segT
154 argument. Handle all adjustment for pipeline offset here.
155 (md_apply_fix): No need to undo work of md_pcrel_from. No
156 need to extract pre-encoded pipeline adjustments from various
157 branch instructions. Generally, assume instructions are already
158 all-bits-zero in the field being fixed up. Remove all OBJ_ELF
159 special cases. Handle BFD_RELOC_ARM_PLT32 like
160 BFD_RELOC_ARM_PCREL_BRANCH.
161 (tc_gen_reloc): Remove OBJ_ELF special case.
162 * config/tc-arm.c: Define MD_PCREL_FROM_SECTION.
163
1642005-06-30 Ben Elliston <bje@gnu.org>
165
166 * Makefile.am (check-DEJAGNU): Don't search for expect.
167 * Makefile.in: Regenerate.
168
1692005-06-30 Ben Elliston <bje@gnu.org>
170
171 * Makefile.am (EXPECT): Set to expect.
172 (RUNTEST): Likewise, set to runtest.
173 * Makefile.in: Regenerate.
174
1752005-06-23 Ben Elliston <bje@gnu.org>
176
177 * config/m68k-parse.h: Use ISO C90.
178 * config/m68k-parse.y: Likewise.
179 * config/tc-m68k.h: Likewise.
180
1812005-06-20 H.J. Lu <hongjiu.lu@intel.com>
182
183 PR 1013
184 * config/tc-i386.c (md_assemble): Don't call optimize_disp on
185 movabs.
186 (optimize_disp): Optimize only if possible. Don't use 64bit
187 displacement on non-constants and do same on constants if
188 possible.
189
1902005-06-17 Jan Beulich <jbeulich@novell.com>
191
192 * config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL.
193 (tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64,
194 BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64.
195 (output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S
196 and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of
197 aborting.
198 (output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S.
199 Use BFD_RELOC_X86_64_GOTPC32 instead of aborting.
200 (tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL.
201 Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle
202 BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32,
203 BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also
204 convert 8-byte pc-relative relocations.
205 (lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff.
206 (i386_validate_fix): Likewise.
207 (x86_cons): Also handle quad values in 64-bit mode.
208 (i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64.
209 (md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and
210 BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64
211 to pc-relative variant. Also check for BFD_RELOC_64_PCREL.
212
2132005-06-13 Zack Weinberg <zack@codesourcery.com>
214
215 * config/tc-arm.c (find_real_start): Check S_IS_LOCAL on
216 symbolP as well as for names with a leading dot. Use ACONCAT.
217 (md_apply_fix): For branch relocations, only replace value
218 with fixP->fx_offset (under #ifdef OBJ_ELF) when !fixP->fx_done.
219 (arm_force_relocation): Remove #ifdef OBJ_ELF case.
220 * config/tc-arm.h (LOCAL_LABEL): Remove unnecessary parentheses.
221 (LOCAL_LABEL_PREFIX): Don't define.
222
2232005-06-10 Alan Modra <amodra@bigpond.net.au>
224
225 * config/tc-hppa.c (pa_block): Allocate just one byte for the
226 fill pattern.
227
2282005-06-08 James E Wilson <wilson@specifixinc.com>
229
230 PR 994
231 * config/tc-ia64.c (slot_index): Revert last change. If first_frag
232 is NULL, then emit a warning, and return the current index.
233
2342005-06-08 Tomas Hurka <tom@hukatronic.cz>
235
236 PR 991
237 * config/tc-m68k.c (m68k_ip): Test for insn compatiblity using a
238 temporary copy of the operands array so that changes can be safely
239 backed out if the insn does not match.
240 (m68k_compare_opcode): Shortcut the test when the parameters are
241 the same. Return 1 if the names match but the second opcode is
242 further on in the array than the first.
243
2442005-06-08 Nick Clifton <nickc@redhat.com>
245
246 PR 994
247 * config/tc-ia64.c (slot_index): Check for a NULL first_frag.
248
2492005-06-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
250
251 * config/tc-m32r.c (use_parallel): Change default value from 1 to 0.
252
2532005-06-07 Aldy Hernandez <aldyh@redhat.com>
254 Michael Snyder <msnyder@redhat.com>
255 Stan Cox <scox@redhat.com>
256
257 * configure.in: Add ms1 case.
258
259 * configure: Regenerate.
260
261 * configure.tgt: Add ms1 case.
262
2632005-06-07 Bob Wilson <bob.wilson@acm.org>
264
265 * config/tc-xtensa.h (resource_table): Change units to unsigned chars.
266 * config/tc-xtensa.c (new_resource_table): Likewise.
267 (resize_resource_table): Likewise.
268 (release_resources): Fix assertion for unsigned values.
269
2702005-06-07 Zack Weinberg <zack@codesourcery.com>
271
272 * cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c
273 * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h
274 * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c
275 * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h
276 * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c
277 * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h
278 * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h
279 * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c
280 * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h
281 * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c
282 * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h
283 * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c
284 * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c
285 * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h
286 * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c
287 * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c
288 * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c
289 * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c
290 * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c
291 * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h
292 * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h
293 * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c
294 * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c
295 * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h
296 * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c
297 * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c
298 * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h
299 * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h
300 * config/tc-xtensa.c, config/tc-z8k.c:
301 Replace all instances of the string "_apply_fix3" with
302 "_apply_fix".
303 * po/POTFILES.in, po/gas.pot: Regenerate.
304
3052005-06-08 Alan Modra <amodra@bigpond.net.au>
306
307 * Makefile.am: Run "make dep-am".
308 (POTFILES): Remove GAS_CFILES.
309 * Makefile.in: Regenerate.
310
3112005-06-07 David Ung <davidu@mips.com>
312
313 * config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k,
314 24kc, 24kf and 24kfx under MIPS32 release 2.
315
3162005-06-04 Nick Clifton <nickc@redhat.com>
317
318 * config/tc-arm.c (CE, C3, CM, UE, UF): Redefine without reference
319 to their Thumb-enabled equivalents.
320
3212005-06-01 Maciej W. Rozycki <macro@linux-mips.org>
322
323 * config/tc-mips.c (load_register): Add leading "0x" to the
324 output of sprintf_vma().
325 (macro): Likewise.
326
3272005-06-01 Nick Clifton <nickc@redhat.com>
328
329 * config/tc-arm.c (TxCE, TxC3, TxCM, TUE, TUF): Remove redundant
330 test for the presence of thumb version of the parsing functions
331 since they must always exist and the test generates a compile time
332 warning message.
333
3342005-05-31 Richard Henderson <rth@redhat.com>
335
336 * config/tc-alpha.c (O_lituse_jsrdirect): New.
337 (alpha_reloc_op): Add it.
338 (debug_exp): Handle it.
339 (DUMMY_RELOC_LITUSE_JSRDIRECT): New.
340 (emit_insn): Handle it.
341 * doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect.
342
3432005-05-31 Christian Groessler <chris@groessler.org>
344
345 * write.c (dump_section_relocs): Convert to ISO-C.
346 (write_relocs): Avoid signed/unsigned and fprintf argument
347 warnings in debug code.
348
3492005-05-26 Zack Weinberg <zack@codesourcery.com>
350
351 * config/tc-arm.h (TC_FIX_TYPE): Change to int.
352 (TC_INIT_FIX_DATA): Initialize to 0, not NULL.
353 * config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast.
354 (md_apply_fix3): Delete fix_is_thumb variable; refer to
355 fixP->tc_fix_data directly in the sole place it was used.
356 Explicitly truncate value, *valP, fixP->fx_addnumber, and
357 fixP->fx_offset to 32 bits, for consistent behavior between 32-
358 and 64-bit hosts.
359
3602005-05-27 Jan Beulich <jbeulich@novell.com>
361
362 * config/tc-ia64.c (struct proc_pending): New.
363 (unwind): Replace proc_start with proc_pending.
364 (unwind_diagnostic): Check unwind.proc_pending.sym.
365 (dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym.
366 Check if previous proc not closed. Record all entry points.
367 (dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym.
368 Set symbol sizes for entry points recorded in dot_proc. Check
369 arguments for consistency with respective .proc's.
370 (md_assemble): Replace unwind.proc_start with
371 unwind.proc_pending.sym.
372
3732005-05-27 Jan Beulich <jbeulich@novell.com>
374
375 * config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr,
376 and last_ptr. Check all in-use slots for first one with non-NULL
377 unwind_record. Don't reload end_ptr before second update round.
378
3792005-05-26 James E Wilson <wilson@specifixinc.com>
380
381 * config/tc-ia64.c (extra_goodness): Update comment.
382 (md_begin): Add debugging code to print best_template table.
383
3842005-05-25 Jan Beulich <jbeulich@novell.com>
385
386 * config/tc-ia64.c (md_begin): Don't try to match slot 2 of an MLX
387 template.
388
3892005-05-25 Jan Beulich <jbeulich@novell.com>
390
391 * config/tc-ia64.c (ia64_gen_real_reloc_type): Also handle
392 BFD_RELOC_UNUSED when determining the width of the reloc.
393
3942005-05-25 Jan Beulich <jbeulich@novell.com>
395
396 * config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind
397 section entry.
398
3992005-05-25 Jan Beulich <jbeulich@novell.com>
400
401 * config/tc-ia64.c (dot_radix): Rewrite.
402
4032005-05-25 Jan Beulich <jbeulich@novell.com>
404
405 * config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number
406 and next_slot_frag.
407 (alloc_record): Remove references to next_slot_number and
408 next_slot_frag.
409 (emit_one_bundle): Likewise.
410
4112005-05-22 Nick Clifton <nickc@redhat.com>
412
413 * config/tc-v850.c (md_apply_fix3): Pass the address of the
414 message buffer when invoking the insert function.
415
4162005-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
417
418 * config/tc-hppa.c (pa_ip): Promote architecture from PA 1.0 to 1.1
419 only if an instruction match is found.
420
4212005-05-20 Bob Wilson <bob.wilson@acm.org>
422
423 * config/tc-xtensa.c (xg_assemble_vliw_tokens): Change subtraction
424 to addition in argument to xtensa_dwarf2_emit_insn.
425
4262005-05-19 Zack Weinberg <zack@codesourcery.com>
427
428 * Makefile.am: Have 'all' depend on 'info'.
429 * Makefile.in: Regenerate.
430
4312005-05-19 Alan Modra <amodra@bigpond.net.au>
432
433 * config/tc-ppc.c (ppc_force_relocation): Add BFD_RELOC_24_PLT_PCREL.
434
4352005-05-19 Anton Blanchard <anton@samba.org>
436
437 * config/tc-ppc.c (parse_cpu): Handle "-mpower5".
438 (md_show_usage): Document it.
439 (ppc_setup_opcodes): Insert POWER5 mnemonics.
440 * doc/c-ppc.texi (PowerPC-Opts): Document "-mpower5".
441
4422005-05-19 Jan Beulich <jbeulich@novell.com>
443
444 * config/tc-ia64.c (dot_endp): Don't use global symbol for unwind
445 relocations in unwind section.
446
4472005-05-18 Nick Clifton <nickc@redhat.com>
448
449 * config/tc-v850.c (md_apply_fix3): Only use the insertion routine
450 if one exists. Ignore any error messages it may produce, just
451 allow it to perform the insertion.
452
4532005-05-17 Zack Weinberg <zack@codesourcery.com>
454
455 * hash.c (hash_lookup): Add len parameter. All callers changed.
456 (hash_find_n): New interface.
457 * hash.h: Prototype hash_find_n.
458 * sb.c: Include as.h.
459 (scrub_from_sb, sb_to_scrub, scrub_position): New statics.
460 (sb_scrub_and_add_sb): New interface.
461 * sb.h: Prototype sb_scrub_and_add_sb.
462 * input-scrub.c (input_scrub_include_sb): Use sb_scrub_and_add_sb.
463
464 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Remove
465 reference to BFD_RELOC_ARM_GOT12 which is never generated.
466 * config/tc-arm.c: Rewrite, adding Thumb-2 support.
467
4682005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
469
470 * doc/Makefile.am (gasver.texi): Don't use $<.
471 * doc/Makefile.in: Regenerated.
472
4732005-05-17 Nick Clifton <nickc@redhat.com>
474
475 PR 876
476 * symbols.c (resolve_symbol_value): Do not move symbols whose
477 value expression has not been resolved or finalized into the
478 absolute section as this will confuse other parts of the assembler
479 into thinking that their value is zero.
480
4812005-05-17 Jan Beulich <jbeulich@novell.com>
482
483 * read.c (_find_end_of_line): New.
484 (find_end_of_line): New.
485 (HANDLE_CONDITIONAL_ASSEMBLY): Use it.
486 (read_a_source_file): Use it.
487 (s_globl): Use it.
488 (s_macro): Use it.
489 (get_line_sb): Use it.
490 (s_errwarn): Replace discard_rest_of_line by ignore_rest_of_line.
491 (s_comm_internal): Likewise.
492 (s_lsym): Likewise.
493 (s_macro): Likewise.
494 (s_ignore): Use ignore_rest_of_line.
495 * read.h (find_end_of_line): Prototype.
496 (discard_rest_of_line): Remove prototype. #define to
497 ignore_rest_of_line.
498
4992005-05-17 Nick Clifton <nickc@redhat.com>
500
501 * config/tc-v850,h (TC_FIX_TYPE): Define.
502 (TC_INIT_FIX_TYPE): Define.
503 * config/tc-v850.c (md_assemble): When creating a fix record the
504 operand in the tc_fix_data field.
505 (md_apply_fix3): When applying a resolved fix use the operand's
506 insertion procedure to store the value, if the operand has been
507 recorded.
508
5092005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
510
511 * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap
512 invocation.
513 * Makefile.in: Regenerated.
514
5152005-05-13 Sterling Augustine <sterling@tensilica.com>
516 Bob Wilson <bob.wilson@acm.org>
517
518 * config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
519 message.
520 (xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional
521 for handling RELAX_CHECK_ALIGN_NEXT_OPCODE.
522
5232005-05-11 Alan Modra <amodra@bigpond.net.au>
524
525 * config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,
526 BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S.
527
5282005-05-10 Michael Matz <matz@suse.de>
529
530 * frags.c (frag_grow): Don't be too greedy in allocating memory.
531
532 * config/tc-hppa.c (pa_block): Check arguments to .block[z].
533
5342005-05-10 Hans-Peter Nilsson <hp@bitrange.com>
535
536 PR binutils/886
537 * config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly.
538 Handle label-without-colon before ordinary dot-pseudo as an
539 ordinary label. Don't leak memory for label-without-colon alone
540 on a line. Don't mmixal-munge operands for dot-pseudos.
541
5422005-05-10 Jan Beulich <jbeulich@novell.com>
543
544 * macro.c (get_any_string): Remove the two last parameters. Replace
545 references to the former expand parameter by using macro_alternate.
546 Simplify loop condition for checking for end-of-string.
547 (get_string): Remove redunant call to sb_skip_white.
548 (do_formals): Remove two last arguments to get_any_string.
549 (macro_expand): Likewise.
550 (expand_irp): Likewise.
551
5522005-05-10 Jan Beulich <jbeulich@novell.com>
553
554 * read.c (s_macro): Move local variable 'local' to smaller scope.
555 Call sb_kill on it when done.
556
5572005-05-09 Jan Beulich <jbeulich@novell.com>
558
559 * config/tc-i386.c (optimize_disp): Discard displacement entirely
560 when zero and not required by encoding constraints.
561
5622005-05-09 H.J. Lu <hongjiu.lu@intel.com>
563
564 PR 936
565 * config/tc-sh64.c (sh64_fake_label): New.
566
567 * config/tc-sh64.h (TC_FAKE_LABEL): New.
568
569 * doc/internals.texi (TC_FAKE_LABEL): Document.
570
571 * write.c (TC_FAKE_LABEL): New.
572 (adjust_reloc_syms): Use it.
573 (write_object_file): Likewise.
574
5752005-05-09 Jan Beulich <jbeulich@novell.com>
576
577 * config/tc-i386.c (parse_insn): Disallow use of prefix separator
578 and comma in Intel mode.
579
5802005-05-09 Jan Beulich <jbeulich@novell.com>
581
582 * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode
583 names to match ABI. Add more registers for 32-bit and 64-bit modes.
584 Make name array static and const. Adjust lookup to account for NULL
585 entries (standing for unused register numbers).
586
5872005-05-09 Jan Beulich <jbeulich@novell.com>
588
589 * config/tc-i386.c (parse_insn): Consider all matching instructions
590 when checking for string instruction after string-only prefix.
591
5922005-05-07 H.J. Lu <hongjiu.lu@intel.com>
593
594 PR 940
595 * config/tc-ia64.c (start_unwind_section): Properly check
596 comdat group with SHF_GROUP.
597
5982005-05-06 Bob Wilson <bob.wilson@acm.org>
599
600 * doc/c-xtensa.texi (Literal Directive): Spelling correction.
601
6022005-05-06 Bob Wilson <bob.wilson@acm.org>
603
604 * config/tc-xtensa.c: Remove excess whitespace.
605 * config/tc-xtensa.h: Likewise.
606 * config/xtensa-istack.h: Likewise.
607 * config/xtensa-relax.c: Likewise.
608 * config/xtensa-relax.h: Likewise.
609
6102005-05-06 Nick Clifton <nickc@redhat.com>
611
612 * sb.h: Fix formatting of comments.
613 * sb.c: Fix formatting of comments.
614
6152005-05-06 Jan Beulich <jbeulich@novell.com>
616
617 * sb.h (sb_add_buffer): Reintroduce.
618 * sb.c (sb_add_buffer): Likewise.
619
6202005-05-06 Jan Beulich <jbeulich@novell.com>
621
622 * macro.c (new_formal, del_formal): New.
623 (do_formals): Use new_formal. Check for and parse qualifier. Warn if
624 required argument has default value. Stop looking for more formal
625 when there was a vararg one.
626 (macro_expand_body): Use new_formal and del_formal.
627 (macro_expand): Likewise. Initialize local variable err. Don't
628 return immediately when encountering an error. Warn when keyword
629 argument already had a value assigned. Eliminate duplicate clearing
630 of argument value. When current positional argument matches parameter
631 of vararg type, assign to it all the remaining arguments. Issue error
632 when required parameter does not have value.
633 (free_macro): Use del_formal.
634 (expand_irp): Initialize formal type. Free buffers associated with
635 formal prior to returning.
636 * macro.h (struct formal_struct): Add new field 'type' with new
637 enumeration type 'formal_type'.
638 * doc/as.texinfo: Document macro parameter qualifiers.
639 * NEWS: Mention new functionality.
640
6412005-05-06 Jan Beulich <jbeulich@novell.com>
642
643 * cond.c (s_ifb): New.
644 * read.c (potable): Add s_ifb as handler for .ifb and .ifnb.
645 * read.h (s_ifb): Prototype.
646 * doc/as.texinfo: Document .ifb and .ifnb.
647
6482005-05-05 Steve Ellcey <sje@cup.hp.com>
649
650 * config/tc-ia64.c (MIN): Undef.
651
6522005-05-05 Paul Brook <paul@codesourcery.com>
653
654 * config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS.
655
6562005-05-05 Matt Thomas <matt@3am-software.com>
657
658 * config/tc-vax.c (md_assemble): Don't assume a valueT is 4
659 bytes.
660
6612005-05-05 Nick Clifton <nickc@redhat.com>
662
663 * Update the address and phone number of the FSF organization in
664 the GPL notices in the following files:
665 COPYING, app.c, as.c, as.h, asintl.h, atof-generic.c, bignum.h,
666 bit_fix.h, cgen.c, cgen.h, cond.c, debug.c, depend.c, dw2gencfi.c,
667 dw2gencfi.h, dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c,
668 emul-target.h, emul.h, expr.c, expr.h, flonum-copy.c,
669 flonum-konst.c, flonum.h, frags.c, frags.h, hash.c, hash.h,
670 input-file.c, input-file.h, input-scrub.c, itbl-lex.h, itbl-lex.l,
671 itbl-ops.c, itbl-ops.h, itbl-parse.y, listing.c, listing.h,
672 literal.c, macro.c, macro.h, messages.c, obj.h, output-file.c,
673 output-file.h, read.c, read.h, sb.c, sb.h, stabs.c,
674 struc-symbol.h, subsegs.c, subsegs.h, symbols.c, symbols.h, tc.h,
675 write.c, write.h, config/aout_gnu.h, config/atof-ieee.c,
676 config/atof-vax.c, config/itbl-mips.h, config/m68k-parse.h,
677 config/m68k-parse.y, config/m88k-opcode.h, config/obj-aout.c,
678 config/obj-aout.h, config/obj-bout.c, config/obj-bout.h,
679 config/obj-coff.c, config/obj-coff.h, config/obj-ecoff.c,
680 config/obj-ecoff.h, config/obj-elf.c, config/obj-elf.h,
681 config/obj-evax.c, config/obj-evax.h, config/obj-hp300.c,
682 config/obj-hp300.h, config/obj-ieee.c, config/obj-ieee.h,
683 config/obj-multi.h, config/obj-som.c, config/obj-som.h,
684 config/tc-a29k.c, config/tc-a29k.h, config/tc-alpha.c,
685 config/tc-alpha.h, config/tc-arc.c, config/tc-arc.h,
686 config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
687 config/tc-cris.c, config/tc-cris.h, config/tc-crx.c,
688 config/tc-crx.h, config/tc-d10v.c, config/tc-d10v.h,
689 config/tc-d30v.c, config/tc-d30v.h, config/tc-dlx.c,
690 config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h,
691 config/tc-frv.c, config/tc-frv.h, config/tc-generic.c,
692 config/tc-generic.h, config/tc-h8300.c, config/tc-h8300.h,
693 config/tc-h8500.c, config/tc-h8500.h, config/tc-hppa.c,
694 config/tc-hppa.h, config/tc-i370.c, config/tc-i370.h,
695 config/tc-i386.c, config/tc-i386.h, config/tc-i860.c,
696 config/tc-i860.h, config/tc-i960.c, config/tc-i960.h,
697 config/tc-ia64.c, config/tc-ia64.h, config/tc-ip2k.c,
698 config/tc-ip2k.h, config/tc-iq2000.c, config/tc-iq2000.h,
699 config/tc-m32r.c, config/tc-m32r.h, config/tc-m68851.h,
700 config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
701 config/tc-m68k.h, config/tc-m88k.c, config/tc-m88k.h,
702 config/tc-maxq.c, config/tc-maxq.h, config/tc-mcore.c,
703 config/tc-mcore.h, config/tc-mips.c, config/tc-mips.h,
704 config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
705 config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
706 config/tc-msp430.c, config/tc-msp430.h, config/tc-ns32k.c,
707 config/tc-ns32k.h, config/tc-openrisc.c, config/tc-openrisc.h,
708 config/tc-or32.c, config/tc-or32.h, config/tc-pdp11.c,
709 config/tc-pdp11.h, config/tc-pj.c, config/tc-pj.h,
710 config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c,
711 config/tc-s390.h, config/tc-sh.c, config/tc-sh.h,
712 config/tc-sh64.c, config/tc-sh64.h, config/tc-sparc.c,
713 config/tc-sparc.h, config/tc-tahoe.c, config/tc-tahoe.h,
714 config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
715 config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
716 config/tc-tic80.c, config/tc-tic80.h, config/tc-v850.c,
717 config/tc-v850.h, config/tc-vax.c, config/tc-vax.h,
718 config/tc-w65.c, config/tc-w65.h, config/tc-xstormy16.c,
719 config/tc-xstormy16.h, config/tc-xtensa.c, config/tc-xtensa.h,
720 config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
721 config/te-freebsd.h, config/te-hp300.h, config/te-hppa.h,
722 config/te-ic960.h, config/te-irix.h, config/te-nbsd.h,
723 config/te-netware.h, config/te-sparcaout.h, config/te-sun3.h,
724 config/te-tmips.h, config/te-vxworks.h, config/vax-inst.h,
725 config/xtensa-istack.h, config/xtensa-relax.c,
726 config/xtensa-relax.h, doc/fdl.texi
727
7282005-05-05 Nick Clifton <nickc@redhat.com>
729
730 * config/tc-arm.c (arm_opts): Make -mlittle-endian switch set
731 the target_big_endian variable to false.
732
7332005-05-04 Alan Modra <amodra@bigpond.net.au>
734
735 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section
736 list traversal. Use bfd_section_list_prepend.
737 * config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate
738 over the section list.
739 * config/tc-xtensa.c (xtensa_remove_section): Delete.
740 (xtensa_insert_section): Delete.
741 (xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove
742 and bfd_section_list_prepend.
743 (xtensa_reorder_seg_list): Use bfd_section_list_remove and
744 bfd_section_list_insert_after.
745
7462005-05-03 Nick Clifton <nickc@redhat.com>
747
748 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations
749 of bfd_section_list... macros.
750 * config/tc-mmix.c (mmix_frob_file): Likewise.
751 * config/tc-xtensa.c (xtensa_remove_section): Likewise.
752 (xtensa_insert_section): Likewise.
753
754 * macro.c (macro_hash): Remove static.
755 * macro.h (macro_hash): Provide an external declaration.
756
7572005-05-02 H.J. Lu <hongjiu.lu@intel.com>
758
759 * write.c (write_object_file): Use bfd_section_double_list_remove
760 to remove sections.
761
7622005-05-02 Daniel Jacobowitz <dan@codesourcery.com>
763
764 * doc/Makefile.am (gasver.texi): Correct quoting.
765 * doc/Makefile.in: Regenerated.
766
7672005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org>
768
769 * configure.tgt: Add h8300*-*-rtemscoff.
770 Switch h8300*-*-rtems* to elf.
771
7722005-04-29 H.J. Lu <hongjiu.lu@intel.com>
773
774 * hash.c: Undo the last change.
775 * hash.h: Likewise.
776
7772005-04-29 Daniel Jacobowitz <dan@codesourcery.com>
778
779 * doc/Makefile.am (gasver.texi): Depend on bfd/configure instead
780 of Makefile.
781 (DISTCLEANFILES): Remove.
782 (MAINTAINERCLEANFILES): Add asconfig.texi.
783 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
784
7852005-04-29 Ben Elliston <bje@au.ibm.com>
786
787 * Makefile.am (GAS_CFILES): Remove bignum-copy.c.
788 (GENERIC_OBJS): Likewise, remove bignum-copy.o.
789 (bignum-copy.o): Remove.
790 * Makefile.in: Regenerate.
791 * makefile.vms (OBJS): Remove bignum-copy.obj.
792 * symbols.h (local_symbol_make): Remove declaration.
793 (verify_symbol_chain_2): Likewise.
794 * symbols.c (local_symbol_make): Make static.
795 (max_indent_level): Likewise.
796 (verify_symbol_chain_2): Remove.
797 * macro.c (macro_hash): Make static.
798 * messages.c (fprint_value): Remove.
799 * read.h (get_absolute_expr): Remove.
800 (emit_leb128_expr): Likewise.
801 (do_s_func): Likewise.
802 * read.c (do_s_func): Make static.
803 (emit_leb128_expr): Likewise.
804 (get_absolute_expr): Likewise.
805 * as.h (as_howmuch): Remove declaration.
806 (fprint_value): Likewise.
807 * as.c (myname): Make static.
808 * input-scrub.c (as_howmuch): Remove.
809 (as_1_char): Likewise.
810 * input-file.h (input_file_is_open): Remove.
811 * input-file.c (input_file_is_open): Likewise.
812 * expr.h (expr_build_unary): Remove declaration.
813 (expr_build_binary): Likewise.
814 * expr.c (expr_build_unary): Remove.
815 (expr_build_binary): Likewise.
816 * hash.h (hash_replace): Remove declaration.
817 (hash_delete): Likewise.
818 * hash.c (hash_replace): Remove.
819 (hash_delete): Likewise.
820 * bignum-copy.c (bignum_copy): Move from here ..
821 * config/tc-vax.c (bignum_copy): .. to here.
822 * bignum.h (LOG_TO_BASE_2_OF_10): Remove.
823 (bignum_copy): Remove extern declaration.
824 * sb.h (string_count): Remove extern declaration.
825 (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
826 (sb_name): Likewise.
827 * sb.c (dsize): Replace preprocessor macro with static int.
828 (string_count): Make static.
829 (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
830 (sb_name): Likewise.
831 * config/obj-coff.c (dim_index): Make static.
832 * config/tc-i386.c (GOT_symbol): Likewise.
833 (output_invalid_buf): Likewise.
834 * doc/internals.texi (Warning and error messages): Remove the
835 prototype for fprint_value.
836
8372005-04-27 Ben Elliston <bje@au.ibm.com>
838
839 * link.cmd: Remove.
840
8412005-04-26 H.J. Lu <hongjiu.lu@intel.com>
842
843 * config/obj-multi.h (FAKE_LABEL_NAME): Defined.
844
845 * read.c (pseudo_set): Disallow symbol set to common symbol.
846
847 PR 857
848 * write.c (write_object_file): Report common symbol name when
849 disallowing local symbol set to common symbol.
850 (adjust_reloc_syms): Disallow local symbol set to undefined
851 symbol.
852
8532005-04-25 Jan Beulich <jbeulich@novell.com>
854
855 * macro.c (macro_expand_body): Replace locals indicator parameters
856 with actual macro_entry. New local variables macro_line and err.
857 Don't return when encountering an error, just record the fact.
858 Detect local symbol name colliding with parameter. Track line number
859 inside of macro expansion.
860 (do_formals): Move local variable name to wider scope. Check
861 parameter of the same name doesn't already exist. In MRI mode, also
862 check it doesn't collide with the argument count pseudo-parameter).
863 (define_macro): Add file and line number parameters. Remove local
864 variable namestr. New local variable error. Initialize macro_entry
865 members file, line, and name. Don't return when encountering an
866 error, just record the fact. Use %s in some diagnostics for read.c
867 to insert the macro name. Free macro_entry on error.
868 (macro_expand): Pass macro_entry to macro_epand_body. Don't return
869 when encountering an error, just record the fact.
870 (expand_irp): Don't return when encountering an error, just record
871 the fact.
872 * macro.h (macro_struct): New members name, file, and line.
873 (define_macro): Add file and line number parameters.
874 * read.c (s_macro): Pass file and line to define_macro. Tag warning
875 regarding pseudo-op redefinition with the file/line that macro
876 definition started at.
877
8782005-04-22 Bob Wilson <bob.wilson@acm.org>
879
880 * config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro.
881 (future_alignment_required): Remove ifdefs that use it.
882
8832005-04-22 Bob Wilson <bob.wilson@acm.org>
884
885 * config/tc-xtensa.c (xg_get_build_instr_size): Remove.
886 (xg_is_narrow_insn, xg_expand_narrow): Remove. Merge into...
887 (xg_is_single_relaxable_insn): ...here. Add "targ" and "narrow_only"
888 parameters.
889 (xg_assembly_relax, xg_find_narrowest_format, relaxation_requirements,
890 convert_frag_narrow): Use new version of xg_is_single_relaxable_insn.
891
8922005-04-21 Christian Groessler <chris@groessler.org>
893
894 * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
895 array.
896
8972005-04-20 H.J. Lu <hongjiu.lu@intel.com>
898
899 * config/obj-aout.h (S_IS_EXTERN): Removed.
900 * config/obj-bout.h (S_IS_EXTERN): Likewise.
901 * config/obj-coff.h (S_IS_EXTERN): Likewise.
902 * symbols.c (S_IS_EXTERN): Likewise.
903 * symbols.h (S_IS_EXTERN): Likewise.
904
905 * config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with
906 S_IS_EXTERNAL.
907 * config/tc-d10v.c (md_apply_fix3): Likewise.
908 * config/tc-ia64.c (ia64_fix_adjustable): Likewise.
909 * config/tc-iq2000.c (iq2000_fix_adjustable): Likewise.
910 * config/tc-m32r.c (m32r_fix_adjustable): Likewise.
911 * config/tc-mmix.c (mmix_adjust_symtab): Likewise.
912 * config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise.
913 (shmedia_md_convert_frag): Likewise.
914 * symbols.c (print_symbol_value_1): Likewise.
915 * write.c (write_object_file): Likewise.
916
9172005-04-20 Nick Clifton <nickc@redhat.com>
918
919 * config/tc-xtensa.c (get_aligned_diff): Change type of
920 branch_align to offsetT so that its signedness matches that of
921 target_size.
922
923 * config/tc-mips.c (macro): Use sprintf_vma to convert a > 32 bit
924 number into a readable string.
925 (load_register): Likewise.
926
9272005-04-20 Andreas Schwab <schwab@suse.de>
928
929 * config/tc-ia64.c (specify_resource): Initialize all of tmpl.
930
9312005-04-19 David S. Miller <davem@davemloft.net>
932
933 * config/tc-sparc.c (md_assemble): If sparc_ip gives us a
934 NULL insn, exit early. Remove now spurious NULL checks.
935 (sparc_ip): Use as_bad for unknown opcode errors, set *pinsn
936 to NULL and exit.
937
9382005-04-19 Jan Beulich <jbeulich@novell.com>
939
940 * symbols.h (symbol_find_base): Remove prototype.
941 * symbols.c (save_symbol_name): Remove code section conditional upon
942 STRIP_UNDERSCORE.
943 (symbol_find): Remove.
944 (symbol_find_base): Rename to symbol_find.
945 * subsegs.c (section_symbol): Replace use of symbol_find_base with
946 symbol_find.
947 * config/obj-coff.c (tag_insert): Remove code section conditional
948 upon STRIP_UNDERSCORE.
949 (obj_coff_def): Likewise.
950 (obj_coff_endef): Replace use of symbol_find_base with symbol_find.
951 (coff_frob_symbol): Likewise.
952 (yank_symbols): Likewise.
953 (c_section_symbol): Likewise.
954 * config/obj-coff.h (DO_NOT_STRIP): Remove.
955 * config/tc-arm.c (symbol_locate): Remove code section conditional
956 upon STRIP_UNDERSCORE.
957 * config/tc-h8300.h (DO_NOT_STRIP): Remove.
958 * config/tc-h8500.h (DO_NOT_STRIP): Remove.
959 * config/tc-sh.h (DO_NOT_STRIP): Remove.
960 * config/tc-w65.h (DO_NOT_STRIP): Remove.
961 * config/tc-z8k.h (DO_NOT_STRIP): Remove.
962
9632005-04-19 Andreas Schwab <schwab@suse.de>
964
965 * config/tc-ia64.c (md_assemble): Fix error message for wrong
966 access to application registers.
967
9682005-04-19 Jan Beulich <jbeulich@novell.com>
969
970 * config/te-sysv32.h: Remove.
971 * Makefile.am (TARG_ENV_HFILES): Remove reference to
972 config/te-sysv32.h.
973 * Makefile.in (TARG_ENV_HFILES): Likewise.
974
9752005-04-19 Jan Beulich <jbeulich@novell.com>
976
977 PR/847
978 * config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero-
979 length symbols.
980
9812005-04-18 Mark Kettenis <kettenis@gnu.org>
982
983 * config/tc-i386.c (md_begin): Allow hyphens in mnemonics.
984
9852005-04-18 Maciej W. Rozycki <macro@linux-mips.org>
986
987 * config/tc-mips.c (normalize_constant_expr): Don't check for
988 HAVE_32BIT_GPRS.
989 (check_absolute_expr): Only call normalize_constant_expr() if
990 HAVE_32BIT_GPRS.
991 (mips_ip): Likewise.
992
993 * config/tc-mips.c (check_absolute_expr): Fix formatting.
994
9952005-04-18 Jan Beulich <jbeulich@novell.com>
996
997 * macro.c (free_token): New, freeing all the memory associated with a
998 macro.
999 (do_formals): Move initializers to ...
1000 (define_macro): ... here.
1001 (delete_macro): Convert passed in name to lower case. Warn when
1002 purging macro that doesn't exist. Use hash_jam instead of hash_delete.
1003
10042005-04-15 Maciej W. Rozycki <macro@linux-mips.org>
1005
1006 * config/tc-mips.c (normalize_constant_expr): Fix formatting.
1007
10082005-04-15 Jan Beulich <jbeulich@novell.com>
1009
1010 * config/obj-elf.c (obj_elf_struct): New.
1011 (elf_pseudo_table). Use it for .offset and .struct.
1012
10132005-04-14 Bob Wilson <bob.wilson@acm.org>
1014 Sterling Augustine <sterling@tensilica.com>
1015
1016 * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger
1017 than the section alignment.
1018
10192005-04-14 Bob Wilson <bob.wilson@acm.org>
1020 H.J. Lu <hongjiu.lu@intel.com>
1021
1022 * config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field.
1023 * config/tc-xtensa.c (xg_translate_sysreg_op,
1024 xtensa_translate_old_userregs_ops,
1025 xtensa_find_unaligned_branch_targets,
1026 xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags,
1027 relax_frag_add_nop): Support 64-bit host.
1028 (xtensa_mark_literal_pool_location, xtensa_move_literals): Use
1029 tc_frag_data lit_frchain and lit_seg fields instead of fr_var.
1030
10312005-04-14 Mark Kettenis <kettenis@gnu.org>
1032
1033 * configure.tgt: Add support for OpenBSD/sparc ELF.
1034
1035 * configure.tgt: Set emulation for mips-*-openbsd*.
1036 Remove broken mips-dec-openbsd* config.
1037 * configure.in: Set default ABI for mips64-*-openbsd*.
1038 * configure: Regenerate.
1039
10402005-04-14 Maciej W. Rozycki <macro@linux-mips.org>
1041
1042 * config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
1043 optimization for constant addresses.
1044
10452005-04-14 Nick Clifton <nickc@redhat.com>
1046
1047 * as.c (main): Move parse_args before symbol_begin and frag_init
1048 so that the hash table size can be set before it is used.
1049 * hash.c: Use an unsigned long type for the size of the hash
1050 tables.
1051 * hash.h (set_gas_hash_table_size): Update the prototype.
1052
10532005-04-14 Alan Modra <amodra@bigpond.net.au>
1054
1055 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
1056 * acinclude.m4: Include ../bfd/warning.m4.
1057 * configure.in: Invoke AM_BINUTILS_WARNINGS.
1058 * Makefile.in: Regenerate.
1059 * configure: Regenerate.
1060 * doc/Makefile.in: Regenerate.
1061
10622005-04-13 Maciej W. Rozycki <macro@linux-mips.org>
1063
1064 * config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro.
1065 (normalize_address_expr): New function to sign-extend address
1066 offsets that fit into 32 bits in 32-bit mode.
1067 (macro_build_ldst_constoffset): Use normalize_address_expr()
1068 instead of a handcoded sequence.
1069 (load_register): Likewise. Report oversized numbers in a useful
1070 way.
1071 (macro) [ld_st, ldd_std]: Reject all oversized offsets, not only
1072 for constant addresses. Report oversized numbers in a useful way.
1073 (mips_ip): Use normalize_address_expr() for addresses.
1074
10752005-04-12 Mark Kettenis <kettenis@gnu.org>
1076
1077 * config/tc-i386.c (output_insn): Handle VIA PadLock instructions
1078 similar to other instructions now that they're marked as ImmExt.
1079
10802005-04-12 Nick Clifton <nickc@redhat.com>
1081
1082 * hash.c (DEFAULT_SIZE): Delete. Replace with:
1083 (gas_hash_table_size): New static variable.
1084 (set_gas_hash_table_size): New function: Records a requested size
1085 for the hash tables.
1086 (get_gas_hash_table_size): New function: Return a prime number
1087 near the requested size of the hash table.
1088 (hash_new): Use get_gas_hash_table_size.
1089 * hash.h: Add a prototype for set_gas_hash_table_size.
1090 * as.c (show_usage): Add description of new switches: --hash-size
1091 and --reduce-memory-overheads.
1092 (option_values): Add OPTION_HASH_TABLE_SIZE and
1093 OPTION_REDUCE_MEMORY_OVERHEADS.
1094 (std_longpopts): Add entries for the new options.
1095 (parse_args): Handle the new options.
1096 * Makefile.am: Add a dependency of as.c on hash.h.
1097 * Makefile.in: Regenerate.
1098 * doc/as.texinfo: Document the new switches.
1099 * NEWS: Mention the new switches.
1100
11012005-04-12 Nick Clifton <nickc@redhat.com>
1102
1103 PR gas/818
1104 * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3]
1105 synonyms.
1106
11072005-04-12 Alan Modra <amodra@bigpond.net.au>
1108
1109 * Makefile.am: Run "make dep-am".
1110 * Makefile.in: Regenerate.
1111
11122005-04-11 Sterling Augustine <sterling@tensilica.com>
1113 Bob Wilson <bob.wilson@acm.org>
1114
1115 * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo.
1116
11172005-04-11 Mark Kettenis <kettenis@gnu.org>
1118
1119 * configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
1120
11212005-04-11 Jan Beulich <jbeulich@novell.com>
1122
1123 * NEWS: Mention these changes and their effects.
1124 * macro.c (get_token): Use is_name_beginner/is_part_of_name/
1125 is_name_ender.
1126 (check_macro): Likewise.
1127 (buffer_and_nest): Likewise. Permit multiple labels. Don't discard
1128 labels together with the closing pseudo-op.
1129 (macro_expand_body): Adjust comment. Range-check input before use.
1130 Adjust mis-spelled diagnostic. Use is_name_beginner.
1131 * read.c (try_macro): New.
1132 (read_a_source_file): New static variable last_eol. Don't list
1133 macro expansion lines more than once. Call try_macro.
1134 (s_macro): Set section of line_label to absolute instead of undefined.
1135 * doc/as.texinfo: Add information on the caveats of these changes.
1136
11372005-04-11 Alan Modra <amodra@bigpond.net.au>
1138
1139 * symbols.c (symbol_X_add_number): Change return type to "offsetT *".
1140 * symbols.h (symbol_X_add_number): Update prototype.
1141
11422005-04-10 Eric Christopher <echristo@redhat.com>
1143
1144 * symbols.c (symbol_X_add_number): Fix warning.
1145
11462005-04-10 H.J. Lu <hongjiu.lu@intel.com>
1147
1148 * config/tc-m68k.c (md_begin): Support 64bit host.
1149 (get_num): Support 64bit BFD on 32bit host.
1150
11512005-04-10 H.J. Lu <hongjiu.lu@intel.com>
1152
1153 * config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64.
1154
11552005-04-09 Alan Modra <amodra@bigpond.net.au>
1156
1157 * read.c (assign_symbol): Remove const from parm. Fix xcalloc
1158 call. Don't do the COFF hacks for multi-emulation gas. Move
1159 demand_empty_rest_of_line back to caller.
1160 (s_set, equals): demand_empty_rest_of_line here.
1161
1162 PR gas/827
1163 * as.h (rs_dummy): Define.
1164 * symbols.c (symbol_X_add_number): New function.
1165 * symbols.h (symbol_X_add_number): Declare.
1166 * stabs.c (aout_process_stab): Tidy symbol frag setting.
1167 * read.c (assign_symbol): New function, split out from s_set.
1168 Use symbol_find_or_make. Leave fr_type of dummy frag as rs_dummy.
1169 Fix COFF hacks for multi-emulation gas.
1170 (s_set): Call assign_symbol. Remove "register" keyword.
1171 (set_zero_frag): New function.
1172 (pseudo_set): Always check for assignment to section syms.
1173 Always set segment and frag of symbol, and likewise extern for
1174 aout/bout. Handle assignment of sym=sym+/-const specially. Don't
1175 special case exp.X_add_number non-zero for O_symbol expressions.
1176 (equals): Use assign_symbol.
1177
11782005-04-08 Bob Wilson <bob.wilson@acm.org>
1179
1180 * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
1181 SEC_MERGE sections.
1182
11832005-04-06 H.J. Lu <hongjiu.lu@intel.com>
1184
1185 * config/tc-i386.c (tc_gen_reloc): Don't turn
1186 BFD_RELOC_X86_64_32S into BFD_RELOC_32.
1187
11882005-04-06 Nick Clifton <nickc@redhat.com>
1189
1190 * po/rw.po: New translation: Kinyarwanda
1191 * configure.in (ALL_LINGUAS): Add rw
1192 * configure: Regenerate.
1193
11942005-04-05 Sterling Augustine <sterling@tensilica.com>
1195 Bob Wilson <bob.wilson@acm.org>
1196
1197 * config/tc-xtensa.c (branch_align_power): New.
1198 (xtensa_find_unaligned_branch_targets, get_aligned_diff,
1199 future_alignment_required): Use branch_align_power to check section
1200 alignment as well as xtensa_fetch_width when aligning branch targets.
1201
12022005-04-05 Bob Wilson <bob.wilson@acm.org>
1203
1204 * config/tc-xtensa.c: Warning fixes throughout.
1205 (xtensa_fetch_width): Change to unsigned.
1206 (assemble_nop, xtensa_find_unaligned_branch_targets,
1207 xtensa_find_unaligned_loops, xg_assemble_vliw_tokens,
1208 is_narrow_branch_guaranteed_in_range, xtensa_fix_close_loop_end_frags,
1209 min_bytes_to_other_loop_end, unrelaxed_frag_min_size,
1210 unrelaxed_frag_max_size, xtensa_fix_short_loop_frags,
1211 count_insns_to_loop_end, unrelaxed_frag_min_insn_count,
1212 get_text_align_max_fill_size, get_text_align_nop_count,
1213 get_text_align_nth_nop_size, get_noop_aligned_address,
1214 get_aligned_diff, convert_frag_align_next_opcode,
1215 convert_frag_immed_finish_loop, xtensa_create_property_segments,
1216 xtensa_create_xproperty_segments, xt_block_aligned_size): Clean up
1217 types, avoiding size_t and using offsetT and addressT appropriately.
1218 (get_text_align_power): Clean up types. Avoid incorrect bound.
1219 (get_text_align_fill_size): Clean up types. Restructure for clarity.
1220
12212005-04-04 H.J. Lu <hongjiu.lu@intel.com>
1222
1223 * config/tc-ia64.c (start_unwind_section): Undo the change
1224 of 2004-08-18.
1225 (generate_unwind_image, dot_endp): Likewise.
1226
12272005-04-01 David Mosberger <davidm@hpl.hp.com>
1228
1229 * config/tc-ia64.c (ia64_handle_align): Move le_nop and
1230 le_nop_stop arrays and initializers to file scope.
1231 (md_begin): When generating code for anything other than
1232 Itanium 1, use MMI instead of MFI NOP bundles as a filler.
1233
12342005-04-01 Jan Beulich <jbeulich@novell.com>
1235
1236 * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push
1237 immediates.
1238
12392005-04-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
1240
1241 * NEWS: Mention [fdgh]_floating.
1242 * config/atof-vax.c: Fix some whitespace.
1243 * config/tc-vax.c (md_pseudo_table): Add "[fdgh]_floating".
1244
12452005-04-01 Nick Clifton <nickc@redhat.com>
1246
1247 * configure.in: Add a check for <unistd.h> providing a prototype
1248 for getopt() which is compatible with the one in
1249 include/getopt.h. If so then define HAVE_DECL_GETOPT.
1250 * configure: Regenerate.
1251 * config.in (HAVE_DECL_GETOPT): Add.
1252
12532005-04-01 Jan Beulich <jbeulich@novell.com>
1254
1255 * config/tc-i386.c (s_bss): Call obj_elf_section_change_hook.
1256
12572005-04-01 Jan Beulich <jbeulich@novell.com>
1258
1259 * config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S.
1260 (tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case.
1261
12622005-03-30 Julian Brown <julian@codesourcery.com>
1263
1264 * config/tc-arm.c (arm_adjust_symtab): Rename
1265 bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
1266
12672005-03-30 Julian Brown <julian@codesourcery.com>
1268
1269 * config/tc-arm.c (mapping_state): Change documentation in function
1270 comment to cross-reference spec instead. Change type of mapping symbols
1271 to BSF_NO_TYPE.
1272 (arm_adjust_symtab): Don't change type of mapping symbols here.
1273
12742005-03-30 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1275
1276 * as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
1277 * config.in: Regenerate.
1278 * configure: Regenerate.
1279 * configure.in: Check for ffs decl and alphabetize.
1280
12812005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1282 Phil Blundell <philb@gnu.org>
1283
1284 * config/tc-arm.c (arm_parse_reloc): Add TLS relocations.
1285 (md_apply_fix3): Mark TLS symbols.
1286 (tc_gen_reloc): Handle TLS relocations.
1287 (arm_fix_adjustable): Ignore TLS relocations.
1288 (s_arm_elf_cons): Support expressions after decorated symbols.
1289
12902005-03-29 Julian Brown <julian@codesourcery.com>
1291
1292 * config/tc-arm.c (marked_pr_dependency): New bitmap, bit N indicates
1293 whether personality routine index N has been output for this section.
1294 (mapping_state): tc_segment_info_data now struct not enum.
1295 (arm_elf_change_section): Likewise, and marked_pr_dependency is now
1296 handled on section change.
1297 (create_unwind_entry): Previous code to output dependency removed.
1298 (s_arm_unwind_fnend): Output dependency if it hasn't been done already
1299 for this section.
1300 * config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct
1301 arm_segment_info_type.
1302 (arm_segment_info_type): New struct.
1303
13042005-03-28 Sterling Augustine <sterling@tensilica.com>
1305 Bob Wilson <bob.wilson@acm.org>
1306
1307 * config/tc-xtensa.c (do_align_targets): Update comment.
1308 (xtensa_frob_label): Compute "freq" before possibly switching frags.
1309 Insert a LOOP_END frag before every loop target, and do not overload
1310 DESIRE_ALIGN_IF_TARGET frags with loop end information.
1311 (xg_assemble_vliw_tokens): Use do_align_targets.
1312 (xtensa_fix_target_frags): Remove code to convert a
1313 DESIRE_ALIGN_IF_TARGET frag to a LOOP_END frag when there is a
1314 negatable branch at the end of a loop.
1315 (frag_can_negate_branch): Delete.
1316
13172005-03-28 David Mosberger <davidm@hpl.hp.com>
1318 H.J. Lu <hongjiu.lu@intel.com>
1319
1320 PR 803
1321 NEWS: Mention "-mtune=[itanium1|itanium2]".
1322
1323 * config/tc-ia64.c (md): Add tune.
1324 (md_parse_option): Accepted "-mtune=[itanium1|itanium2]".
1325 (md_show_usage): Add "-mtune=[itanium1|itanium2]".
1326 (extra_goodness): Prefer M- and I-unit NOPs for itanium2. F and
1327 B unit NOPs are discouraged for McKinley-derived cores.
1328 (md_begin): Don't hardcode the "extra_goodness()" function in
1329 the comment...
1330 (ia64_init): Set md.tune to itanium2.
1331
1332 * doc/as.texinfo: Add -mtune=[itanium1|itanium2]".
1333 * doc/c-ia64.texi: Likewise.
1334
13352005-03-27 Ian Lance Taylor <ian@airs.com>
1336
1337 * config/obj-coff.c (coff_frob_symbol): When crashing because of a
1338 bad C_EFCN symbol, print its name.
1339
13402005-03-25 Bob Wilson <bob.wilson@acm.org>
1341
1342 * config/tc-xtensa.c (use_longcalls): Delete.
1343 (xg_symbolic_immeds_fit): Check for direct calls and return TRUE if
1344 the use_longcalls flag is set. Do this before checking the segment.
1345 (xg_expand_assembly_insn): Rearrange to use new do_expand flag. Never
1346 expand direct calls at this point.
1347 (xtensa_set_frag_assembly_state): Set use_longcalls flag.
1348 (xtensa_find_unmarked_state_frags): Likewise.
1349 (md_assemble): Do not disable longcalls by setting is_specific_opcode.
1350 (xg_assemble_vliw_tokens): Switch frags when use_longcalls changes.
1351 (convert_frag_immed): Remove unnecessary check of is_specific_opcode.
1352 * config/tc-xtensa.h (xtensa_frag_type): Add use_longcalls flag.
1353
13542005-03-25 Hans-Peter Nilsson <hp@bitrange.com>
1355
1356 * config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90.
1357
13582005-03-25 Hans-Peter Nilsson <hp@axis.com>
1359
1360 * config/tc-cris.h: Convert to ISO C90.
1361 * config/tc-cris.c: Ditto.
1362 (md_estimate_size_before_relax): Remove obsolete comment for
1363 parameter "segment_type".
1364 (md_begin): Document reason for cast of hash_insert argument.
1365 (md_atof): Correct type of parameter "type".
1366
13672005-03-24 Nick Clifton <nickc@redhat.com>
1368
1369 * write.h (bit_fix_new): Remove redundant prototype.
1370 * config/atof-ieee.c: Convert to ISO-C90 and fix formatting.
1371 * config/obj-aout.c: Convert to ISO-C90 and fix formatting.
1372 * config/obj-aout.h: Convert to ISO-C90 and fix formatting.
1373 * config/obj-bout.c: Convert to ISO-C90 and fix formatting.
1374 * config/obj-bout.h: Convert to ISO-C90 and fix formatting.
1375 * config/obj-ecoff.c: Convert to ISO-C90 and fix formatting.
1376 * config/obj-ecoff.h: Convert to ISO-C90 and fix formatting.
1377 * config/obj-som.c: Convert to ISO-C90 and fix formatting.
1378 * config/obj-som.h: Convert to ISO-C90 and fix formatting.
1379 * config/tc-a29k.c: Convert to ISO-C90 and fix formatting.
1380 * config/tc-a29k.h: Convert to ISO-C90 and fix formatting.
1381 * config/tc-alpha.c: Convert to ISO-C90 and fix formatting.
1382 * config/tc-alpha.h: Convert to ISO-C90 and fix formatting.
1383 * config/tc-arc.c: Convert to ISO-C90 and fix formatting.
1384 * config/tc-arc.h: Convert to ISO-C90 and fix formatting.
1385 * config/tc-d10v.c: Convert to ISO-C90 and fix formatting.
1386 * config/tc-d10v.h: Convert to ISO-C90 and fix formatting.
1387 * config/tc-d30v.c: Convert to ISO-C90 and fix formatting.
1388 * config/tc-d30v.h: Convert to ISO-C90 and fix formatting.
1389 * config/tc-dlx.c: Convert to ISO-C90 and fix formatting.
1390 * config/tc-dlx.h: Convert to ISO-C90 and fix formatting.
1391 * config/tc-fr30.c: Convert to ISO-C90 and fix formatting.
1392 * config/tc-fr30.h: Convert to ISO-C90 and fix formatting.
1393 * config/tc-h8500.c: Convert to ISO-C90 and fix formatting.
1394 * config/tc-h8500.h: Convert to ISO-C90 and fix formatting.
1395 * config/tc-i370.c: Convert to ISO-C90 and fix formatting.
1396 * config/tc-i370.h: Convert to ISO-C90 and fix formatting.
1397 * config/tc-i960.c: Convert to ISO-C90 and fix formatting.
1398 * config/tc-ip2k.c: Convert to ISO-C90 and fix formatting.
1399 * config/tc-ip2k.h: Convert to ISO-C90 and fix formatting.
1400 * config/tc-m32r.c: Convert to ISO-C90 and fix formatting.
1401 * config/tc-m32r.h: Convert to ISO-C90 and fix formatting.
1402 * config/tc-m88k.c: Convert to ISO-C90 and fix formatting.
1403 * config/tc-m88k.h: Convert to ISO-C90 and fix formatting.
1404 * config/tc-mcore.c: Convert to ISO-C90 and fix formatting.
1405 * config/tc-mcore.h: Convert to ISO-C90 and fix formatting.
1406 * config/tc-mn10200.c: Convert to ISO-C90 and fix formatting.
1407 * config/tc-ns32k.c: Convert to ISO-C90 and fix formatting.
1408 * config/tc-ns32k.h: Convert to ISO-C90 and fix formatting.
1409 * config/tc-openrisc.c: Convert to ISO-C90 and fix formatting.
1410 * config/tc-openrisc.h: Convert to ISO-C90 and fix formatting.
1411 * config/tc-or32.c: Convert to ISO-C90 and fix formatting.
1412 * config/tc-or32.h: Convert to ISO-C90 and fix formatting.
1413 * config/tc-pdp11.h: Convert to ISO-C90 and fix formatting.
1414 * config/tc-pj.c: Convert to ISO-C90 and fix formatting.
1415 * config/tc-pj.h: Convert to ISO-C90 and fix formatting.
1416 * config/tc-tahoe.c: Convert to ISO-C90 and fix formatting.
1417 * config/tc-tic80.c: Convert to ISO-C90 and fix formatting.
1418 * config/tc-tic80.h: Convert to ISO-C90 and fix formatting.
1419 * config/tc-v850.c: Convert to ISO-C90 and fix formatting.
1420 * config/tc-v850.h: Convert to ISO-C90 and fix formatting.
1421 * config/tc-w65.c: Convert to ISO-C90 and fix formatting.
1422 * config/tc-w65.h: Convert to ISO-C90 and fix formatting.
1423 * config/tc-xstormy16.c: Convert to ISO-C90 and fix formatting.
1424 * config/tc-xstormy16.h: Convert to ISO-C90 and fix formatting.
1425
14262005-03-23 Jim Blandy <jimb@redhat.com>
1427
1428 * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
1429 attributes properly.
1430
14312005-03-23 Mike Frysinger <vapier@gentoo.org>
1432 Nick Clifton <nickc@redhat.com>
1433
1434 * configure.tgt: Accept any C library to accompany a GNU Linux
1435 implementation, not just the GNU C library.
1436 * configure.in: Likewise.
1437 * configure: Regenerate.
1438
14392005-03-23 Nick Clifton <nickc@redhat.com>
1440
1441 * config/tc-tic30.c: Convert to ISO C90 formatting.
1442 * config/tc-tic30.h: Convert to ISO C90 formatting.
1443 * config/tc-pdp11.c: Convert to ISO C90 formatting.
1444 * config/atof-vax.c: Convert to ISO C90 formatting.
1445
14462005-03-21 Maciej W. Rozycki <macro@mips.com>
1447
1448 * config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
1449 relocations correctly as well.
1450 (mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16
1451 relocations in mergeable sections section-relative either.
1452
14532005-03-21 Bob Wilson <bob.wilson@acm.org>
1454
1455 * config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.
1456
14572005-03-21 Nick Clifton <nickc@redhat.com>
1458
1459 * config/tc-sh.c (sh_elf_final_processing): Fix compile time
1460 warning by providing a prototype for sh_symbian_find_elf_flags.
1461
1462 * cgen.c (gas_cgen_parse_operand): Fix typo introduced by
1463 previous delta.
1464
14652005-03-21 Alan Modra <amodra@bigpond.net.au>
1466
1467 * configure.tgt: Handle setting of bfd_gas for fmt=multi targets
1468 along with other formats that set bfd_gas. Remove unnecessary
1469 setting of bfd_gas. Delete strongarm cases in generic_target
1470 switch.
1471
14722005-03-21 Alan Modra <amodra@bigpond.net.au>
1473
1474 PR gas/780
1475 * config/tc-m68k.c (TRUNC, SEXT): Define.
1476 (issbyte, isubyte, issword, isuword, isbyte, isword): Use the above.
1477 (m68k_ip): Truncate or sign extend expressions as appropriate.
1478 (get_num): Likewise.
1479 (md_apply_fix3): Use SEXT.
1480
14812005-03-21 Alan Modra <amodra@bigpond.net.au>
1482
1483 * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
1484 (OBJ_FORMAT_HFILES): Prune config/obj-vms.h.
1485 (obj-vms.o): Delete rule.
1486 Run "make dep-am".
1487 * Makefile.in: Regenerate.
1488 * aclocal.m4: Regenerate.
1489 * doc/Makefile.in: Regenerate.
1490 * po/POTFILES.in: Regenerate.
1491
14922005-03-18 C Jaiprakash <cjaiprakash@noida.hcltech.com>
1493
1494 * config/tc-m68k.c (m68k_elf_final_processing): Set file specific
1495 flag for coldfire v4e.
1496
14972005-03-17 Bob Wilson <bob.wilson@acm.org>
1498
1499 * config/tc-xtensa.c (xg_apply_tentative_value): Rename to
1500 xg_apply_fix_value and return a value to indicate success.
1501 (md_pcrel_from): Skip check of fx_done. Return 0 if not PC-relative.
1502 (xtensa_force_relocation): Remove checks for VTABLE relocs.
1503 (xtensa_validate_fix_sub): New.
1504 (xtensa_fix_adjustable): Remove check for external or weak symbols.
1505 (tc_gen_reloc): Move code to handle difference of symbols and code to
1506 apply tentative fix values to ...
1507 (md_apply_fix3): ...here. Enable standard overflow checks for simple
1508 8, 16, and 32 bit relocations. Apply fixes for slot-specific
1509 relocations when linkrelax flag is not set.
1510 * config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype.
1511 (TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define.
1512
15132005-03-17 Jan Beulich <jbeulich@novell.com>
1514
1515 * config/tc-i386.c (i386_scale): Beautify error message.
1516 (Intel syntax comments): Update.
1517 (struct intel_parser_s): Add fields in_offset, in_bracket, and
1518 next_operand.
1519 (intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1):
1520 Remove declarations.
1521 (intel_bracket_expr): Declare.
1522 (i386_intel_operand): Initialize new intel_parser fields. Wrap most
1523 of the function body in a loop allowing to split an operand into two.
1524 Replace calls to malloc and checks of it returning non-NULL with
1525 calls to xmalloc/xstrdup.
1526 (intel_expr): SHORT no longer handled here. Add comment indicating
1527 comparison ops need implementation.
1528 (intel_e04, intel_e04_1): Combine, replace recursion with loop.
1529 Check right operand of - does not specify a register when parsing
1530 the address of a memory reference.
1531 (intel_e05, intel_e05_1): Combine, replace recursion with loop.
1532 Check operands do not specify a register when parsing the address of
1533 a memory reference.
1534 (intel_e06, intel_e06_1): Likewise.
1535 (intel_e09, intel_e09_1): Combine, replace recursion with loop. Also
1536 handle SHORT as well as unary + and -. Don't accept : except for
1537 segment overrides or in direct far jump/call insns.
1538 (intel_brack_expr): New.
1539 (intel_e10, intel_e10_1): Combine, replace recursion with loop. Use
1540 intel_brack_expr.
1541 (intel_e11): Replace chain of if/else-if by switch, alloing fall-
1542 through in certain cases. Use intel_brack_expr. Add new diagnostics.
1543 Allow symbolic constants as register scale value.
1544 (intel_get_token): Replace call to malloc and check of return value
1545 with call to xmalloc. Change handling for FLAT to match MASM's.
1546 (intel_putback_token): Don't try to back up/free current token if
1547 that is T_NIL.
1548
15492005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
1550
1551 * configure.tgt: Set emulation for arm-*-eabi*.
1552 * config/tc-arm.c (meabi_flags): Check EABI_DEFAULT.
1553 * config/te-armeabi.h: New file.
1554 * config/te-armlinuxeabi.h (EABI_DEFAULT): Define.
1555 * config/te-symbian.h: Include "te-armeabi.h".
1556
15572005-03-16 Nick Clifton <nickc@redhat.com>
1558
1559 * cgen.c (gas_cgen_parse_operand): Copy opinfo parameter into a
1560 local variable in case it is clobbered by the setjmp.
1561
15622005-03-16 Nick Clifton <nickc@redhat.com>
1563 Ben Elliston <bje@au.ibm.com>
1564
1565 * configure.in (werror): New switch: Add -Werror to the
1566 compiler command line. Enabled by default. Disable via
1567 --disable-werror.
1568 * configure: Regenerate.
1569
15702005-03-16 Nick Clifton <nickc@redhat.com>
1571
1572 * config/obj-coff.h: Convert to ISO C90 formatting.
1573 * config/obj-coff.c: Convert to ISO C90 formatting.
1574
15752005-03-15 Zack Weinberg <zack@codesourcery.com>
1576
1577 * config/tc-arm.c (do_mla): Rename to do_mlas, take second
1578 is_mls parameter; do not diagnose Rm==Rd when is_mls.
1579 (do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width)
1580 (do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions.
1581 (insns): Add ARMv6T2 instructions:
1582 bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht.
1583 (arm_archs): Add V6T2 variants.
1584
15852005-03-15 Nick Clifton <nickc@redhat.com>
1586
1587 * NEWS: Add cutoff for changes in 2.16 release.
1588
15892005-03-15 Jan Beulich <jbeulich@novell.com>
1590
1591 * expr.c (operand): Merge handling of unary + into that for unary
1592 -, !, and ~.
1593
15942005-03-14 Eric Christopher <echristo@redhat.com>
1595
1596 * config/tc-mips.c: Include dw2gencfi.h.
1597 (mips_cfi_frame_initial_instructions): New.
1598 * config/tc-mips.h (TARGET_USE_CFIPOP): Define.
1599 (tc_cfi_frame_initial_instructions): Ditto.
1600 (DWARF2_DEFAULT_RETURN_COLUMN): Ditto.
1601 (DWARF2_CIE_DATA_ALIGNMENT): Ditto.
1602 * Makefile.am: Update dependencies.
1603 * Makefile.in: Regenerate.
1604
16052005-03-15 Alan Modra <amodra@bigpond.net.au>
1606
1607 * po/es.po: Commit new Spanish translation.
1608
16092005-03-14 Alan Modra <amodra@bigpond.net.au>
1610
1611 * po/tr.po: Commit new Turkish translation.
1612
16132005-03-12 Zack Weinberg <zack@codesourcery.com>
1614
1615 * config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
1616 wfi, yield.
1617
16182005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
1619
1620 * config-gas.com: Mark vax-vms as obsolete.
1621 * configure.in: Remove fmt=vms support.
1622 * config.in: Regenerate.
1623 * configure: Regenerate.
1624 * config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove.
1625
16262005-03-10 Sterling Augustine <sterling@tensilica.com>
1627 Bob Wilson <bob.wilson@acm.org>
1628
1629 * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
1630 when checking if xg_resolve_literals needs to be called.
1631 * config/tc-xtensa.h: Fix spelling typo in a comment.
1632
16332005-03-10 Jan Beulich <jbeulich@novell.com>
1634
1635 * config/tc-tic54x.h (tic54x_macro_info): Change parameter type.
1636 * config/tc-tic54x.c (tic54x_macro_info): Likewise. Replace hand-
1637 crafted structure declarations with the types from macro.h.
1638
16392005-03-09 Richard Sandiford <rsandifo@redhat.com>
1640
1641 * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
1642 for -mno-shared optimization.
1643
16442005-03-09 Richard Sandiford <rsandifo@redhat.com>
1645
1646 * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
1647 (MAX_NOPS): Bump to 4.
1648 (mips_fix_vr4130): New variable.
1649 (nops_for_vr4130): New function.
1650 (nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use
1651 nops_for_vr4130 if working around VR4130 errata.
1652 (OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros.
1653 (md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130.
1654 (md_parse_option): Handle them.
1655 (md_show_usage): Print them.
1656 * doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
1657
16582005-03-09 Richard Sandiford <rsandifo@redhat.com>
1659
1660 * config/tc-mips.c (append_insn): Remove cop_interlocks test from
1661 branch delay code.
1662
16632005-03-09 Richard Sandiford <rsandifo@redhat.com>
1664
1665 * config/tc-mips.h (mips_flush_pending_output): Delete.
1666 (mips_emit_delays): Declare.
1667 (md_flush_pending_output): Use mips_emit_delays.
1668 * config/tc-mips.c (mips_no_prev_insn): Remove parameter; always forget
1669 the previous instructions.
1670 (md_begin, append_insn, md_parse_option): Update callers.
1671 (mips_emit_delay): Remove parameter. Move INSNS != 0 code to
1672 start_noreorder.
1673 (mips_align, s_change_sec, s_cons, s_float_cons, s_gpword)
1674 (s_gpdword): Update callers.
1675 (start_noreorder, end_noreorder): New functions.
1676 (macro, macro2, mips16_macro, s_mipsset): Use them instead of
1677 manipulating mips_opts or prev_nop_frag directly.
1678 (mips_flush_pending_output): Delete.
1679
16802005-03-09 Richard Sandiford <rsandifo@redhat.com>
1681
1682 * config/tc-mips.c (mips_move_labels): New function, taken from...
1683 (append_insn, mips_emit_delays): ...here.
1684
16852005-03-09 Richard Sandiford <rsandifo@redhat.com>
1686
1687 * config/tc-mips.c (MAX_NOPS): New macro.
1688 (history): Resize to 1 + MAX_NOPS.
1689 (fix_vr4120_class): New enumeration.
1690 (vr4120_conflicts): New variable.
1691 (init_vr4120_conflicts): New function.
1692 (md_begin): Call it.
1693 (insn_uses_reg): Constify first argument.
1694 (classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence)
1695 (nops_for_insn_or_target): New functions.
1696 (append_insn): Use the new nops_for_* functions instead of inline
1697 delay checks. Generalize prev_nop_frag handling to handle an
1698 arbitrary history length. Insert nops into the history buffer
1699 once the number of nops in prev_nop_frag is fixed.
1700 (emit_delays): Use nops_for_insn instead of inline delay checks.
1701
17022005-03-09 Richard Sandiford <rsandifo@redhat.com>
1703
1704 * config/tc-mips.c (append_insn): Remove now-redundant nops != 0
1705 check from branch delay code. Remove unnecessary check for branches.
1706
17072005-03-09 Richard Sandiford <rsandifo@redhat.com>
1708
1709 * config/tc-mips.c (dummy_opcode): Delete.
1710 (nop_insn, mips16_nop_insn): New variables.
1711 (NOP_INSN): New macro.
1712 (insn_length, create_insn, install_insn, move_insn, add_fixed_insn)
1713 (add_relaxed_insn, insert_into_history, emit_nop): New functions.
1714 (md_begin): Initialize nop_insn and mips16_nop_insn.
1715 (append_insn): Use the new emit_nop function to add nops, recording
1716 them in the history buffer. Use add_fixed_insn or add_relaxed_insn
1717 to reserve room for the instruction and install_insn to install the
1718 final form. Use insert_into_history to record the instruction in
1719 the history buffer. Use move_insn to do delay slot filling.
1720 (mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro.
1721 (macro_build, mips16_macro_build, macro_build_lui, mips_ip)
1722 (mips16_ip): Use create_insn to initialize mips_cl_insns.
1723
17242005-03-09 Richard Sandiford <rsandifo@redhat.com>
1725
1726 * config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)
1727 (EXTRACT_OPERAND, MIPS16_INSERT_OPERAND, MIPS16_EXTRACT_OPERAND): New.
1728 (insn_uses_reg, reg_needs_delay, append_insn, macro_build)
1729 (mips16_macro_build, macro_build_lui, mips16_macro, mips_ip)
1730 (mips16_ip): Use the new macros instead of explicit masks and shifts.
1731
17322005-03-09 Richard Sandiford <rsandifo@redhat.com>
1733
1734 * config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p
1735 and extended_p fields with a single fixed_p field.
1736 (append_insn, mips_no_prev_insn): Adjust accordingly.
1737
17382005-03-09 Richard Sandiford <rsandifo@redhat.com>
1739
1740 * config/tc-mips.c (mips_cl_insn): Replace reloc_type array with
1741 a single mips16_absolute_jump_p bit.
1742 (append_insn): Adjust accordingly.
1743
17442005-03-09 Richard Sandiford <rsandifo@redhat.com>
1745
1746 * config/tc-mips.h (mips_cl_insn): Move definition to...
1747 * config/tc-mips.c (mips_cl_insn): ...here. Add new fields:
1748 frag, where, fixp, reloc_type, valid_p, noreorder_p, delay_slot_p
1749 and extended_p.
1750 (history): New variable.
1751 (prev_insn, prev_prev_insn, prev_insn_valid, prev_insn_frag)
1752 (prev_insn_where, prev_insn_reloc_type, prev_insn_fixp)
1753 (prev_insn_is_delay_slot, prev_insn_unreordered, prev_insn_extended)
1754 (prev_prev_insn_unreordered): Delete.
1755 (reg_needs_delay, append_insn, mips_no_prev_insn, mips_emit_delays)
1756 (macro_start): Replace uses of prev_insn* with the equivalent history[]
1757 field.
1758
17592005-03-08 Daniel Jacobowitz <dan@codesourcery.com>
1760
1761 * doc/Makefile.am: Update as.info dependencies.
1762 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
1763
17642005-03-08 Jan Beulich <jbeulich@novell.com>
1765
1766 * doc/as.texinfo: Add sentence to indicate redefining a macro is an
1767 error, and point to .purgem documentation if someone really needs
1768 re-definitions.
1769 * NEWS: Mention macro redefinition is now an error.
1770
17712005-03-08 Jan Beulich <jbeulich@novell.com>
1772
1773 * config/tc-ia64.c (emit_one_bundle): Track last slot user insn was
1774 emitted to. Add more precise diagnostics for non-fitting insns based
1775 on that. Eliminate now superfluous special casing of MLX. Clear out
1776 slot information when dropping an insn.
1777
17782005-03-08 Jan Beulich <jbeulich@novell.com>
1779
1780 * config/tc-ia64.c (parse_section_name): Rename to...
1781 (cross_section): In addition to separating the name from the rest of
1782 the arguments, also carry out the operation.
1783 (dot_xdata): Use cross_section.
1784 (dot_float_cons): Likewise.
1785 (dot_xstringer): Likewise.
1786 (dot_xdata_ua): Likewise.
1787 (dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons.
1788
17892005-03-05 Alan Modra <amodra@bigpond.net.au>
1790
1791 * po/gas.pot: Regenerate.
1792
17932005-03-04 David Daney <ddaney@avtrex.com>
1794
1795 * config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp'
1796 instead of '_gp' for -mno-shared optimization.
1797 (s_cpload): Ditto.
1798 (s_abicalls): Document it in the comment.
1799 (md_show_usage): Document the -mno-shared option.
1800
18012005-03-04 Richard Sandiford <rsandifo@redhat.com>
1802
1803 * config/tc-mips.c (mips_set_options): Add sym32 field.
1804 (mips_opts): Initialize it.
1805 (HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide.
1806 (HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES.
1807 (HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros.
1808 (load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES
1809 when deciding whether to use a symbolic %highest/%higher expansion.
1810 (macro): Likewise. Remove o64/n32 linux hack. Always use
1811 ADDRESS_ADD*_INSN for address addition in the expansion of "dla"
1812 and "la". Handle constants separately from symbolic expressions in
1813 the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES
1814 and using load_register to load the high part of the address.
1815 (OPTION_MSYM32, OPTION_NO_MSYM32): New macros.
1816 (OPTION_ELF_BASE): Bump by 2.
1817 (md_longopts): Add entries for -msym32 and -mno-sym32.
1818 (md_parse_option): Handle them.
1819 (usage): Document them.
1820 (s_mipsset): Handle ".set sym32" and ".set nosym32".
1821 (s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of
1822 HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp".
1823 * doc/c-mips.texi: Document ".set sym32", ".set nosym32",
1824 -msym32 and -mno-sym32.
1825
18262005-03-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1827
1828 * config/tc-mips.c (load_address): Implement GP optimization
1829 for 64bit address space non-PIC. Fix formatting.
1830 (macro): Likewise. Simplify code.
1831 (md_parse_option): Don't bail out if -G 0 is set for PIC code.
1832 (mips_after_parse_args): Simplify code.
1833
18342005-03-03 Nick Clifton <nickc@redhat.com>
1835
1836 * expr.c (operand): Remove redundant code enclosed by #ifdef
1837 RELAX_PAREN_GROUPING....#endif.
1838
1839 * config/tc-mn10200.c (tc_gen_reloc): Handle the case where the
1840 reloc is the difference of two symbols defined in the same
1841 section.
1842
1843 * config/tc-iq2000.c (line_comment_chars): Include the # character
1844 as otherwise this breaks #APP/#NO_APP processing.
1845
18462005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
1847
1848 * config/tc-arc.c(md_assemble): Remove dead code for handling
1849 immediate indexing of ld and st .
1850
18512005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
1852 Joseph Myers <joseph@codesourcery.com>
1853
1854 * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,
1855 %dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel.
1856 (parse_relocation): Check for a word break after a relocation
1857 operator.
1858 (md_apply_fix3): Handle TLS relocations, and mark thread-local
1859 symbols.
1860
18612005-03-02 Alan Modra <amodra@bigpond.net.au>
1862
1863 * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.
1864
18652005-03-02 Jan Beulich <jbeulich@novell.com>
1866
1867 * as.c (main): Use unlink_if_ordinary instead of unlink.
1868 * messages.c (as_fatal): Likewise.
1869
18702005-03-02 Jan Beulich <jbeulich@novell.com>
1871
1872 * config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15
1873 accesses.
1874 (parse_register): Allow cr8...15 in all modes.
1875
18762005-03-02 Jan Beulich <jbeulich@novell.com>
1877
1878 * config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE
1879 etc. like normal symbol references (T_ID).
1880
18812005-03-02 Alan Modra <amodra@bigpond.net.au>
1882
1883 * symbols.c (fb_label_name): Fix silly thinko in last change.
1884
18852005-03-02 Alan Modra <amodra@bigpond.net.au>
1886
1887 * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
1888 * config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
1889
1890 * symbols.c (fb_label_name): Allow an augend of 2 for mmix.
1891
18922005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
1893
1894 PR gas/708
1895 * config/tc-arc.c (md_assemble): Initialize suffix for extension
1896 suffixes also.
1897
18982005-03-01 Alan Modra <amodra@bigpond.net.au>
1899
1900 * config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion.
1901
1902 * as.h (assert): Warning fix.
1903 * expr.c (expr): Correct assertion.
1904 * read.c (s_comm_internal): Remove assertion.
1905 * write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER.
1906 (fixup_segment): Remove assertion.
1907 * config/tc-dlx.c (machine_ip): Remove untrue assertions.
1908 (md_apply_fix3): Likewise.
1909 * config/tc-i370.c (md_begin): Correct assertion.
1910 (i370_macro): Warning fix for assertion.
1911
19122005-03-01 Alan Modra <amodra@bigpond.net.au>
1913
1914 * configure.in (AC_C_BIGENDIAN): Invoke.
1915 * configure: Regenerate.
1916 * write.c (write_object_file <!BFD_ASSEMBLER>): Don't use sizeof
1917 host variable to set string header size.
1918 * config/obj-aout.c (obj_header_append): Don't use host structs.
1919 (obj_symbol_to_chars): Likewise.
1920 (obj_emit_strings): Likewise. Use the passed in output pointer.
1921 * config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE.
1922 * config/obj-bout.c (obj_emit_relocations): Use md_reloc_size,
1923 not sizeof host struct.
1924 (obj_header_append, obj_symbol_to_chars): Don't use host structs.
1925 (obj_emit_strings): Likewise.
1926 * config/obj-bout.h (EXEC_BYTES_SIZE): Define.
1927 (N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of
1928 sizeof host struct.
1929 (H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using
1930 sizeof host struct.
1931 (host_number_to_chars): Define.
1932 * config/obj-hp300.c (hp300_header_append): Don't use sizeof
1933 host internal struct to set header sizes.
1934 * config/tc-i960.c (md_number_to_field): Warning fix.
1935 (md_ri_to_chars): Use host byte order.
1936 (get_cdisp, md_apply_fix3): Warning fix.
1937 * config/tc-m68k.c (md_assemble): Don't use sizeof host short.
1938
19392005-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
1940
1941 * doc/c-arc.texi: Update documentation about ARC's extension
1942 instructions.
1943
19442005-02-27 Svein E. Seldal <svein@dev.seldal.com>
1945
1946 * config/tc-tic4x.c (tic4x_gen_to_words): Changed mail
1947 address for myself.
1948
19492005-02-23 Alan Modra <amodra@bigpond.net.au>
1950
1951 * cgen.c: Warning fixes.
1952 * config/tc-arc.c: Likewise.
1953 * config/tc-arm.c: Likewise.
1954 * config/tc-avr.c: Likewise.
1955 * config/tc-d10v.c: Likewise.
1956 * config/tc-d30v.c: Likewise.
1957 * config/tc-frv.c: Likewise.
1958 * config/tc-frv.h: Likewise.
1959 * config/tc-h8300.c: Likewise.
1960 * config/tc-h8500.c: Likewise.
1961 * config/tc-i370.c: Likewise.
1962 * config/tc-i960.c: Likewise.
1963 * config/tc-ia64.c: Likewise.
1964 * config/tc-ip2k.c: Likewise.
1965 * config/tc-m68hc11.c: Likewise.
1966 * config/tc-maxq.c: Likewise.
1967 * config/tc-mcore.c: Likewise.
1968 * config/tc-mips.c: Likewise.
1969 * config/tc-msp430.c: Likewise.
1970 * config/tc-pj.c: Likewise.
1971 * config/tc-ppc.c: Likewise.
1972 * config/tc-ppc.h: Likewise.
1973 * config/tc-s390.c: Likewise.
1974 * config/tc-sh.c: Likewise.
1975 * config/tc-sh64.c: Likewise.
1976 * config/tc-tic4x.c: Likewise.
1977 * config/tc-tic80.c: Likewise.
1978 * config/tc-v850.c: Likewise.
1979 * config/tc-vax.c: Likewise.
1980 * config/tc-w65.c: Likewise.
1981 * config/tc-xstormy16.c: Likewise.
1982 * config/tc-z8k.c: Likewise.
1983
19842005-02-22 Catherine Moore <clm@cm00re.com>
1985
1986 * read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
1987 * doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
1988
19892005-02-22 Eric Christopher <echristo@redhat.com>
1990
1991 * config/tc-mips.c (struct proc): Change isym to
1992 func_sym. New member func_end_sym.
1993 (s_mips_ent): Update.
1994 (s_mips_end): Ditto. Add code to compute function size.
1995
19962005-02-22 Alan Modra <amodra@bigpond.net.au>
1997
1998 * read.c: Warning fixes.
1999 * config/obj-elf.c: Likewise.
2000
20012005-02-22 Maciej W. Rozycki <macro@mips.com>
2002
2003 * config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
2004 emitting insn.
2005
20062005-02-21 H.J. Lu <hongjiu.lu@intel.com>
2007
2008 * config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with
2009 SEC_COFF_SHARED.
2010
2011 * config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with
2012 SEC_TIC54X_BLOCK.
2013 (demand_empty_rest_of_line): Likewise.
2014 (tic54x_sblock): Likewise.
2015 (tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK.
2016
20172005-02-21 Alan Modra <amodra@bigpond.net.au>
2018
2019 * read.c (address_bytes): New function.
2020 (TC_ADDRESS_BYTES): Default for BSD_ASSEMBLER to address_bytes.
2021 (potable): Add "dc.a".
2022 (cons_worker): Handle "dc.a".
2023 * doc/internals.texi (TC_ADDRESS_BYTES): Document.
2024
20252005-02-21 Alan Modra <amodra@bigpond.net.au>
2026
2027 * input-file.c (input_file_open): Rearrange to avoid warning.
2028
20292005-02-19 Alan Modra <amodra@bigpond.net.au>
2030
2031 * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.
2032 * read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test.
2033 * doc/internals.texi (TC_EQUAL_IN_INSN): Delete.
2034
20352005-02-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2036
2037 * config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at
2038 uses after .set noat.
2039 (load_address): Likewise.
2040 (macro): Likewise. Don't try to avoid $at use by sacrificing
2041 the target register before it is stored, it won't work.
2042
20432005-02-17 James E Wilson <wilson@specifixinc.com>
2044
2045 * config/tc-ia64.c (emit_one_bundle): Stop filling a bundle if we
2046 see an instruction that specifies a template.
2047
20482005-02-18 Alan Modra <amodra@bigpond.net.au>
2049
2050 * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function.
2051 * config/tc-sparc.c (sparc_ip): Make op_exp static to silence warnings.
2052 * config/tc-tic80.c (build_insn): Init insn[1] to silence warning.
2053
20542005-02-17 H.J. Lu <hongjiu.lu@intel.com>
2055
2056 * NEWS: Mention "-mhint.b=[ok|warning|error]".
2057
2058 * config/tc-ia64.c (md): Add hint_b.
2059 (emit_one_bundle): Handle md.hint_b for "hint".
2060 (md_parse_option): Accepted "-mhint.b=[ok|warning|error]".
2061 (md_show_usage): Add "-mhint.b=[ok|warning|error]".
2062 (ia64_init): Set md.hint_b to error.
2063 (md_assemble): Handle md.hint_b for "hint.b".
2064
2065 * doc/as.texinfo: Add "-mhint.b=[ok|warning|error]".
2066 * doc/c-ia64.texi: Likewise.
2067
20682005-02-17 Alan Modra <amodra@bigpond.net.au>
2069
2070 * tc.h (struct relax_type, relax_typeS): Move from here..
2071 * as.h: ..to here. Make rlx_forward and rlx_backward an offsetT.
2072 * ecoff.c (ecoff_new_file): Add appfile param.
2073 * ecoff.h (ecoff_new_file): Likewise.
2074 * itbl-lex.h: New file.
2075 * itbl-lex.l: Include itbl-lex.h.
2076 * itbl-parse.y: Likewise.
2077 (insntbl_line, yyparse, yylex): Move to itbl-lex.h.
2078 * read.c (s_app_file_string): Mark appfile possibly unused.
2079 * subsegs.c (seg_not_empty_p): Make sec possibly unused.
2080 * subsegs.h (struct seg_info_trash): Delete.
2081 (seg_info): Use segment_info_type instead.
2082 * config/obj-coff.c (struct filename_list): Make filename const char *.
2083 * config/obj-ecoff.h (obj_app_file): Pass app to ecoff_new_file.
2084 * config/obj-elf.c (elf_file_symbol): Similarly.
2085 * config/tc-a29k.c (md_apply_fix3): Make val a valueT. Don't use
2086 signed right shift.
2087 * config/tc-arc.c (md_operand): Warning fix.
2088 * config/tc-arm.c (arm_parse_reloc): Only define when OBJ_ELF.
2089 (md_begin): Rearrange #if defined OBJ_COFF || defined OBJ_ELF.
2090 * config/tc-cris.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Use do while.
2091 * config/tc-frv.c (frv_force_relocation): Warning fix.
2092 * config/tc-m68k.c (md_parse_option): Delete unused var.
2093 * config/tc-mcore.c (mylog2): Rename from log2 throughout.
2094 * config/tc-sparc.c: Likewise.
2095 (s_common): Warning fix.
2096 * config/tc-mips.c (append_insn): Use unsigned long long expressions.
2097 * config/tc-mmix.c (PUSHJSTUB_MAX, PUSHJSTUB_MIN): Define from
2098 addressT.
2099 * config/tc-s390.c (s390_insn): Delete test of unsigned >= 0.
2100 * config/tc-sh.c (sh_cfi_frame_initial_instructions,
2101 sh_regname_to_dw2regnum): Only define for OBJ_ELF.
2102 * config/tc-tic4x.c (tic4x_insert_reg): Use ISLOWER.
2103 (tic4x_do_align): Use TIC_NOP_OPCODE.
2104 * config/tc-tic4x.h (TIC_NOP_OPCODE): Rename from NOP_OPCODE.
2105 * config/tc-vax.c: Include netinet/in.h.
2106 (tc_headers_hook): Formatting.
2107 * config/tc-xstormy16.c (md_pcrel_from_section): Correct parens.
2108
21092005-02-17 Jan Beulich <jbeulich@novell.com>
2110
2111 * config/tc-ia64.c (ia64_parse_name): Don't advance 'name' when
2112 parsing inN, locN, outN. Set 'idx' to offset register number starts
2113 at. Don't handle numbers with leading zeroes or beyond 95. Remove
2114 pointless cast.
2115
21162005-02-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2117
2118 * config/tc-mips.c (load_address): Fix formatting.
2119 (macro): Don't use AT if .set noat is in effect. Fix formatting.
2120 Catch macros which are unexpandable without AT. Remove duplicate
2121 zeroing of used_at.
2122 (macro2): Remove duplicate zeroing of used_at.
2123
21242005-02-16 Alan Modra <amodra@bigpond.net.au>
2125
2126 * dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
2127 than zero.
2128
21292005-02-15 Nigel Stephens <nigel@mips.com>
2130 Maciej W. Rozycki <macro@mips.com>
2131
2132 * config/tc-mips.c (reloc_needs_lo_p): Handle
2133 BFD_RELOC_MIPS16_HI16_S.
2134 (fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
2135 (append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
2136 and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
2137 complaints on.
2138 (mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
2139 BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
2140 Call my_getSmallExpression() to parse percent operators.
2141 (percent_op_match, mips_percent_op): Separate definitions.
2142 (mips16_percent_op): Define percent operators for the MIPS16 mode.
2143 (parse_relocation): Handle the MIPS16 mode using
2144 mips16_percent_op.
2145 (md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
2146 BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.
2147
21482005-02-15 Jan Beulich <jbeulich@novell.com>
2149
2150 * config/tc-ia64.c (md_apply_fix3): Call ia64_gen_real_reloc_type
2151 instead of explicitly dealing with the translation; exclude
2152 relocations that are already pcrel, however.
2153
21542005-02-15 Jan Beulich <jbeulich@novell.com>
2155
2156 * config/tc-ia64.c: Include limits.h (if available).
2157 (gr_values[0]): Set path to INT_MAX.
2158 (dot_reg_val): Don't allow changing value of r0. Limit range of
2159 general registers at r127.
2160 (specify_resource): Default resource index is -1. Don't set resource
2161 index (in case IA64_RS_RSE) without setting the specific flag.
2162 (note_register_values): Check operand is O_constant before tracking
2163 input value of moves. Add tracking for dep.z with constant inputs.
2164 (print_dependency): Resource index of specific resource may be zero.
2165 (check_dependencies): Likewise.
2166
21672005-02-15 Jan Beulich <jbeulich@novell.com>
2168
2169 * config/tc-ia64.c (parse_operands): New local variables reg1, reg2,
2170 reg_class. Check operands and emit diagnostics for illegal use of
2171 registers.
2172
21732005-02-15 Jan Beulich <jbeulich@novell.com>
2174
2175 * config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize
2176 new variables type, suffix, and width. Handle
2177 BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case.
2178 Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add
2179 FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in
2180 FUNC_DTP_RELATIVE case. Return incoming relocation type if
2181 BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning
2182 if unable to translate relocation type, using the new variables.
2183
21842005-02-15 Jan Beulich <jbeulich@novell.com>
2185
2186 * config/tc-ia64.h (ia64_symbol_chars): Declare.
2187 (ty_symbol_chars): Define.
2188 * config/tc-ia64.c (ia64_symbol_chars): Define.
2189
21902005-02-15 Jan Beulich <jbeulich@novell.com>
2191
2192 * config/tc-ia64.c (ia64_parse_name): Only update next character if
2193 input_line_pointer was advanced.
2194
21952005-02-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2196
2197 * config/tc-sh.c (md_apply_fix3): Add parentheses around &
2198 within |.
2199
22002005-02-13 Jan Beulich <jbeulich@novell.com>
2201
2202 * config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn.
2203 (md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default
2204 indicator.
2205 (ia64_init): Set md.detect_dv.
2206 (ia64_start_line): New static variable warned. Warn only once when
2207 encountering explicit stops in automatic mode.
2208 * doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx.
2209 * NEWS: Mention new default mode.
2210
22112005-02-13 Jan Beulich <jbeulich@novell.com>
2212
2213 * config/tc-ia64.c (dot_rot): Add comment that name strings should
2214 be freed when wiping out previous state. Canonicalize names before
2215 use. Free name string when detecting redefinition.
2216 (dot_pred_rel): Call generic expression parser to process arguments.
2217 Handle O_register case for individual predicates and O_subtract for
2218 ranges.
2219 (ia64_parse_name): Canonicalize name before looking it up in dynamic
2220 register hash.
2221 (ia64_canonicalize_symbol_name): Strip off all trailing # characters.
2222 Warn if multiple found, issue error if resulting symbol name has zero
2223 length.
2224 (dot_alias): Canonicalize name before use.
2225
22262005-02-11 H.J. Lu <hongjiu.lu@intel.com>
2227
2228 * config/tc-ia64.c (unwind_diagnostic): Return -1 for warning
2229 and 0 for error.
2230 (in_procedure): Return -1 for warning.
2231 (in_prologue): Likewise.
2232 (in_body): Likewise.
2233
22342005-02-11 H.J. Lu <hongjiu.lu@intel.com>
2235
2236 * config/tc-ia64.c (dot_xdata): Undo the last change.
2237 (dot_float_cons): Likewise.
2238 (dot_xstringer): Likewise.
2239 (dot_xdata_ua): Likewise.
2240 (dot_float_cons_ua): Likewise.
2241
22422005-02-11 H.J. Lu <hongjiu.lu@intel.com>
2243
2244 * NEWS: Mention "-munwind-check=[warning|error]".
2245
2246 * config/tc-ia64.c (md): Add unwind_check.
2247 (unwind_diagnostic): New.
2248 (in_procedure): Call unwind_diagnostic when a directive isn't
2249 in procedure.
2250 (in_prologue): Call unwind_diagnostic when a directive isn't in
2251 prologue.
2252 (in_body): Call unwind_diagnostic when a directive isn't in
2253 body region.
2254 (dot_endp): Set md.unwind_check to error before calling
2255 in_procedure and restore it after. When the name is missing or
2256 couldn't be found, use the one from the last .proc if
2257 md.unwind_check isn't error. Warn if md.unwind_check is
2258 warning.
2259 (md_parse_option): Handle "-munwind-check=[warning|error]".
2260 (md_show_usage): Add "-munwind-check=[warning|error]".
2261 (ia64_init): Set md.unwind_check to warning.
2262
2263 * doc/as.texinfo: Add "-munwind-check=[none|warning|error]".
2264 * doc/c-ia64.texi: Likewise.
2265
22662005-02-11 Jan Beulich <jbeulich@novell.com>
2267
2268 * config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
2269 (LEX_QM): Likewise.
2270 (ia64_parse_name): New third parameter.
2271 (md_parse_name): Pass third argument.
2272 * config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
2273 (md_operand): Handling of '@'-prefixed symbols moved from here...
2274 (ia64_parse_name): ...to here.
2275
22762005-02-11 Jan Beulich <jbeulich@novell.com>
2277
2278 * config/tc-ia64.c (md): Remove last_groups and group_idx.
2279 (errata_nop_necessary_p): Remove declaraction and definition.
2280 (emit_one_bundle): Don't call errata_nop_necessary_p. Don't
2281 update md.group_idx. Don't reset md.last_groups.
2282
22832005-02-11 Jan Beulich <jbeulich@novell.com>
2284
2285 * config/tc-ia64.c (parse_section_name): Handle non-quoted first
2286 argument.
2287 (dot_xdata): Free section name after use.
2288 (dot_float_cons): Likewise.
2289 (dot_xstringer): Likewise.
2290 (dot_xdata_ua): Likewise.
2291 (dot_float_cons_ua): Likewise.
2292 (md_pseudo_table): Add xdata16 and xdata16.ua.
2293
22942005-02-10 H.J. Lu <hongjiu.lu@intel.com>
2295
2296 * doc/all.texi: Add IA64.
2297 * doc/as.texinfo: Likewise.
2298
2299 * doc/c-ia64.texi: Fix typos.
2300
23012005-02-10 Julian Brown <julian@codesourcery.com>
2302
2303 * config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
2304 BFD_RELOC_UNUSED.
2305 (do_t_push_pop): Likewise.
2306 (md_assemble): Likewise.
2307 (md_apply_fix3): Handle BFD_RELOC_NONE correctly, make
2308 BFD_RELOC_UNUSED same as previous meaning of BFD_RELOC_NONE.
2309 (create_unwind_entry): Output dependency on the required personality
2310 routines.
2311
23122005-02-07 Nathan Sidwell <nathan@codesourcery.com>
2313
2314 * as.h (seg_not_empty_p): Return int, not bfd_boolean.
2315 * subsegs.c (seg_not_empty_p): Likewise.
2316
23172005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
2318
2319 * config/tc-maxq.c (md_estimate_size_before_relax): Correct the
2320 relative jump calculation.
2321 <md_convert_frag) : Likewise.
2322 <output_disp): Likewise.
2323
23242005-02-07 Hans-Peter Nilsson <hp@axis.com>
2325
2326 * write.c (write_object_file): Recognize warning-symbol construct
2327 and skip object- and target- handling for the second symbol.
2328
23292005-02-02 Jan Beulich <jbeulich@novell.com>
2330
2331 * config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed
2332 designators along with quoted ones. Free copy of quoted designator
2333 when done.
2334
23352005-02-01 Ben Elliston <bje@au.ibm.com>
2336
2337 * config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
2338 config/obj-ieee.c, config/obj-som.c, config/obj-vms.c,
2339 config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c,
2340 config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c,
2341 config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c,
2342 config/tc-i370.c, config/tc-i386.c, config/tc-i960.c,
2343 config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h,
2344 config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c,
2345 config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c,
2346 config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c,
2347 config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c,
2348 config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c,
2349 config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove
2350 #if 0'd code throughout.
2351
23522005-01-31 Nick Clifton <nickc@redhat.com>
2353
2354 * as.c (parse_args): Bump copyright date reported by --version to
2355 2005.
2356
23572005-01-31 Nick Clifton <nickc@redhat.com>
2358
2359 * configure.tgt: Remove obsolete targets m68k-lynxos, sparc-lynxos
2360 and vax-vms.
2361
23622005-01-31 Jan Beulich <jbeulich@novell.com>
2363
2364 * macro.c (buffer_and_nest): Allow 'from' being NULL; handle anything
2365 that can end with .endr in that case. Make requiring/permitting
2366 pseudo-ops without leading dot closer to the logic in read.c serving
2367 the same purpose.
2368 (expand_irp): Don't pass a mnemonic to buffer_and_nest as it will be
2369 ignored.
2370
23712005-01-31 Jan Beulich <jbeulich@novell.com>
2372
2373 * macro.c (do_formals): Adjust to no longer accept empty parameter
2374 names.
2375 (define_macro): Adjust to no longer accept empty macro name, garbage
2376 following the parameters, or macros that were previously defined.
2377 * read.c (s_bad_end): Declare.
2378 (potable): Add endm. Handler for endr and endm is s_bad_end.
2379 (s_bad_end): Rename from s_bad_endr. Adjust to handle both .endm
2380 and .endr.
2381 * read.h (s_bad_endr): Remove.
2382
23832005-01-31 Jan Beulich <jbeulich@novell.com>
2384
2385 * config/tc-ia64.c (parse_operands): Parse all specified operands,
2386 immediately discarding (but counting) those exceeding the maximum
2387 possible amount. Track whether output and input operand counts ever
2388 matched, and use this to better indicate which of the operands/
2389 operand types was wrong; specifically don't default to pointing to
2390 the first operand.
2391
23922005-01-31 Jan Beulich <jbeulich@novell.com>
2393
2394 * config/tc-ia64.c (unwind): Remove proc_end (now an automatic
2395 variable in dot_endp). Add body and insn. Make prologue,
2396 prologue_mask, body, and insn bitfields.
2397 (fixup_unw_records): Remove spurious new-lines from end of diagnostic
2398 messages.
2399 (in_procedure, in_prologue, in_body): New.
2400 (dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
2401 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
2402 dot_unwentry, dot_altrp, dot_savemem, dot_saveg, dot_savef, dot_saveb,
2403 dot_savegf, dot_spill, dot_spillreg, dot_spillmem, dot_spillreg_p,
2404 dot_spillmem_p, dot_label_state, dot_copy_state, dot_unwabi,
2405 dot_personality): Use the appropriate one of the above.
2406 (dot_proc): Clear unwind.proc_start; set to current location only if
2407 none of the entry points were valid. Check for non-zero-length entry
2408 point names. Check that entry points aren't defined, yet. Clear
2409 unwind.prologue, unwind.body, and unwind.insn.
2410 (dot_body): Call in_procedure. Check that first directive in procedure
2411 had no insns emitted before. Set unwind.body.
2412 (dot_prologue): Call in_procedure. Check that not already in prologue.
2413 Check that first directive in procedure had no insns emitted before.
2414 Clear unwind.body.
2415 (dot_endp): Call in_procedure. Declare proc_end. Check for non-zero-
2416 length entry point names. Check that entry points became defined.
2417 (md_assemble): Set unwind.insn once unwind.proc_start is defined.
2418
24192005-01-31 Jan Beulich <jbeulich@novell.com>
2420
2421 * config/tc-ia64.c (emit_one_bundle): Snapshot manual bundling state
2422 before actually using it. Don't generate an error in manual bundling
2423 mode when looking at an insn requiring slot 2 but not yet at slot 2.
2424 Don't generate an error in manual bundling mode when looking at an
2425 insn required to be last in its group but the required slot hasn't
2426 been reached, yet. Allow conversion from MII to MI;I for bundle
2427 consisting of only 2 insns with the stop between them. Suppress
2428 various meaningless errors resulting from detecting earlier ones.
2429
24302005-01-31 Jan Beulich <jbeulich@novell.com>
2431
2432 * config/tc-ia64.c (parse_operands): Also handle alloc without first
2433 input being ar.pfs.
2434
24352005-01-28 Christian Groessler <chris@groessler.org>
2436
2437 * config/tc-z8k.c (md_assemble): Improve error detection.
2438
24392005-01-28 Jan Beulich <jbeulich@novell.com>
2440
2441 * config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space
2442 for personality routine pointer only if there is one.
2443 (ia64_convert_frag): Likewise.
2444 (generate_unwind_image): Likewise.
2445
24462005-01-27 Christian Groessler <chris@groessler.org>
2447
2448 * config/tc-z8k.c (INSERT): Remove, not used anywhere.
2449 (md_apply_fix3): Make relative branches out of range an error
2450 instead of a warning. Display correct line number for out of
2451 range branches/calls/memory accesses.
2452
24532005-01-27 Nathan Sidwell <nathan@codesourcery.com>
2454
2455 * dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
2456 to emit .debug_line and other debug sections.
2457 * as.h (seg_not_empty_p): Declare.
2458 * subsegs.c (seg_not_empty_p): New predicate.
2459
24602005-01-27 Andrew Cagney <cagney@gnu.org>
2461
2462 * configure: Regenerate to track ../gettext.m4 change.
2463
24642005-01-27 Jan Beulich <jbeulich@novell.com>
2465
2466 * config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".
2467
24682005-01-27 Jan Beulich <jbeulich@novell.com>
2469
2470 * config/tc-ia64.c (emit_one_bundle): Add late resolution of move
2471 to/from application registers dynamic insns.
2472 (md_assemble): Defer resolution of move to/from application registers
2473 dynamic insns when they can be issued on either the I- or M-units.
2474
24752005-01-25 Alexandre Oliva <aoliva@redhat.com>
2476
2477 * config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such.
2478 2004-12-10 Alexandre Oliva <aoliva@redhat.com>
2479 * config/tc-frv.c (frv_pic_ptr): Add tlsmoff support.
2480 2004-11-10 Alexandre Oliva <aoliva@redhat.com>
2481 * cgen.c (gas_cgen_parse_operand): Handle
2482 CGEN_PARSE_OPERAND_SYMBOLIC.
2483 * config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations.
2484 (frv_force_relocation): Likewise. Fix handling of PIC
2485 relocations.
2486 (md_apply_fix3): Likewise.
2487
24882005-01-21 Ben Elliston <bje@au.ibm.com>
2489
2490 * as.h: Remove #if 0'd code.
2491 * atof-generic.c (atof_generic): Likewise.
2492 * ecoff.c (ecoff_directive_frame): Likewise.
2493 * frags.h (FRAG_APPEND_1_CHAR): Likewise.
2494 * itbl-ops.c (itbl_add_reg): Likewise.
2495 * listing.c (calc_hex): Likewise.
2496 * read.c (MASK_CHAR): Likewise.
2497 * subsegs.c (subsegs_print_statistics): Likewise.
2498 * symbols.c (indent): Likewise.
2499 * write.c (write_relocs): Likewise.
2500 (write_object_file): Likewise.
2501 (relax_frag): Likewise.
2502
25032005-01-20 Nick Clifton <nickc@redhat.com>
2504
2505 * as.c (std_longopts): Add an entry for "--a" in order to prevent
2506 getopt_long_only() from considering -a as an abbreviation for
2507 --alternate.
2508 (parse_args): Fix the parsing of -a=<file>.
2509
25102005-01-20 Alan Modra <amodra@bigpond.net.au>
2511
2512 PR gas/684
2513 * read.c (s_incbin): Adjust default count for skip. Check validity
2514 of count and skip rigorously.
2515
25162005-01-19 Fred Fish <fnf@specifixinc.com>
2517
2518 * config/tc-mips.c (dummy_opcode): Add init for new struct member.
2519
25202005-01-19 Richard Sandiford <rsandifo@redhat.com>
2521
2522 * read.c (convert_to_bignum): New function, split out from...
2523 (emit_expr): ...here. Handle the case where X_add_number is
2524 positive and the input value is negative.
2525 (output_big_sleb128): Fix setting of continuation bit. Check whether
2526 the final byte needs to be sign-extended. Fix size-shrinking loop.
2527 (emit_leb128_expr): When generating a signed leb128, see whether the
2528 sign of an O_constant's X_add_number matches the sign of the input
2529 value. Use a bignum if not.
2530
25312005-01-17 Andrew Stubbs <andrew.stubbs@st.com>
2532
2533 * tc-sh.c (md_begin,md_parse_option): Change arch_sh1_up to
2534 arch_sh_up in order to match the external name and make the
2535 testsuite's job easier.
2536
25372005-01-14 H.J. Lu <hongjiu.lu@intel.com>
2538
2539 PR 659
2540 * config/tc-i386.c (i386_scale): Disallow 0 scale.
2541
25422005-01-12 Nick Clifton <nickc@redhat.com>
2543
2544 * config/tc-iq2000.c (s_iq2000_set): Fix thinko parsing
2545 ignored_arguments array.
2546
25472005-01-10 H.J. Lu <hongjiu.lu@intel.com>
2548
2549 * write.c (write_object_file): Disallow a symbol equated to
2550 common symbol.
2551
25522005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com>
2553
2554 * tc-maxq.c: Replace constants 10 and 20 with bfd_mach_maxq10 and
2555 bfd_mach_maxq20.
2556 (md_pseudo_table): Add new pseudo ops for maxq10 and maxq20.
2557 (maxq_target): New function: Set the machine type.
2558
25592005-01-06 Paul Brook <paul@codesourcery.com>
2560
2561 * config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
2562 (md_begin): Handle TE_VXWORKS for FP defaults.
2563 (md_apply_fix3): Correct rela offsets.
2564 (elf32_arm_target_format): Add VxWorks targets.
2565
25662005-01-06 Paul Brook <paul@codesourcery.com>
2567
2568 * configure.tgt: Set em=vxworks for *-*-vxworks.
2569 * config/te-vxworks.h: New File.
2570
25712005-01-06 Paul Brook <paul@codesourcery.com>
2572
2573 * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
2574
25752005-01-04 Dmitry Diky <diwil@spec.ru>
2576
2577 * config/tc-msp430.c (md_apply_fix3): Fix offset calculation for
2578 global label.
2579
25802005-01-03 David Mosberger <davidm@hpl.hp.com>
2581
2582 * config/tc-ia64.c (md): Add member "loc_directive_seen".
2583 (dot_loc): New function.
2584 (md_pseudo_table): Add entry to map .loc to dot_loc().
2585 (emit_one_bundle): Only call dwarf2_gen_line_info() if we have
2586 seen a .loc directive or we're generating DWARF2 debug info for
2587 assembly source.
2588
25892004-12-29 Alan Modra <amodra@bigpond.net.au>
2590
2591 PR gas/619
2592 * read.c (s_comm_internal): Don't zero end of name until size
2593 expression has been parsed.
2594
25952004-12-25 Marek Michalkiewicz <marekm@amelek.gda.pl>
2596
2597 * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
2598
25992004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
2600
2601 * config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch'
2602 case).
2603
26042004-12-22 Ian Lance Taylor <ian@airs.com>
2605
2606 * configure.tgt: New.
2607 * configure.in: Move setting of cpu_type, fmt, etc., to
2608 configure.tgt.
2609 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
2610 $(srcdir)/configure.tgt.
2611 * configure, Makefile.in: Rebuild.
2612
26132004-12-22 Klaus Rudolph <lts-rudolph@gmx.de>
2614
2615 * config/tc-avr.c: Add support for the new R_AVR_LDI, R_AVR_6 and
2616 R_AVR_6_ADIW relocs for the LDI, ADIW/SBIW and LDD/STD
2617 instructions.
2618 (avr_offset_expression): New function to parse offsets for LDI
2619 instructions.
2620 (avr_operand): Use it.
2621 (md_apply_fix3): Generate the relocs.
2622
26232004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
2624
2625 * config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
2626 BFD_RELOC_SH_IMMS10BY8 relocation.
2627
2628 * config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
2629 than just ignoring bad code.
2630
26312004-12-16 Richard Sandiford <rsandifo@redhat.com>
2632
2633 * config/tc-v850.c (handle_lo16): New function.
2634 (v850_reloc_prefix): Use it to check lo().
2635 (md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET.
2636
26372004-12-14 P.J. Darcy <darcypj@us.ibm.com>
2638
2639 * configure.in: Add s390x-ibm-tpf support.
2640 * configure: Regenerate.
2641
26422004-12-15 Jan Beulich <jbeulich@novell.com>
2643
2644 * config/obj-elf.c (obj_elf_change_section): Only set type and
2645 attributes on new sections. Emit warning when type of re-declared
2646 section doesn't match.
2647
26482004-12-15 Jan Beulich <jbeulich@novell.com>
2649
2650 * dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so
2651 '.cfi_startproc simple' doesn't inherit the old value.
2652
26532004-12-15 Jan Beulich <jbeulich@novell.com>
2654
2655 * dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation
2656 to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf
2657 generation to emit a factored offset.
2658
26592004-12-10 Ian Lance Taylor <ian@wasabisystems.com>
2660
2661 * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset
2662 which is too large in the case of NO_PIC without 64-bit
2663 addresses.
2664
2665 * config/tc-mips.c (mips_in_shared): New static variable.
2666 (macro_build_lui): Permit "_gp" if !mips_in_shared.
2667 (md_longopts): Add -mshared and -mno-shared.
2668 (md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED.
2669 (s_cpload): Implement !mips_in_shared case.
2670 (s_cpsetup): Likewise.
2671 * doc/c-mips.texi (MIPS Opts): Document -mno-shared.
2672 * NEWS: Mention -mno-shared.
2673
26742004-12-09 Paul Brook <paul@codesourcery.com>
2675
2676 * config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
2677 for function start.
2678
26792004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
2680
2681 * config/tc-mips.c (append_insn): If we emit a nop during a relax
2682 sequence, increase the size of the sequence.
2683
2684 * config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to
2685 use CPU_RM9000.
2686
26872004-12-07 Ben Elliston <bje@gnu.org>
2688
2689 * read.c (s_align): Use an align_limit temporary to allay a GCC
2690 signed/unsigned comparison warning.
2691
26922004-12-01 Mark Mitchell <mark@codesourcery.com>
2693
2694 * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
2695 * configure.in: Use it for arm*-*-linux-gnueabi*.
2696 * config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
2697 * config/te-armlinuxeabi.h: New file.
2698 * Makefile.in: Regenerated.
2699 * aclocal.m4: Likewise.
2700 * configure: Likewise.
2701 * doc/Makefile.in: Regenerated.
2702
27032004-12-02 Bob Wilson <bob.wilson@acm.org>
2704
2705 * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
2706 (xtensa_restore_emit_state): Likewise.
2707
27082004-12-02 Alan Modra <amodra@bigpond.net.au>
2709
2710 * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.
2711 (s_align): Use it.
2712
27132004-11-30 Tero Niemela <tero_niemela@yahoo.com>
2714
2715 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
2716 * Makefile.in: Regenerate.
2717
27182004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
2719
2720 * config/tc-crx.c: Major code cleanup. Remove unused variables and
2721 functions, give functions a meaningful name, add comments.
2722 (check_range): New function - Replace operand size calculation
2723 with range checking.
2724 (assemble_insn): Update Algorithm, improve error issuing.
2725 (enum op_err): New.
2726 (process_label_constant): Bug fix regarding COP_BRANCH_INS relocation
2727 handling.
2728
27292004-11-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2730
2731 * config/tc-m32r.c (md_pcrel_from_section): Fixed a pcrel relocte
2732 miss between different section in the same module.
2733 (tc_gen_reloc): Likewise.
2734
27352004-11-25 Theodore A. Roth <troth@openavr.org>
2736
2737 * gas/config/tc-avr.c (mcu_types): Add support for atmega165,
2738 atmega325, atmega3250, atmega645 and atmega6450.
2739
27402004-11-25 Jan Beulich <jbeulich@novell.com>
2741
2742 * config/tc-i386.c (optimize_imm): Adjust immediates to only those
2743 permissible for the selected instruction suffix.
2744 (process_suffix): For DefaultSize instructions, suppressing the
2745 guessing of a 'q' suffix if the instruction doesn't support it is
2746 pointless, because only an 'l' suffix can be guessed in this place.
2747
27482004-11-24 Nick Clifton <nickc@redhat.com>
2749
2750 * config/tc-iq2000.c: Remove support for IQ10 processor.
2751 Convert to ISO C90 formatting.
2752 * config/tc-iq2000.h: Likewise.
2753
27542004-11-23 Nick Clifton <nickc@redhat.com>
2755
2756 * config/tc-mn10300.c (md_relax_table): More fixes to the offsets
2757 in this table. They should be correct now.
2758
27592004-11-23 Jan Beulich <jbeulich@novell.com>
2760
2761 * config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to
2762 indicate the MMX extensions added by both SSE and 3DNow!A.
2763 (Cpu3dnowA): Declare.
2764 (CpuUnknownFlags): Update.
2765 * config/tc-i386.c (cpu_sub_arch_name): Declare.
2766 (cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do
2767 neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies
2768 3DNow!. Athlon additionally implies 3DNow!A. Several new
2769 entries (those starting with a dot are for sub-arch specification).
2770 (set_cpu_arch): Handle sub-arch specifications.
2771 (parse_insn): Distinguish between instructions not supported because
2772 of insufficient CPU features and because of 64-bit mode.
2773 * doc/c-i386.texi: Describe enhanced .arch directive.
2774
27752004-11-22 Bob Wilson <bob.wilson@acm.org>
2776
2777 * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow.
2778
27792004-11-22 Bob Wilson <bob.wilson@acm.org>
2780
2781 * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section
2782 without a corresponding .debug_info section.
2783
27842004-11-22 Hans-Peter Nilsson <hp@axis.com>
2785
2786 * read.c (potable): Add "error" and "warning".
2787 (s_errwarn): New function.
2788 * read.h (s_errwarn): Declare.
2789 * doc/as.texinfo (Error, Warning): Document .error and .warning.
2790
27912004-11-22 Nick Clifton <nickc@redhat.com>
2792
2793 * config/tc-tic54x.c (tic54x_adjust_symtab): Adjust call to
2794 c_dot_file_symbol.
2795
27962004-11-19 Alan Modra <amodra@bigpond.net.au>
2797
2798 * config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes,
2799 struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h.
2800
28012004-11-19 Alan Modra <amodra@bigpond.net.au>
2802
2803 * config/obj-coff.c (c_dot_file_symbol): Add "app" param.
2804 (coff_adjust_symtab): Adjust call.
2805 (crawl_symbols): Likewise.
2806 * config/obj-coff.h (c_dot_file_symbol): Add "app" param.
2807 (obj_app_file): Adjust.
2808
28092004-11-18 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
2810
2811 * configure.in: Enable bfd_assember for the MAXQ port.
2812 * configure: Regenerate.
2813
28142004-11-12 Bob Wilson <bob.wilson@acm.org>
2815 Sterling Augustine <sterling@tensilica.com>
2816
2817 * config/tc-xtensa.c (finish_vinsn): Clear pending instruction if
2818 there is a conflict.
2819 (check_t1_t2_reads_and_writes): Check for both reads and writes to
2820 interfaces that are related as determined by xtensa_interface_class_id.
2821
28222004-11-12 Nick Clifton <nickc@redhat.com>
2823
2824 * config/tc-mn10300.c (md_relax_table): Fix off by one negative
2825 offsets for conditional branches.
2826
28272004-11-11 Bob Wilson <bob.wilson@acm.org>
2828
2829 * config/tc-xtensa.c (MAX_IMMED6): Change value to 65.
2830
28312004-11-10 Bob Wilson <bob.wilson@acm.org>
2832
2833 * config/tc-xtensa.c (update_next_frag_state): Always add a NOP if
2834 relaxing at the end of a loop. Don't mark frags as UNREACHABLE or
2835 MAYBE_UNREACHABLE.
2836 (relax_frag_immed): Update call to update_next_frag_state.
2837
28382004-11-10 Alan Modra <amodra@bigpond.net.au>
2839
2840 * obj.h (struct format_ops <app_file>): Add int param.
2841 * read.h (s_app_file_string): Likewise.
2842 * read.c (s_app_file_string): Likewise.
2843 (s_app_file): Adjust s_app_file_string call.
2844 * config/tc-mips.c (s_mips_file): Likewise.
2845 * config/obj-coff.h (obj_app_file): Add app param.
2846 * config/obj-ecoff.h (obj_app_file): Likewise.
2847 * config/obj-multi.h (obj_app_file): Likewise.
2848 * config/obj-elf.h (elf_file_symbol): Likewise.
2849 * config/obj-elf.c (elf_file_symbol): Only emit one file symbol
2850 if called for # preprocessor lines.
2851
28522004-11-08 H.J. Lu <hongjiu.lu@intel.com>
2853
2854 PR 528
2855 * symbols.c (resolve_symbol_value): Convert weak symbols only
2856 for Windows PECOFF.
2857 (symbol_equated_reloc_p): Don't equate weaks when relocating
2858 only for Windows PECOFF.
2859
28602004-11-08 Tomer Levi <Tomer.Levi@nsc.com>
2861
2862 * config/tc-crx.c (print_insn): Check and set insn_addr.
2863 * config/tc-crx.h (md_frag_check): Define.
2864
28652004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
2866 Vineet Sharma <vineets@noida.hcltech.com>
2867
2868 * configure.in: Add support for new target maxq-coff.
2869 * configure: Regenerate.
2870 * NEWS: Mention new support.
2871 * config/tc-maxq.c: New file.
2872 * config/tc-maxq.h: New file.
2873 * config/obj-coff.h: Add support for maxq-coff.
2874
28752004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
2876
2877 * symbols.c (any_external_name): Define.
2878 (resolve_symbol_value): Convert weak symbols.
2879 (S_SET_EXTERNAL): Support any_external_name.
2880 (S_SET_NAME): Qualify parameter const.
2881 (symbol_equated_reloc_p): Equate to weaks when relocating.
2882 * symbols.h (S_SET_NAME): Qualfiy parameter const.
2883 * tc.h (any_external_name): Declare.
2884 * config/obj-coff.c ("coff/pe.h"): Include for BFD
2885 assemblers also.
2886 (weak_is_altname): Declare and define.
2887 (weak_name2altname): Same.
2888 (weak_altname2name): Same.
2889 (weak_uniquify): Same.
2890 (weak_altprefix): Define.
2891 (obj_coff_weak): Change .weak syntax and handling.
2892 (coff_frob_symbol): Fix PE weak symbol alternates.
2893 * config/obj-coff.h (USE_UNIQUE): Define.
2894 * config/tc-i386.c (md_apply_fix3): Assume weak symbols
2895 are in another segment.
2896 (tc_gen_reloc): Remove broken addend hack.
2897 doc/as.texinfo: Update.
2898
28992004-11-05 Sterling Augustine <sterling@tensilica.com>
2900
2901 * config/tc-xtensa.c (total_frag_text_expansion): New.
2902 (md_estimate_size_before_relax): Use it.
2903 (find_address_of_next_align_frag): Likewise.
2904
29052004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
2906
2907 * config/tc-crx.c: Rename argument types.
2908 (processing_arg_number): Rename to 'cur_arg_num'.
2909 (get_number_of_bits): Rename to 'set_operand_size'.
2910 (get_operandtype): Rename to 'parse_operand', totally rewrite.
2911 (set_cons_rparams): Rename to 'set_operand', totally rewrite.
2912 (set_indexmode_parameters): Remove function, integrate its code into
2913 'set_operand'.
2914 (set_operand_size): Get rid of 'Operand Number' function parameter -
2915 use global variable 'cur_arg_num' instead.
2916 Use a local 'argument' pointer to reference the current argument.
2917 (parse_operand): Likewise.
2918 (set_operand): Likewise.
2919 (process_label_constant): Likewise.
2920
29212004-11-04 Bob Wilson <bob.wilson@acm.org>
2922
2923 * config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs.
2924 (add_section_rename): Delete. Inlined into...
2925 (build_section_rename): ...here. Use xstrdup instead of strdup.
2926 (xtensa_section_rename): Drop "const" from argument and return types.
2927 (md_show_usage): Indent to match show_usage().
2928 * config/tc-xtensa.h: Remove XTENSA_SECTION_RENAME ifdefs.
2929 (tc_canonicalize_section_name): Define.
2930 (md_elf_section_rename): Remove unused macro.
2931 * doc/as.texinfo (Overview): Document Xtensa --rename-section option.
2932 * doc/c-xtensa.texi (Xtensa Options): Likewise.
2933 (Frame Directive): Delete.
2934
29352004-11-04 Daniel Jacobowitz <dan@debian.org>
2936
2937 * configure.in: Remove arm-*-oabi and thumb-*-oabi.
2938 * config/tc-arm.c (target_oabi): Delete.
2939 (md_apply_fix3, elf32_arm_target_format): Remove target_oabi checks.
2940 (arm_opts): Remove moabi.
2941 * doc/as.texinfo (Overview): Remove documentation of -moabi.
2942 * doc/c-arm.texi (ARM Options): Likewise.
2943 * configure: Regenerated.
2944
29452004-11-04 Hans-Peter Nilsson <hp@axis.com>
2946
2947 * configure.in (crisv32): Recognize. AC_DEFINE_UNQUOTED
2948 DEFAULT_CRIS_ARCH. Handle crisv32-*-linux-gnu* like
2949 cris-*-linux-gnu* and crisv32-*-* like cris-*-*.
2950 * configure: Regenerate.
2951 * config/tc-cris.c (enum cris_archs): New.
2952 (cris_mach, cris_arch_from_string, s_cris_arch, get_sup_reg)
2953 (cris_insn_ver_valid_for_arch): New functions.
2954 (DEFAULT_CRIS_ARCH): New macro, default to cris_any_v0_v10.
2955 (cris_arch): New variable.
2956 (md_pseudo_table): New pseudo .arch.
2957 (err_for_dangerous_mul_placement): Initialize according to
2958 DEFAULT_CRIS_ARCH.
2959 (STATE_COND_BRANCH): Renamed from STATE_CONDITIONAL_BRANCH.
2960 All users changed.
2961 (STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON)
2962 (STATE_ABS_BRANCH_V32, STATE_LAPC, BRANCH_BF_V32, BRANCH_BB_V32)
2963 (BRANCH_WF_V32, BRANCH_WB_V32): New.
2964 (BRANCH_BF, BRANCH_BB, BRANCH_WF, BRANCH_WB): Don't undef after
2965 use in md_cris_relax_table.
2966 (md_cris_relax_table): Add entries for STATE_COND_BRANCH_V32,
2967 STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
2968 Update and improve head comment.
2969 (OPTION_PIC): Define in terms of previous option, OPTION_US.
2970 (OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): Similar.
2971 (OPTION_ARCH): New.
2972 (md_longopts): New option --march=...
2973 (cris_any_v0_v10_long_jump_size, crisv32_long_jump_size): New
2974 macros.
2975 (md_long_jump_size): Initialize in terms of DEFAULT_CRIS_ARCH.
2976 (HANDLE_RELAXABLE): New macro.
2977 (md_estimate_size_before_relax): Use HANDLE_RELAXABLE for common
2978 cases. Check for weak symbols and assume not relaxable. Handle
2979 STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON,
2980 STATE_ABS_BRANCH_V32, STATE_LAPC. Use new variable symbolP, not
2981 fragP->fr_symbol.
2982 (md_convert_frag): Handle STATE_COND_BRANCH_V32,
2983 STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
2984 (cris_create_short_jump): Adjust for CRISv32.
2985 (cris_relax_frag): Handle new states.
2986 (md_create_long_jump): Ditto. Emit error for common_v10_v32.
2987 (md_begin): Define symbols "..asm.arch.cris.v32",
2988 "..asm.arch.cris.v10", "..asm.arch.cris.common_v10_v32" and
2989 "..asm.arch.cris.any_v0_v10". Use cris_insn_ver_valid_for_arch
2990 when entering opcode table entry points.
2991 (md_assemble): Adjust branch handling for CRISv32. Handle LAPC
2992 relaxation. In fix_new_exp call for main insn, pass 1 for pcrel
2993 parameter for 8, 16 and 32-bit pc-relative insns and LAPC.
2994 (cris_process_instruction): Initialize out_insnp->insn_type to
2995 CRIS_INSN_NONE, not CRIS_INSN_NORMAL.
2996 <case ']', '[', 'A', 'd', 'Q', 'N', 'n', 'Y', 'U', 'u', 'T'>: New
2997 cases.
2998 <case 'm'>: Check that modified_char == '.'.
2999 <invalid operands>: Consume the rest of the line.
3000 When operands don't match, skip over subsequent insns with
3001 non-matching version specifier but same mnemonic.
3002 <immediate constant, case SIZE_SPEC_REG>: Immediate operands for
3003 special registers in CRISv32 are always 32 bit long.
3004 <immediate constant, case SIZE_FIELD_SIGNED, SIZE_FIELD_UNSIGNED>:
3005 New cases.
3006 (get_gen_reg): Only recognize "PC" when followed by "+]" for v32
3007 and compatible. Recognize "ACR" for v32, unless followed by "+".
3008 (get_spec_reg): Consider cris_arch when looking up register.
3009 (get_autoinc_prefix_or_indir_op): Don't recognize assignment for
3010 v32 or compatible.
3011 (get_3op_or_dip_prefix_op): Check for ']' after seeing '[rN+'.
3012 (cris_get_expression): Restore input_line_pointer if failing "early".
3013 (get_flags): Consider cris_arch and recognize flags accordingly.
3014 (branch_disp): Adjust for CRISv32.
3015 (gen_cond_branch_32): Similar. Emit error for common_v10_v32.
3016 (cris_number_to_imm): Use as_bad_where, not as_bad. Remove
3017 related FIXME. Don't insist on BFD_RELOC_32_PCREL fixup to be
3018 resolved. Don't enter zeros in object file for
3019 BFD_RELOC_32_PCREL.
3020 <case BFD_RELOC_CRIS_LAPCQ_OFFSET, BFD_RELOC_CRIS_SIGNED_16>
3021 <case BFD_RELOC_CRIS_SIGNED_8>: New case.
3022 (md_parse_option): Break out "return 1".
3023 <OPTION_ARCH> New case.
3024 (tc_gen_reloc): <case BFD_RELOC_CRIS_LAPCQ_OFFSET>
3025 <case BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_SIGNED_8>
3026 <case BFD_RELOC_CRIS_UNSIGNED_8, BFD_RELOC_CRIS_UNSIGNED_16>
3027 <case BFD_RELOC_32_PCREL>: New cases.
3028 Addends for non-zero fx_pcrel are too in fx_offset.
3029 (md_show_usage): Show --march=<arch>.
3030 (md_apply_fix3): Adjust val for BFD_RELOC_CRIS_LAPCQ_OFFSET.
3031 (md_pcrel_from): BFD_RELOC_CRIS_LAPCQ_OFFSET is PC-relative too.
3032 (s_syntax) <struct syntaxes>: Properly constify member operand.
3033 * config/tc-cris.h (TARGET_MACH): Define.
3034 (cris_mach): Declare.
3035 * doc/as.texinfo (Overview) <CRIS>: Add --march=...
3036 * doc/c-cris.texi (CRIS-Symbols): New node for built-in symbols.
3037 (CRIS-Opts): Document --march=...
3038 (CRIS-Pseudos): Document .arch.
3039
30402004-11-04 Jan Beulich <jbeulich@novell.com>
3041
3042 * config/tc-i386.c (set_intel_syntax): Allow % in symbol names when
3043 intel syntax and no register prefix, allow $ in symbol names when
3044 intel syntax.
3045 (set_16bit_gcc_code_flag): Replace literal 'l' by LONG_MNEM_SUFFIX.
3046 (intel_float_operand): Add fourth return value indicating math control
3047 operations. Make classification more precise.
3048 (md_assemble): Complain if memory operand of mov[sz]x has no size
3049 specified.
3050 (parse_insn): Translate word operands to floating point instructions
3051 operating on integers as well as control instructions to short ones
3052 as expected by AT&T syntax. Translate 'd' suffix to short one only for
3053 floating point instructions operating on non-integer operands.
3054 (match_template): Remove fldcw special case. Adjust q-suffix handling
3055 to permit it on fild/fistp/fisttp in AT&T mode.
3056 (process_suffix): Don't guess DefaultSize insns' suffix from
3057 stackop_size for certain floating point control instructions. Guess
3058 suffix for branch and [ls][gi]dt based on flag_code. Split error
3059 messages for Intel and AT&T syntax, and make the condition more strict
3060 for the former. Adjust suppressing of generation of operand size
3061 overrides.
3062 (intel parser): Allow the full set of MASM operators. Add FWORD, TBYTE,
3063 OWORD, and XMMWORD operand size specifiers (TBYTE replaces XWORD). Add
3064 more error checking.
3065 * config/tc-i386.h (BYTE_PTR WORD_PTR DWORD_PTR QWORD_PTR XWORD_PTR
3066 SHORT OFFSET_FLAT FLAT NONE_FOUND): Remove unused defines.
3067
30682004-11-03 Hans-Peter Nilsson <hp@axis.com>
3069
3070 * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare
3071 md_short_jump_size, md_long_jump_size.
3072 * write.c [!WORKING_DOT_WORD]: Ditto.
3073 * tc.h [!WORKING_DOT_WORD]: Declare them here. Drop const
3074 qualifier.
3075 * config/tc-cris.h (md_short_jump_size, md_long_jump_size): Don't
3076 declare.
3077 * config/tc-cris.c (md_short_jump_size, md_long_jump_size): Drop
3078 const qualifier in these definitions.
3079 * config/tc-i370.c, config/tc-m68k.c, config/tc-pdp11.c,
3080 config/tc-s390.c, config/tc-tahoe.c, config/tc-vax.c: Ditto.
3081
30822004-11-02 Nick Clifton <nickc@redhat.com>
3083
3084 * dwarf2dbg.c (dwarf2_finish): Check for the existence of a file
3085 table before deciding to produce a .debug_line section to match up
3086 with a user provided .debug_info section.
3087
30882004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
3089
3090 * config/tc-crx.c (getreg_image): Bug fix, a return value was
3091 mistakenly omitted from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.
3092
30932004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
3094
3095 * config/tc-crx.c: Remove global variable 'post_inc_mode'.
3096 (get_flags): New function.
3097 (get_number_of_bits): Edit comments, update numeric values to
3098 supported sizes.
3099 (process_label_constant): Don't support the colon
3100 format (SYMBOL:[s|m|l]).
3101 (set_cons_rparams): Support argument type 'arg_rbase'.
3102 (get_operandtype): Bug fix in 'rbase' operand type parsing.
3103 (handle_LoadStor): Bug fix, first handle post-increment mode.
3104 (getreg_image): Remove redundant code, update according to latest
3105 CRX spec.
3106 (print_constant): Bug fix relate to 3-word instructions.
3107 (assemble_insn): Bug fix, when matching instructions, verify also
3108 instruction type (not only mnemonic).
3109 Add various error checking.
3110 (preprocess_reglist): Support HI/LO and user registers.
3111
31122004-10-25 David Mosberger-Tang <davidm@hpl.hp.com>
3113
3114 * config/tc-ia64.c (fixup_unw_records): Don't let the "t" value
3115 in an epilogue directive go negative.
3116
31172004-10-25 H.J. Lu <hongjiu.lu@intel.com>
3118
3119 PR 474
3120 * config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use
3121 after reporting template error during manual bundling. Reported
3122 by Michael Dupont, michaelx.dupont@intel.com.
3123
31242004-10-25 Daniel Jacobowitz <dan@debian.org>
3125
3126 * Makefile.am: Run dep-am.
3127 * aclocal.m4: Regenerate with automake 1.9.2.
3128 * Makefile.in: Regenerate with automake 1.9.2.
3129 * doc/Makefile.in: Likewise.
3130
3131 * config/tc-arm.c: Include "dw2gencfi.h".
3132 (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions):
3133 New functions.
3134 * config/tc-arm.h (TARGET_USE_CFIPOP, DWARF2_DEFAULT_RETURN_COLUMN)
3135 (DWARF2_CIE_DATA_ALIGNMENT, tc_regname_to_dw2regnum)
3136 (tc_cfi_frame_initial_instructions): Define.
3137 (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions):
3138 Add prototypes.
3139
31402004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
3141
3142 * config/tc-crx.c (assemble_insn): Check unsigned immediate
3143 operands validity.
3144 Update coprocessor id to be unsigned immediate.
3145
31462004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
3147
3148 * config/tc-i386.c (O_secrel): Delete.
3149 (tc_pe_dwarf2_emit_offset): New function.
3150 * config/tc-i386.h (O_secrel): Define as O_md1.
3151 (TC_DWARF2_EMIT_OFFSET): Define.
3152
31532004-10-18 Nick Clifton <nickc@redhat.com>
3154
3155 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Accept and
3156 ignore @fptr() directives for 4-byte fixups.
3157
31582004-10-15 Alan Modra <amodra@bigpond.net.au>
3159
3160 * Makefile.am: Run "make dep-am"
3161 * Makefile.in: Regenerate.
3162
31632004-10-14 Bob Wilson <bob.wilson@acm.org>
3164
3165 * doc/c-xtensa.texi (Xtensa Options, Absolute Literals Directive):
3166 Remove comments about placement of literal pools.
3167 (Literal Directive): Update description of literal placement.
3168 (Literal Prefix Directive): Remove statement that this does not apply
3169 to absolute-mode literals. Describe new section naming scheme.
3170
31712004-10-12 Bob Wilson <bob.wilson@acm.org>
3172
3173 * config/tc-xtensa.c (xtensa_frequency_pseudo): Use set_subseg_freq.
3174 (is_entry_opcode, is_movi_opcode, is_the_loop_opcode, is_jx_opcode,
3175 is_windowed_return_opcode): Delete.
3176 (xtensa_frob_label): Use get_subseg_target_freq.
3177 (md_assemble): Inline call to is_entry_opcode.
3178 (xtensa_handle_align): Inline call to get_frag_is_literal.
3179 (relaxation_requirements): Inline call to is_jx_opcode.
3180 (emit_single_op): Inline call to is_movi_opcode.
3181 (xg_assemble_vliw_tokens): Inline calls to get_frag_is_insn,
3182 get_frag_is_no_transform, is_entry_opcode, and
3183 set_frag_is_specific_opcode. Use get_subseg_total_freq.
3184 (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags,
3185 xtensa_fix_close_loop_end_frags, relax_frag_immed, convert_frag_immed):
3186 Inline calls to get_frag_is_no_transform.
3187 (next_instrs_are_b_retw): Inline call to is_windowed_return_opcode.
3188 (xtensa_fix_short_loop_frags): Inline calls to is_the_loop_opcode and
3189 get_frag_is_no_transform.
3190 (convert_frag_immed_finish_loop): Inline calls to get_expression_value
3191 and set_frag_is_no_transform.
3192 (get_expression_value): Delete.
3193 (subseg_map struct): Rename cur_total_freq to total_freq. Rename
3194 cur_target_freq to target_freq.
3195 (get_subseg_info): Split out code to create a new map entry into ...
3196 (add_subseg_info): ... this new function.
3197 (get_last_insn_flags): Check if get_subseg_info succeeded.
3198 (set_last_insn_flags): Call add_subseg_info if needed.
3199 (get_subseg_total_freq, get_subseg_target_freq, set_subseg_freq): New.
3200 (xtensa_reorder_segments): Compute last_sec while counting sections.
3201 Remove call to get_last_sec.
3202 (get_last_sec): Delete.
3203 (cache_literal_section): Inline call to retrieve_literal_seg and its
3204 callees, seg_present and add_seg_list.
3205 (retrieve_literal_seg, seg_present, add_seg_list): Delete.
3206 (get_frag_is_insn, get_frag_is_no_transform,
3207 set_frag_is_specific_opcode, set_frag_is_no_transform): Delete.
3208 * config/tc-xtensa.h (MAX_SLOTS): Reduce from 31 to 15.
3209
32102004-10-12 Bob Wilson <bob.wilson@acm.org>
3211
3212 * config/tc-xtensa.c: Use ISO C90 formatting.
3213 * config/tc-xtensa.h: Likewise.
3214 * config/xtensa-istack.h: Likewise.
3215 * config/xtensa-relax.c: Likewise.
3216 * config/xtensa-relax.h: Likewise.
3217
32182004-10-12 Paul Brook <paul@codesourcery.com>
3219
3220 * config/tc-arm.c (md_begin): Change EF_ARM_EABI_VER3 to
3221 EF_ARM_EABI_VER4.
3222 (arm_eabis): Ditto.
3223 * doc/c-arm.texi: Document that we actually support -meabi=4, not
3224 -meabi=3.
3225
32262004-10-08 Bob Wilson <bob.wilson@acm.org>
3227
3228 * doc/as.texinfo (VTableEntry, VTableInherit): Add "directive" to index
3229 entries.
3230 (Acknowledgements): Use "GAS" instead of AS variable.
3231
32322004-10-08 Daniel Jacobowitz <dan@debian.org>
3233
3234 * config/tc-i386.c: Include "elf/x86-64.h".
3235 (i386_elf_section_type): New function.
3236 * config/tc-i386.h (md_elf_section_type): Define.
3237 (i386_elf_section_type): New prototype.
3238
32392004-10-08 Linus Nielsen Feltzing <linus@haxx.se>
3240
3241 * config/m68k-parse.h (enum m68k_register): New control register,
3242 MBAR2 (for MCF5249)
3243 * config/tc-m68k.c: Correct control register set for MCF5249.
3244
32452004-10-07 Bob Wilson <bob.wilson@acm.org>
3246 Sterling Augustine <sterling@tensilica.com>
3247
3248 * config/tc-xtensa.c (absolute_literals_supported): New global flag.
3249 (UNREACHABLE_MAX_WIDTH): Define.
3250 (XTENSA_FETCH_WIDTH): Delete.
3251 (cur_vinsn, xtensa_fetch_width, xt_saved_debug_type, past_xtensa_end,
3252 prefer_const16, prefer_l32r): New global variables.
3253 (LIT4_SECTION_NAME): Define.
3254 (lit4_state struct): Add lit4_seg_name and lit4_seg fields.
3255 (XTENSA_PROP_*, GET_XTENSA_PROP_*, SET_XTENSA_PROP_*): Define.
3256 (frag_flags struct): New.
3257 (xtensa_block_info struct): Move from tc-xtensa.h. Add flags field.
3258 (subseg_map struct): Add cur_total_freq and cur_target_freq fields.
3259 (bitfield, bit_is_set, set_bit, clear_bit): Define.
3260 (MAX_FORMATS): Define.
3261 (op_placement_info struct, op_placement_table): New.
3262 (O_pltrel, O_hi16, O_lo16): Define.
3263 (directiveE enum): Rename directive_generics to directive_transform.
3264 Delete directive_relax. Add directive_schedule,
3265 directive_absolute_literals, and directive_last_directive.
3266 (directive_info): Rename "generics" to "transform". Delete "relax".
3267 Add "schedule" and "absolute-literals".
3268 (directive_state): Adjust entries to match changes in directive_info.
3269 (xtensa_relax_statesE, RELAX_IMMED_MAXSTEPS): Move to tc-xtensa.h.
3270 (xtensa_const16_opcode, xtensa_movi_opcode, xtensa_movi_n_opcode,
3271 xtensa_l32r_opcode, xtensa_nop_opcode, xtensa_rsr_lcount_opcode): New.
3272 (xtensa_j_opcode, xtensa_rsr_opcode): Delete.
3273 (align_only_targets, software_a0_b_retw_interlock,
3274 software_avoid_b_j_loop_end, maybe_has_b_j_loop_end,
3275 software_avoid_short_loop, software_avoid_close_loop_end,
3276 software_avoid_all_short_loops, specific_opcode): Delete.
3277 (warn_unaligned_branch_targets): New.
3278 (workaround_a0_b_retw, workaround_b_j_loop_end, workaround_short_loop,
3279 workaround_close_loop_end, workaround_all_short_loops): Default FALSE.
3280 (option_[no_]link_relax, option_[no_]transform,
3281 option_[no_]absolute_literals, option_warn_unaligned_targets,
3282 option_prefer_l32r, option_prefer_const16, option_target_hardware):
3283 New enum values.
3284 (option_[no_]align_only_targets, option_literal_section_name,
3285 option_text_section_name, option_data_section_name,
3286 option_bss_section_name, option_eb, option_el): Delete.
3287 (md_longopts): Add entries for: [no-]transform, [no-]absolute-literals,
3288 warn-unaligned-targets, prefer-l32r, prefer-const16, [no-]link-relax,
3289 and target-hardware. Delete entries for [no-]target-align-only,
3290 literal-section-name, text-section-name, data-section-name, and
3291 bss-section-name.
3292 (md_parse_option): Handle new options and remove old ones. Accept but
3293 ignore [no-]density options. Warn for [no-]generics and [no-]relax
3294 and treat them as [no-]transform.
3295 (md_show_usage): Add new options and remove old ones.
3296 (xtensa_setup_hw_workarounds): New.
3297 (md_pseudo_table): Change "word" entry to use xtensa_elf_cons. Add
3298 "long", "short", "loc" and "frequency" entries.
3299 (use_generics): Rename to ...
3300 (use_transform): ... this function. Add past_xtensa_end check.
3301 (use_longcalls): Add past_xtensa_end check.
3302 (code_density_available, can_relax): Delete.
3303 (do_align_targets): New.
3304 (get_directive): Accept dashes in directive names. Warn about
3305 [no-]generics and [no-]relax directives and treat them as
3306 [no-]transform.
3307 (xtensa_begin_directive): Call md_flush_pending_output only for some
3308 directives. Check for directives inside instruction bundles. Warn
3309 about deprecated ".begin literal" usage. Warn and ignore [no-]density
3310 directives. Handle new directives. Check generating_literals flag
3311 for literal_prefix.
3312 (xtensa_end_directive): Check for directives inside instruction
3313 bundles. Warn and ignore [no-]density directives. Handle new
3314 directives. Call xtensa_set_frag_assembly_state.
3315 (xtensa_loc_directive_seen, xtensa_dwarf2_directive_loc,
3316 xtensa_dwarf2_emit_insn): New.
3317 (xtensa_literal_position): Call md_flush_pending_output. Do not check
3318 use_literal_section flag.
3319 (xtensa_literal_pseudo): Call md_flush_pending_output. Handle absolute
3320 literals. Use xtensa_elf_cons to parse the expression.
3321 (xtensa_literal_prefix): Do not check use_literal_section. Support
3322 ".lit4" sections for absolute literals. Change prefix convention to
3323 replace ".text" (or ".t" in a linkonce section). No need to call
3324 subseg_set.
3325 (xtensa_frequency_pseudo, xtensa_elf_cons, xtensa_elf_suffix): New.
3326 (expression_end): Handle closing braces and colons.
3327 (PLT_SUFFIX, plt_suffix): Delete.
3328 (expression_maybe_register): Use new xtensa-isa.h functions. Use
3329 xtensa_elf_suffix instead of checking for plt suffix, and handle O_lo16
3330 and O_hi16 expressions as well.
3331 (tokenize_arguments): Handle closing braces and colons.
3332 (parse_arguments): Use new xtensa-isa.h functions. Handle "invisible"
3333 operands and paired register syntax.
3334 (get_invisible_operands): New.
3335 (xg_translate_sysreg_op): Handle new Xtensa LX RSR/WSR/XSR syntax. Use
3336 new xtensa-isa.h functions.
3337 (xtensa_translate_old_userreg_ops, xtensa_translate_zero_immed): New.
3338 (xg_translate_idioms): Check if inside bundle. Use use_transform.
3339 Handle new Xtensa LX RSR/WSR/XSR syntax. Remove code to widen density
3340 instructions. Use xtensa_translate_zero_immed.
3341 (operand_is_immed, operand_is_pcrel_label): Delete.
3342 (get_relaxable_immed): Use new xtensa-isa.h functions.
3343 (get_opcode_from_buf): Add slot parameter. Use new xtensa-isa.h
3344 functions.
3345 (xtensa_print_insn_table, print_vliw_insn): New.
3346 (is_direct_call_opcode): Use new xtensa-isa.h functions.
3347 (is_call_opcode, is_loop_opcode, is_conditional_branch_opcode,
3348 is_branch_or_jump_opcode): Delete.
3349 (is_movi_opcode, decode_reloc, encode_reloc, encode_alt_reloc): New.
3350 (opnum_to_reloc, reloc_to_opnum): Delete.
3351 (xtensa_insnbuf_set_operand, xtensa_insnbuf_get_operand): Use new
3352 xtensa-isa.h functions. Operate on one slot of an instruction.
3353 (xtensa_insnbuf_set_immediate_field, is_negatable_branch,
3354 xg_get_insn_size): Delete.
3355 (xg_get_build_instr_size): Use xg_get_single_size.
3356 (xg_is_narrow_insn, xg_is_single_relaxable_insn): Update calls to
3357 xg_build_widen_table. Use xg_get_single_size.
3358 (xg_get_max_narrow_insn_size): Delete.
3359 (xg_get_max_insn_widen_size, xg_get_max_insn_widen_literal_size,
3360 xg_is_relaxable_insn): Update calls to xg_build_widen_table. Use
3361 xg_get_single_size.
3362 (xg_build_to_insn): Record the loc field. Handle OP_OPERAND_HI16U and
3363 OP_OPERAND_LOW16U. Check xg_valid_literal_expression.
3364 (xg_expand_to_stack, xg_expand_narrow): Update calls to
3365 xg_build_widen_table. Use xg_get_single_size.
3366 (xg_immeds_fit): Use new xtensa-isa.h functions. Update call to
3367 xg_check_operand.
3368 (xg_symbolic_immeds_fit): Likewise. Also handle O_lo16 and O_hi16, and
3369 treat weak symbols conservatively.
3370 (xg_check_operand): Use new xtensa-isa.h functions.
3371 (is_dnrange): Delete.
3372 (xg_assembly_relax): Inline previous calls to tinsn_copy.
3373 (xg_finish_frag): Specify separate relax states for the frag and slot0.
3374 (is_branch_jmp_to_next, xg_add_branch_and_loop_targets): Use new
3375 xtensa-isa.h functions.
3376 (xg_instruction_matches_option_term, xg_instruction_matches_or_options,
3377 xg_instruction_matches_options): New.
3378 (xg_instruction_matches_rule): Handle O_register expressions. Call
3379 xg_instruction_matches_options.
3380 (transition_rule_cmp): New.
3381 (xg_instruction_match): Update call to xg_build_simplify_table.
3382 (xg_build_token_insn): Record loc fields.
3383 (xg_simplify_insn): Check is_specific_opcode field and
3384 density_supported flag.
3385 (xg_expand_assembly_insn): Skip checking code_density_available. Use
3386 new xtensa-isa.h functions. Call use_transform instead of can_relax.
3387 (xg_assemble_literal): Add error handling for O_big. Call
3388 record_alignment. Handle O_pltrel.
3389 (xg_valid_literal_expression): New.
3390 (xg_assemble_literal_space): Add slot parameter. Remove call to
3391 set_expr_symbol_offset. Add call to record_alignment. Update call to
3392 xg_finish_frag.
3393 (xg_emit_insn): Delete.
3394 (xg_emit_insn_to_buf): Add format parameter. Update calls to
3395 xg_add_opcode_fix and xtensa_insnbuf_to_chars.
3396 (xg_add_opcode_fix): Change opcode parameter to tinsn and add format
3397 and slot parameters. Handle new "alternate" relocations for absolute
3398 literals and CONST16 instructions. Check for bad uses of O_lo16 and
3399 O_hi16. Use new xtensa-isa.h functions.
3400 (xg_assemble_tokens): Delete.
3401 (is_register_writer): Use new xtensa-isa.h functions.
3402 (is_bad_loopend_opcode): Check for xtensa_rsr_lcount_opcode instead of
3403 old-style RSR from LCOUNT.
3404 (next_frag_opcode): Delete.
3405 (next_frag_opcode_is_loop, next_frag_format_size, frag_format_size,
3406 update_next_frag_state): New.
3407 (update_next_frag_nop_state): Delete.
3408 (next_frag_pre_opcode_bytes): Use next_frag_opcode_is_loop.
3409 (xtensa_mark_literal_pool_location): Check use_literal_section flag and
3410 the state of the absolute-literals directive. Add calls to
3411 record_alignment and xtensa_set_frag_assembly_state. Call
3412 xtensa_switch_to_non_abs_literal_fragment instead of
3413 xtensa_switch_to_literal_fragment.
3414 (build_nop): New.
3415 (assemble_nop): Use build_nop. Update call to xtensa_insnbuf_to_chars.
3416 (get_expanded_loop_offset): Change check for undefined opcode to an
3417 assertion.
3418 (xtensa_set_frag_assembly_state, relaxable_section,
3419 xtensa_find_unmarked_state_frags, xtensa_find_unaligned_branch_targets,
3420 xtensa_find_unaligned_loops, xg_apply_tentative_value): New.
3421 (md_begin): Update call to xtensa_isa_init. Initialize linkrelax to 1.
3422 Set lit4_seg_name. Call xg_init_vinsn. Initialize new global opcodes.
3423 Call init_op_placement_info_table and xtensa_set_frag_assembly_state.
3424 (xtensa_init_fix_data): New.
3425 (xtensa_frob_label): Reset label symbol to the current frag. Check
3426 do_align_targets and generating_literals flag. Propagate frequency
3427 info to new alignment frag. Call xtensa_set_frag_assembly_state.
3428 (xtensa_unrecognized_line): New.
3429 (xtensa_flush_pending_output): Check if inside a bundle. Add a call
3430 to xtensa_set_frag_assembly_state.
3431 (error_reset_cur_vinsn): New.
3432 (md_assemble): Remove check for literal frag. Remove call to
3433 istack_init. Call use_transform instead of use_generics. Parse
3434 explicit instruction format specifiers. Move code for
3435 a0_b_retw_interlock workaround to xg_assemble_vliw_tokens. Call
3436 error_reset_cur_vinsn on errors. Add call to get_invisible_operands.
3437 Add dwarf2_where call. Remote automatic alignment for ENTRY
3438 instructions. Move call to xtensa_clear_insn_labels to the end.
3439 Rearrange to handle bundles.
3440 (xtensa_cons_fix_new): Delete.
3441 (xtensa_handle_align): New.
3442 (xtensa_frag_init): Call xtensa_set_frag_assembly_state. Remove
3443 assignment to is_no_density field.
3444 (md_pcrel_from): Use new xtensa-isa.h functions. Use decode_reloc
3445 instead of reloc_to_opnum. Handle "alternate" relocations.
3446 (xtensa_force_relocation, xtensa_check_inside_bundle,
3447 xtensa_elf_section_change_hook): New.
3448 (xtensa_symbol_new_hook): Delete.
3449 (xtensa_fix_adjustable): Check for difference of symbols with an
3450 offset. Check for external and weak symbols.
3451 (md_apply_fix3): Remove cases for XTENSA_OP{0,1,2} relocs.
3452 (md_estimate_size_before_relax): Return expansion for the first slot.
3453 (tc_gen_reloc): Handle difference of symbols by producing
3454 XTENSA_DIFF{8,16,32} relocs and by writing the value of the difference
3455 into the output. Handle new XTENSA_SLOT*_OP relocs by storing the
3456 tentative values into the output when linkrelax is set.
3457 (XTENSA_PROP_SEC_NAME): Define.
3458 (xtensa_post_relax_hook): Call xtensa_find_unmarked_state_frags.
3459 Create literal tables only if using literal sections. Create new
3460 property tables instead of old instruction tables. Check for unaligned
3461 branch targets and loops.
3462 (finish_vinsn, find_vinsn_conflicts, check_t1_t2_reads_and_writes,
3463 new_resource_table, clear_resource_table, resize_resource_table,
3464 resources_available, reserve_resources, release_resources,
3465 opcode_funcUnit_use_unit, opcode_funcUnit_use_stage,
3466 resources_conflict, xg_find_narrowest_format, relaxation_requirements,
3467 bundle_single_op, emit_single_op, xg_assemble_vliw_tokens): New.
3468 (xtensa_end): Call xtensa_flush_pending_output. Set past_xtensa_end
3469 flag. Update checks for workaround options. Call
3470 xtensa_mark_narrow_branches and xtensa_mark_zcl_first_insns.
3471 (xtensa_cleanup_align_frags): Add special case for branch targets.
3472 Check for and mark unreachable frags.
3473 (xtensa_fix_target_frags): Remove use of align_only_targets flag.
3474 Use RELAX_LOOP_END_BYTES in special case for negatable branch at the
3475 end of a zero-overhead loop body.
3476 (frag_can_negate_branch): Handle instructions with multiple slots.
3477 Use new xtensa-isa.h functions
3478 (xtensa_mark_narrow_branches, is_narrow_branch_guaranteed_in_range,
3479 xtensa_mark_zcl_first_insns): New.
3480 (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags): Error if
3481 transformations are disabled.
3482 (next_instrs_are_b_retw): Use new xtensa-isa.h functions. Handle
3483 multislot instructions.
3484 (xtensa_fix_close_loop_end_frags, xtensa_fix_short_loop_frags):
3485 Likewise. Also error if transformations are disabled.
3486 (unrelaxed_frag_max_size): New.
3487 (unrelaxed_frag_min_insn_count, unrelax_frag_has_b_j): Use new
3488 xtensa-isa.h functions.
3489 (xtensa_sanity_check, is_empty_loop, is_local_forward_loop): Use
3490 xtensa_opcode_is_loop instead of is_loop_opcode.
3491 (get_text_align_power): Replace as_fatal with assertion.
3492 (get_text_align_fill_size): Iterate instead of using modulus when
3493 use_nops is false.
3494 (get_noop_aligned_address): Assert that this is for a machine-dependent
3495 RELAX_ALIGN_NEXT_OPCODE frag. Use next_frag_opcode_is_loop,
3496 xg_get_single_size, and frag_format_size.
3497 (get_widen_aligned_address): Rename to ...
3498 (get_aligned_diff): ... this function. Add max_diff parameter.
3499 Remove handling of rs_align/rs_align_code frags. Use
3500 next_frag_format_size, get_text_align_power, get_text_align_fill_size,
3501 next_frag_opcode_is_loop, and xg_get_single_size. Compute max_diff
3502 and pass it back to caller.
3503 (xtensa_relax_frag): Use relax_frag_loop_align. Add code for new
3504 RELAX_SLOTS, RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN,
3505 RELAX_FILL_NOP, and RELAX_UNREACHABLE frag types. Check relax_seen.
3506 (relax_frag_text_align): Rename to ...
3507 (relax_frag_loop_align): ... this function. Assume loops can only be
3508 in the first slot of an instruction.
3509 (relax_frag_add_nop): Use assemble_nop instead of constructing an OR
3510 instruction. Remove call to frag_wane.
3511 (relax_frag_narrow): Rename to ...
3512 (relax_frag_for_align): ... this function. Extend to handle
3513 RELAX_FILL_NOP and RELAX_UNREACHABLE, as well as RELAX_SLOTS with
3514 RELAX_NARROW for the first slot.
3515 (find_address_of_next_align_frag, bytes_to_stretch): New.
3516 (future_alignment_required): Use find_address_of_next_align_frag and
3517 bytes_to_stretch. Look ahead to subsequent frags to make smarter
3518 alignment decisions.
3519 (relax_frag_immed): Add format, slot, and estimate_only parameters.
3520 Check if transformations are enabled for b_j_loop_end workaround.
3521 Use new xtensa-isa.h functions and handle multislot instructions.
3522 Update call to xg_assembly_relax.
3523 (md_convert_frag): Handle new RELAX_SLOTS, RELAX_UNREACHABLE,
3524 RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN, and RELAX_FILL_NOP
3525 frag types.
3526 (convert_frag_narrow): Add segP, format and slot parameters. Call
3527 convert_frag_immed for branch instructions. Adjust calls to
3528 tinsn_from_chars, tinsn_immed_from_frag, and xg_emit_insn_to_buf. Use
3529 xg_get_single_size and xg_get_single_format.
3530 (convert_frag_fill_nop): New.
3531 (convert_frag_immed): Add format and slot parameters. Handle multislot
3532 instructions and use new xtensa-isa.h functions. Update calls to
3533 tinsn_immed_from_frag and xg_assembly_relax. Check if transformations
3534 enabled for b_j_loop_end workaround. Use build_nop instead of
3535 assemble_nop. Check is_specific_opcode flag. Check for unreachable
3536 frags. Use xg_get_single_size. Handle O_pltrel.
3537 (fix_new_exp_in_seg): Remove check for old plt flag.
3538 (convert_frag_immed_finish_loop): Update calls to tinsn_from_chars and
3539 xtensa_insnbuf_to_chars. Call tinsn_immed_from_frag. Change check
3540 for loop opcode to an assertion. Mark all frags up to the end of the
3541 loop as not transformable.
3542 (get_last_insn_flags, set_last_insn_flags): Use get_subseg_info.
3543 (get_subseg_info): New.
3544 (xtensa_move_literals): Call xtensa_set_frag_assembly_state. Add null
3545 check for dest_seg.
3546 (xtensa_switch_to_literal_fragment): Rewrite to handle absolute
3547 literals and use xtensa_switch_to_non_abs_literal_fragment otherwise.
3548 (xtensa_switch_to_non_abs_literal_fragment): New.
3549 (cache_literal_section): Add is_code parameter and pass it through to
3550 retrieve_literal_seg.
3551 (retrieve_literal_seg): Add is_code parameter and use it to set the
3552 flags on the literal section. Handle case where head parameter is 0.
3553 (get_frag_is_no_transform, set_frag_is_specific_opcode,
3554 set_frag_is_no_transform): New.
3555 (xtensa_create_property_segments): Add end_property_function parameter
3556 and pass it through to add_xt_block_frags. Call bfd_get_section_flags
3557 and skip SEC_DEBUGGING and !SEC_ALLOC sections.
3558 (xtensa_create_xproperty_segments, section_has_xproperty): New.
3559 (add_xt_block_frags): Add end_property_function parameter and call it
3560 if it is non-zero. Call xtensa_frag_flags_init.
3561 (xtensa_frag_flags_is_empty, xtensa_frag_flags_init,
3562 get_frag_property_flags, frag_flags_to_number,
3563 xtensa_frag_flags_combinable, xt_block_aligned_size,
3564 xtensa_xt_block_combine, add_xt_prop_frags,
3565 init_op_placement_info_table, opcode_fits_format_slot,
3566 xg_get_single_size, xg_get_single_format): New.
3567 (istack_push): Inline call to tinsn_copy.
3568 (tinsn_copy): Delete.
3569 (tinsn_has_invalid_symbolic_operands): Handle O_hi16 and O_lo16 and
3570 CONST16 opcodes. Handle O_big, O_illegal, and O_absent.
3571 (tinsn_has_complex_operands): Handle O_hi16 and O_lo16.
3572 (tinsn_to_insnbuf): Use xg_get_single_format and new xtensa-isa.h
3573 functions. Handle invisible operands.
3574 (tinsn_to_slotbuf): New.
3575 (tinsn_check_arguments): Use new xtensa-isa.h functions.
3576 (tinsn_from_chars): Add slot parameter. Rewrite using xg_init_vinsn,
3577 vinsn_from_chars, and xg_free_vinsn.
3578 (tinsn_from_insnbuf): New.
3579 (tinsn_immed_from_frag): Add slot parameter and handle multislot
3580 instructions. Handle symbol differences.
3581 (get_num_stack_text_bytes): Use xg_get_single_size.
3582 (xg_init_vinsn, xg_clear_vinsn, vinsn_has_specific_opcodes,
3583 xg_free_vinsn, vinsn_to_insnbuf, vinsn_from_chars, expr_is_register,
3584 get_expr_register, set_expr_symbol_offset_diff): New.
3585 * config/tc-xtensa.h (MAX_SLOTS): Define.
3586 (xtensa_relax_statesE): Move from tc-xtensa.c. Add
3587 RELAX_CHECK_ALIGN_NEXT_OPCODE, RELAX_MAYBE_DESIRE_ALIGN, RELAX_SLOTS,
3588 RELAX_FILL_NOP, RELAX_UNREACHABLE, RELAX_MAYBE_UNREACHABLE, and
3589 RELAX_NONE types.
3590 (RELAX_IMMED_MAXSTEPS): Move from tc-xtensa.c.
3591 (xtensa_frag_type struct): Add is_assembly_state_set,
3592 use_absolute_literals, relax_seen, is_unreachable, is_specific_opcode,
3593 is_align, is_text_align, alignment, and is_first_loop_insn fields.
3594 Replace is_generics and is_relax fields by is_no_transform field.
3595 Delete is_text and is_longcalls fields. Change text_expansion and
3596 literal_expansion to arrays of MAX_SLOTS entries. Add arrays of
3597 per-slot information: literal_frags, slot_subtypes, slot_symbols,
3598 slot_sub_symbols, and slot_offsets. Add fr_prev field.
3599 (xtensa_fix_data struct): New.
3600 (xtensa_symfield_type struct): Delete plt field.
3601 (xtensa_block_info struct): Move definition to tc-xtensa.h. Add
3602 forward declaration here.
3603 (xt_section_type enum): Delete xt_insn_sec. Add xt_prop_sec.
3604 (XTENSA_SECTION_RENAME): Undefine.
3605 (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FORCE_RELOCATION, NO_PSEUDO_DOT,
3606 tc_unrecognized_line, md_do_align, md_elf_section_change_hook,
3607 HANDLE_ALIGN, TC_LINKRELAX_FIXUP, SUB_SEGMENT_ALIGN): Define.
3608 (TC_CONS_FIX_NEW, tc_symbol_new_hook): Delete.
3609 (unit_num_copies_func, opcode_num_units_func,
3610 opcode_funcUnit_use_unit_func, opcode_funcUnit_use_stage_func): New.
3611 (resource_table struct): New.
3612 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase from 6 to 10.
3613 (TInsn struct): Add keep_wide, loc, fixup, record_fix, subtype,
3614 literal_space, symbol, sub_symbol, offset, and literal_frag fields.
3615 (tinsn_copy): Delete prototype.
3616 (vliw_insn struct): New.
3617 * config/xtensa-relax.c (insn_pattern_struct): Add options field.
3618 (widen_spec_list): Add option conditions for density and boolean
3619 instructions. Add expansions using CONST16 and conditions for using
3620 CONST16 vs. L32R. Use new Xtensa LX RSR/WSR syntax. Add entries for
3621 predicted branches.
3622 (simplify_spec_list): Add option conditions for density instructions.
3623 Add entry for NOP instruction.
3624 (append_transition): Add cmp function pointer parameter and use it to
3625 insert the new entry in order.
3626 (operand_function_LOW16U, operand_function_HI16U): New.
3627 (xg_has_userdef_op_fn, xg_apply_userdef_op_fn): Handle
3628 OP_OPERAND_LOW16U and OP_OPERAND_HI16U.
3629 (enter_opname, split_string): Use xstrdup instead of strdup.
3630 (init_insn_pattern): Initialize new options field.
3631 (clear_req_or_option_list, clear_req_option_list,
3632 clone_req_or_option_list, clone_req_option_list, parse_option_cond):
3633 New.
3634 (parse_insn_pattern): Parse option conditions.
3635 (transition_applies): New.
3636 (build_transition): Use new xtensa-isa.h functions. Fix incorrectly
3637 swapped last arguments in calls to append_constant_value_condition.
3638 Call clone_req_option_list. Add warning about invalid opcode.
3639 Handle LOW16U and HI16U function names.
3640 (build_transition_table): Add cmp parameter and use it in calls to
3641 append_transition. Use new xtensa-isa.h functions. Check
3642 transition_applies before adding entries.
3643 (xg_build_widen_table, xg_build_simplify_table): Add cmp parameter and
3644 pass it through to build_transition_table.
3645 * config/xtensa-relax.h (ReqOrOptionList, ReqOrOption, ReqOptionList,
3646 ReqOption, transition_cmp_fn): New types.
3647 (OpType enum): Add OP_OPERAND_LOW16U and OP_OPERAND_HI16U.
3648 (transition_rule struct): Add options field.
3649 * doc/as.texinfo (Overview): Update Xtensa options.
3650 * doc/c-xtensa.texi (Xtensa Options): Delete --[no-]density,
3651 --[no-]relax, and --[no-]generics options. Update descriptions of
3652 --text-section-literals and --[no-]longcalls. Add
3653 --[no-]absolute-literals and --[no-]transform.
3654 (Xtensa Syntax): Add description of syntax for FLIX instructions.
3655 Remove use of "generic" and "specific" terminology for opcodes.
3656 (Xtensa Registers): Generalize the syntax description to include
3657 user-defined register files.
3658 (Xtensa Automatic Alignment): Update.
3659 (Xtensa Branch Relaxation): Mention limitation of unconditional jumps.
3660 (Xtensa Call Relaxation): Linker can now remove most of the overhead.
3661 (Xtensa Directives): Remove confusing rules about precedence.
3662 (Density Directive, Relax Directive): Delete.
3663 (Schedule Directive): New.
3664 (Generics Directive): Rename to ...
3665 (Transform Directive): ... this node.
3666 (Literal Directive): Update for absolute literals. Missing
3667 literal_position directive is now an error.
3668 (Literal Position Directive): Update for absolute literals.
3669 (Freeregs Directive): Delete.
3670 (Absolute Literals Directive): New.
3671 (Frame Directive): Minor editing.
3672 * Makefile.am (DEPTC_xtensa_elf, DEPOBJ_xtensa_elf, DEP_xtensa_elf):
3673 Update dependencies.
3674 * Makefile.in: Regenerate.
3675
36762004-10-07 Richard Sandiford <rsandifo@redhat.com>
3677
3678 * config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp
3679 to build the second and third fixups for a composite relocation.
3680 (macro_read_relocs): New function.
3681 (macro_build): Use it.
3682 (s_cpsetup): Pass all three composite relocation codes to macro_build.
3683 Simplify fragging code accordingly.
3684 (s_gpdword): Use fix_new rather than fix_new_exp for the second part
3685 of the composite relocation. Set fx_tcbit in both fixups.
3686
36872004-10-07 Richard Sandiford <rsandifo@redhat.com>
3688
3689 * config/tc-mips.c (append_insn): Set fx_tcbit for composite relocs.
3690 (md_apply_fix3): Don't treat composite relocs as done.
3691
36922004-10-07 Jan Beulich <jbeulich@novell.com>
3693
3694 * macro.c (macro_expand_body): When ELF, use .LL rather than LL as
3695 prefix for symbol names generated from the LOCAL macro directive.
3696
3697 * dw2gencfi.c (select_cie_for_fde): When separating CIE out from
3698 FDE, treat a DW_CFA_remember_state as we do a DW_CFA_advance_loc.
3699
37002004-10-07 Tomer Levi <Tomer.Levi@nsc.com>
3701
3702 * config/tc-crx.c (preprocess_reglist): Handle Co-processor
3703 Special registers.
3704 (md_assemble): Add error checking for Co-Processor instructions.
3705 (get_cinv_parameters): Add 'b' option to invalidate the
3706 branch-target cache.
3707
37082004-10-05 Paul Brook <paul@codesourcery.com>
3709
3710 * config/tc-arm.c (unwind): New variable.
3711 (vfp_sp_encode_reg): New function.
3712 (vfp_sp_reg_required_here): Use it.
3713 (vfp_sp_reg_list, vfp_dp_reg_list): Remove.
3714 (vfp_parse_reg_list): New function.
3715 (s_arm_unwind_fnstart, s_arm_unwind_fnend, s_arm_unwind_cantunwind,
3716 s_arm_unwind_personality, s_arm_unwind_personalityindex,
3717 s_arm_unwind_handlerdata, s_arm_unwind_save, s_arm_unwind_movsp,
3718 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): New
3719 functions.
3720 (md_pseudo_table): Add them.
3721 (do_vfp_reg2_from_sp2): Use vfp_parse_reg_list and vfp_sp_encode_reg.
3722 (do_vfp_sp2_from_reg2, vfp_sp_ldstm, vfp_dp_ldstm): Ditto.
3723 (set_section, add_unwind_adjustsp, flush_pending_unwind,
3724 finish_unwind_opcodes, start_unwind_section, create_unwind_entry,
3725 require_hashconst, add_unwind_opcode): New functions.
3726 * doc/c-arm.texi: Document unwinding opcodes.
3727 * NEWS: Mention the new feature.
3728
37292004-10-04 Eric Christopher <echristo@redhat.com>
3730
3731 * config/tc-mips.c (md_apply_fix3): Remove erroneous assert.
3732
37332004-10-01 H.J. Lu <hongjiu.lu@intel.com>
3734
3735 * config/tc-ppc.c (md_apply_fix3): Call S_SET_THREAD_LOCAL for
3736 TLS relocations.
3737 * config/tc-s390.c (md_apply_fix3): Likewise.
3738 * config/tc-sparc.c (md_apply_fix3): Likewise.
3739
37402004-10-01 Paul Brook <paul@codesourcery.com>
3741
3742 * config/tc-arm.c (arm_elf_section_type): New function.
3743 (arm_elf_change_section): Set section link for exidx sections.
3744 * config/tc-arm.h (arm_elf_section_type): Add prototype.
3745 (md_elf_section_type): Define.
3746
37472004-10-01 Bill Farmer <Bill@the-farmers.freeserve.co.uk>
3748
3749 * config/tc-pdp11.c (md_apply_fix3): Change to sign of the SOB
3750 instruction's offset.
3751
37522004-10-01 Adam Nemet <anemet@lnxw.com>
3753
3754 * (TARGET_FORMAT): Remove LynxOS COFF definition.
3755
37562004-10-01 Ravi Ramaseshan <ravi.ramaseshan@codito.com>
3757
3758 * config/tc-arc.c (tc_gen_reloc): Don't assume fixP->fx_addsy is an
3759 asymbol *, instead use symbol_get_bfdsym.
3760
37612004-09-30 Linus Nielsen Feltzing <linus@haxx.se>
3762
3763 * config/tc-m68k.c (select_control_regs): Add mcf5249.
3764
37652004-09-30 Paul Brook <paul@codesourcery.com>
3766
3767 * config/tc-arm.c (do_smi, do_nop): New functions.
3768 (insns): Add ARMv6ZK instructions.
3769 (md_apply_fix3): Handle BFD_RELOC_ARM_SMI.
3770 (tc_gen_reloc): Ditto.
3771 (arm_cpus): Add mpcore and arm1176.
3772 (arm_archs): Add armv6{k,z,zk}.
3773 * doc/c-arm.texi: Document new cores and architectures.
3774
37752004-09-30 Nick Clifton <nickc@redhat.com>
3776
3777 * config/tc-arm.c: Use ISO C90 formatting.
3778
37792004-09-30 Vladimir Ivanov <vladitx@nucleusys.com>
3780
3781 * config/tc-arm.c (mav_reg_required_here): Allow REG_TYPE_CN
3782 as alternative when REG_TYPE_MVF, REG_TYPE_MVD, REG_TYPE_MVFX or
3783 REG_TYPE_MVDX is expected.
3784
37852004-09-29 Marc Bevand <m.bevand@gmail.com>
3786
3787 * doc/c-i386.texi (i386-Mnemonics): Fix typo.
3788
37892004-09-21 James E Wilson <wilson@specifixinc.com>
3790
3791 * config/tc-ia64.c (ENCODED_PSP_OFFSET): New.
3792 (output_rp_psprel, output_pfs_psprel, output_preds_psprel,
3793 output_spill_base, output_unat_psprel, output_lc_psprel,
3794 output_fpsr_psprel, output_priunat_psprel, output_bsp_psprel,
3795 output_bsprestore_psprel, output_rnat_psprel, output_spill_psprel,
3796 output_spill_psprel_p): Use it.
3797
37982004-09-20 Tomer Levi <Tomer.Levi@nsc.com>
3799
3800 * config/tc-crx.c (handle_LoadStor): New function.
3801 Handle load/stor unique instructions before parsing.
3802
38032004-09-17 Paul Brook <paul@codesourcery.com>
3804
3805 * config/tc-arm.c (s_arm_rel31): New funciton.
3806 (md_pseudo_table): Add .rel31.
3807 (md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2,
3808 BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31.
3809 (tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2.
3810 (arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2.
3811 (arm_parse_reloc): Add (target2).
3812
38132004-09-17 Alan Modra <amodra@bigpond.net.au>
3814
3815 * Makefile.am: Run "make dep-am".
3816 * Makefile.in: Regenerate.
3817 * aclocal.m4: Regenerate.
3818 * configure: Regenerate.
3819 * doc/Makefile.in: Regenerate.
3820 * po/POTFILES.in: Regenerate.
3821 * po/gas.pot: Regenerate.
3822
38232004-09-14 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp>
3824
3825 * config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif.
3826 [!LLONG_MAX]: Ditto.
3827
38282004-09-13 Paul Brook <paul@codesourcery.com>
3829
3830 * config/tc-arm.c: Rename RELABS to TARGET1.
3831
38322004-09-13 Alan Modra <amodra@bigpond.net.au>
3833
3834 * messages.c (as_internal_value_out_of_range): Cast values passed
3835 to as_bad_where or as_warn_where to proper type.
3836
38372004-09-11 Theodore A. Roth <troth@openavr.org>
3838
3839 * config/tc-avr.c: Add support for
3840 atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
3841
38422004-09-09 Alan Modra <amodra@bigpond.net.au>
3843
3844 * dw2gencfi.c (select_cie_for_fde): When separating CIE out
3845 from FDE, treat a CFI_escape as we do a DW_CFA_advance_loc.
3846
38472004-09-08 Paul Brook <paul@codesourcery.com>
3848
3849 * config/obj-elf.c (obj_elf_section_type): Handle init_array,
3850 fini_array and preinit_array section types.
3851 * config/tc-ia64.c (ia64_elf_section_type): Remove init_array
3852 and fini_array.
3853 * doc/as.texinfo: Document extra section types.
3854
38552004-09-02 Mark Mitchell <mark@codesourcery.com>
3856
3857 * Makefile.am (TARG_ENV_HFILES): Add te-symbian.h.
3858 * Makefile.in: Regenerated.
3859 * configure.in: Set em for arm*-*-symbianelf*.
3860 * configure: Regenerated.
3861 * config/tc-arm.c (elf32_arm_target_format): Use Symbian target
3862 vectors when appropriate.
3863 * config/te-symbian.h: New file.
3864
38652004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
3866
3867 * config/tc-crx.c (gettrap): Exception vector can be case
3868 insensitive.
3869 (process_label_constant): Fix a 32-bit displacement bug in branch
3870 instructions.
3871 (get_operandtype) : Bug fix, wrong operand was used.
3872 (process_label_constant): Initialize relocation type to
3873 BFD_RELOC_NONE
3874
38752004-09-01 Richard Earnshaw < reanrsha@arm.com>
3876
3877 * tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
3878 for synthesizable cores.
3879
3880 * doc/c-arm.texi (ARM Options): Document canonical names of CPUs.
3881
38822004-08-25 Dmitry Diky <diwil@spec.ru>
3883
3884 * config/tc-msp430.c: Clean-up the code.
3885 (md_relax_table): New relax table.
3886 (mcu_types): Sort MCU types.
3887 (md_pseudo_table): Add .profiler pseudo handler.
3888 (pow2value): New function.
3889 (msp430_profiler): New function.
3890 (msp430_operands): Add new insns handlers.
3891 (msp430_srcoperand): Add register operand handler, allow complex
3892 expressions.
3893 (md_estimate_size_before_relax): Rewritten.
3894 (md_convert_frag): Rewritten.
3895 (msp430_relax_frag): New function.
3896 * config/tc-msp430.h (md_relax_frag): define macro
3897 * doc/c-msp430.texi: Update information.
3898
38992004-08-24 Nick Clifton <nickc@redhat.com>
3900
3901 * as.c (std_shortopts): Allow -g to take an optional argument.
3902 (parse_args): Pass any switch starting with -g on to the backend
3903 for parsing.
3904
39052004-08-18 Mark Mitchell <mark@codesourcery.com>
3906
3907 * configure.in (arm*-*-symbianelf*): New target.
3908 (arm*-*-eabi*): Likewise.
3909 * configure: Regenerated.
3910
39112004-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3912 * config/tc-mips.c (append_insn): Handle delay slots in branch likely
3913 correctly.
3914
39152004-08-18 Jakub Jelinek <jakub@redhat.com>
3916
3917 * config/tc-ia64.c (start_unwind_section): Add linkonce_empty
3918 argument, don't do anything if current section is not
3919 .gnu.linkonce.t.* and linkonce_empty is set.
3920 (generate_unwind_image, dot_endp): Adjust callers, call
3921 start_unwind_section (*, 1) if nothing will be put into the
3922 section.
3923
39242004-08-17 Nick Clifton <nickc@redhat.com>
3925
3926 * as.c (MD_DEBUG_FORMAT_SELECTOR): Provide default definition.
3927 (show_usage): Add -g.
3928 (std_longopts): Add --gen-debug. Alpha sort the table.
3929 (parse_args): Print an error message if a switch is not handled.
3930 Handle the -g switch, calling md_debug_format_selector() if
3931 necessary.
3932 * NEWS: Mention new feature.
3933 * doc/as.texinfo: Document new switch.
3934 * doc/internals.texi: Document behaviour of md_parse_option.
3935
3936 * config/tc-arm.c (md_parse_option): Do not issue an error message
3937 if the switch is not recognised.
3938 * config/tc-m68k.c (md_parse_option): Likewise.
3939 * config/tc-pdp11.c (md_parse_option): Likewise.
3940 * config/tc-v850.c (md_parse_option): Likewise.
3941
3942 * as.h: Fix up formatting.
3943 * tc.h: Likewise.
3944
39452004-08-16 Nick Clifton <nickc@redhat.com>
3946
3947 * macro.c (macro_set_alternate): Use ISO C90 formatting.
3948
3949 * configure.in: Sort architecture based tables alphabetically.
3950 * configure: Regenerate.
3951
39522004-08-16 Alan Modra <amodra@bigpond.net.au>
3953
3954 * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace
3955 { "cc", 68 }, with { "cr", 70 }.
3956
39572004-08-13 Jan Beulich <jbeulich@novell.com>
3958 Nick Clifton <nickc@redhat.com>
3959
3960 * as.c: Add and handle new --alternate command line option.
3961 * macro.c (macro_set_alternate): New.
3962 * macro.h (macro_set_alternate): Declare.
3963 * read.c: Add and handle new .altmacro and .noaltmacro directives.
3964 * doc/as.texinfo: Document new command line option and pseudo-ops
3965 as well as insert documentation originating from gasp about
3966 alternate macro syntax.
3967 * NEWS: Mention new command line option and pseudo-ops.
3968
39692004-08-10 Mark Mitchell <mark@codesourcery.com>
3970
3971 * expr.c (operand): Handle the "~", "-", and "!" operators applied
3972 to bignums.
3973
39742004-08-06 Paul Brook <paul@codesourcery.com>
3975
3976 * config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc):
3977 Handle new relocations.
3978 * include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations.
3979
39802004-08-05 Bob Wilson <bob.wilson@acm.org>
3981
3982 * write.c (relax_segment): Use was_address instead of address when
3983 setting fr_fix field for align frag due to backwards .org.
3984
39852004-07-29 Alexandre Oliva <aoliva@redhat.com>
3986
3987 Introduce SH2a support.
3988 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
3989 * config/tc-sh.c (get_specific): Change arch_sh2a_up to
3990 arch_sh2a_nofpu_up.
3991 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
3992 * config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling.
3993 2004-02-20 Corinna Vinschen <vinschen@redhat.com>
3994 * config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition
3995 to end of conditional expression.
3996 2004-02-20 Corinna Vinschen <vinschen@redhat.com>
3997 * config/tc-sh.c: Add sh2a-nofpu support.
3998 2003-12-29 DJ Delorie <dj@redhat.com>
3999 * tc-sh.c: Add sh2a support.
4000 (parse_reg): Add tbr.
4001 (parse_at): Support @@(disp,tbr).
4002 (get_specific): Support sh2a opcodes.
4003 (insert4): New, for 4 byte relocs.
4004 (build_Mytes): Support sh2a opcodes.
4005 (md_apply_fix3_Mytes): Support sh2a opcodes.
4006 2003-12-02 Michael Snyder <msnyder@redhat.com>
4007 * config/tc-sh.c (md_parse_option): Handle sh2a.
4008 (sh_elf_final_processing): Ditto.
4009
40102004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
4011
4012 * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd"
4013 for TE_NetBSD.
4014
40152004-07-27 Alan Modra <amodra@bigpond.net.au>
4016
4017 * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big.
4018 (ppc_arch): Expand comment.
4019
40202004-07-27 Tomer Levi <Tomer.Levi@nsc.com>
4021
4022 * config/tc-crx.c: Support evaluating the difference between two
4023 symbols.
4024 * config/tc-crx.h: Likewise.
4025
40262004-07-26 H.J. Lu <hongjiu.lu@intel.com>
4027
4028 * config/tc-ia64.c (start_unwind_section): Set the linked-to
4029 section.
4030 (ia64_elf_section_change_hook): Set the linked-to section for
4031 SHT_IA_64_UNWIND.
4032
40332004-07-26 Dmitry Diky <diwil@spec.ru>
4034
4035 * config/tc-msp430.c: Add new subtargets: msp430x1610,
4036 msp430x1611, msp430x1612, msp430x415, msp430x417, msp430xG437,
4037 msp430xG438, msp430xG439.
4038
40392004-07-25 Daniel Jacobowitz <dan@debian.org>
4040
4041 * doc/as.texinfo (Section, PushSection): Correct documentation
4042 for ELF.
4043
40442004-07-21 Jan Beulich <jbeulich@novell.com>
4045
4046 * config/tc-i386.c (optimize_imm): Adjust immediates to only those
4047 permissible for the selected instruction suffix.
4048 (match_template): Don't permit 64-bit general purpose operands in
4049 32-bit mode.
4050 (finalize_imm): Permit 64-bit immediates.
4051 (build_modrm_byte): Don't treat 32-bit addressing in 64-bit mode
4052 specially except for the width of the used base and/or index
4053 registers. For 32-bit displacements, use sign-extended
4054 relocations only when using 64-bit addressing.
4055 Force zero displacement on rip-relative addressing when there is
4056 no other displacement.
4057 (i386_index_check): Don't treat 32-bit addressing in 64-bit mode
4058 specially except for the width of the used base and/or index
4059 registers.
4060 (parse_register): Disallow Reg64 registers in 32-bit mode.
4061
4062 * config/tc-i386.c: For DefaultSize instructions, don't guess a 'q'
4063 suffix if the instruction doesn't support it.
4064
40652004-07-20 Maciej W. Rozycki <macro@linux-mips.org>
4066
4067 * config/tc-mips.c (append_insn): Handle constant expressions with
4068 no associated relocation.
4069 (mips_ip): Cancel the expression after use for the Q format
4070 specifier.
4071 (parse_relocation): Return no relocation for unsupported
4072 operators.
4073 (my_getSmallExpression): Return no relocation if no relocation
4074 operators are used.
4075
40762004-07-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4077
4078 * config/obj-som.c (adjust_stab_sections): Add prototype.
4079 (obj_som_compiler, obj_som_version, obj_som_copyright,
4080 adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
4081 * config/tc-hppa.c (update_subspace): Likewise.
4082 (is_defined_subspace): Amplify comment.
4083 * config/obj-som.h (som_frob_file): Add prototype.
4084
40852004-07-19 Christopher Faylor <cgf@timesys.com>
4086 H.J. Lu <hongjiu.lu@intel.com>
4087
4088 * subsegs.c (section_symbol): Don't create a new segment when
4089 existing segment is undefined.
4090
40912004-07-16 Richard Earnshaw <rearnsha@arm.com>
4092
4093 * config/tc-arm.c: Include include/opcode/arm.h.
4094 (ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete.
4095 (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete.
4096 (FPU_ARCH_*): Delete.
4097 * Makefile.am: Update dependencies.
4098 * Makefile.in: Regenerate.
4099
41002004-07-15 Nick Clifton <nickc@redhat.com>
4101
4102 * configure.in: Accept armbe as a big-endian arm configuration.
4103 * configure: Regenerate.
4104
41052004-07-13 Thomas Nystrom <thn@saeab.se>
4106
4107 * config/tc-i386.c (T_SHIFTOP): New constant.
4108 (intel_e05_1): Handle '&', '|' and T_SHIFTOP.
4109 (intel_el1): Handle '~'.
4110 (intel_get_token): Handle '<>', '&', '|' and '~'.
4111
41122004-07-13 Nick Clifton <nickc@redhat.com>
4113
4114 (md_assemble): Remove spurious newline from end of as_bad error
4115 message.
4116 (intel_e05_1): Likewise.
4117 (intel_e11): Likewise.
4118 (intel_match_token): Likewise.
4119
41202004-07-11 Andreas Schwab <schwab@suse.de>
4121
4122 * config/tc-m68k.c: Convert to C90. Remove redundant
4123 declarations. Indentation fixup.
4124 [M68KCOFF]: Include "obj-coff.h" instead of declaring
4125 obj_coff_section ourselves.
4126
41272004-07-09 James E Wilson <wilson@specifixinc.com>
4128
4129 * config/tc-ia64.c (default_big_endian): New.
4130 (dot_byteorder, md_begin): Use it.
4131 (md_parse_option): Set it.
4132
41332004-07-09 Nick Clifton <nickc@redhat.com>
4134
4135 * configure.in: Change sh-sybmian-elf to sh-*-symbianelf.
4136 * configure: Regenerate.
4137 * NEWS: Change sh-sybmian-elf to sh-*-symbianelf.
4138 * config/tc-sh.c (sh_elf_final_processing): Use renamed version of
4139 sh_find_elf_flags if necessary.
4140
41412004-07-08 Richard Sandiford <rsandifo@redhat.com>
4142
4143 * config/tc-mips.c (mips_fix_adjustable): If the full addend is
4144 going to be split into more than one in-place addend, return 0
4145 for relocations against mergeable sections. Associate comments
4146 with code.
4147
41482004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
4149
4150 * Makefile.am (CPU_TYPES): Add crx.
4151 (TARGET_CPU_CFILES): Add config/tc-crx.c.
4152 (TARGET_CPU_HFILES): Add config/tc-crx.h.
4153 (DEPTC_crx_elf): New target.
4154 (DEPOBJ_crx_elf): Likewise.
4155 (DEP_crx_elf): Likewise.
4156 * Makefile.in: Regenerate.
4157 * configure.in: Add crx* target.
4158 * configure: Regenerate.
4159 * config/tc-crx.c: New file.
4160 * config/tc-crx.h: New file.
4161 * NEWS: Mention new target.
4162
41632004-07-06 Nick Clifton <nickc@redhat.com>
4164
4165 * config.in: Undefine TARGET_SYMBIAN by default.
4166 * configure.in:
4167 * configure: Regenerate. Add sh-symbian-elf target. If
4168 selected define TARGET_SYMBIAN.
4169 * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target
4170 format if TARGET_SYMBIAN has been defined.
4171
4172 * output-file.c (output_file_create): Report the target format
4173 chosen when bfd_openw reports that it is invalid.
4174
4175 * config/obj-coff.c (coff_pseudo_table): Only define the weak
4176 pseudo for BFD based assemblers.
4177
41782004-07-05 Andrew Stubbs <andrew.stubbs@superh.com>
4179
4180 gas:
4181 * config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
4182 (md_parse_option): Remove redundant -isa testing.
4183 Make bfd_arch variable const.
4184 (md_show_usage): Make bfd_arch variable const.
4185
41862004-07-03 James E Wilson <wilson@specifixinc.com>
4187
4188 * config/tc-ia64.c (emit_one_bundle): Check and set insn_addr.
4189 * config/tc-ia64.h (md_frag_check): Define.
4190
41912004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
4192
4193 * config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
4194 externals.
4195 * doc/as.texinfo (Weak): Document PE weak symbols.
4196
41972004-07-03 Richard Sandiford <rsandifo@redhat.com>
4198
4199 * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
4200 (reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS.
4201 (mips_frob_file): Rework so that only a single pass through the
4202 relocs is needed. Allow %lo()s to have higher offsets than their
4203 corresponding %hi()s or %got()s.
4204
42052004-07-02 Nick Clifton <nickc@redhat.com>
4206
4207 * config/tc-arm.c (md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not
4208 allow values which have come from undefined symbols.
4209 Always consider this fixup to have been processed as a reloc
4210 cannot be generated for it.
4211
42122004-07-02 Alan Modra <amodra@bigpond.net.au>
4213
4214 * frags.h (struct frag): Add has_code and insn_addr fields.
4215 * write.c (cvt_frag_to_fill): Invoke md_frag_check.
4216 * config/tc-ppc.c (md_assemble): Check and set insn_addr.
4217 * config/tc-ppc.h (md_frag_check): Define.
4218
42192004-06-28 Maciej W. Rozycki <macro@linux-mips.org>
4220
4221 * doc/Makefile.am (info): Rename goal to...
4222 (info-local): ... this, to preserve implicit dependencies.
4223 * doc/Makefile.in: Regenerate with automake 1.8.5.
4224
42252004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4226
4227 * config/tc-m32r.c (md_convert_frag): Changed for @PLT.
4228 (m32r_cgen_record_fixup_exp): Changed for @GOTOFF, @GOT.
4229 (m32r_fix_adjustable): Changed for @GOTOFF, @GOT, @PLT.
4230 (tc_gen_reloc): Likewise.
4231 (m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT.
4232 (m32r_parse_name): Likewise.
4233 (m32r_cgen_parse_fix_exp): Likewise.
4234 * config/tc-m32r.h (md_parse_name): Define for @GOTOFF, @GOT, @PLT.
4235 (O_PIC_reloc): Likewise.
4236 (TC_CGEN_PARSE_FIX_EXP): Likewise..
4237 * cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP
4238 for @GOTOFF, @GOT, @PLT.
4239
42402004-06-21 Jan Beulich <jbeulich@novell.com>
4241
4242 * gas/symbols.c: While discarding ordinary local absolute symbols
4243 when --strip-local-absolute is in effect, retain file symbols.
4244
42452004-06-20 Andreas Schwab <schwab@suse.de>
4246
4247 * config/tc-m68k.c (mri_chip): Replace current_chip, not augment.
4248 (md_parse_option): Likewise.
4249
42502004-06-17 Jan Beulich <jbeulich@novell.com>
4251
4252 * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
4253 * config/te-netware.h: New file.
4254 * config/te-ppcnw.h: Delete: Obsolete.
4255 * configure.in: Eliminate ill NetWare targets. Make generic
4256 NetWare target use proper emulation.
4257 * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add
4258 reference to new te-netware.h.
4259 * configure: Regenerate.
4260 * Makefile.in: Regenerate.
4261
42622004-06-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
4263
4264 * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
4265 comparison in .insn pseudo operation.
4266
42672004-06-15 Alan Modra <amodra@bigpond.net.au>
4268
4269 * config/obj-coff.c (coff_adjust_section_syms): Use
4270 bfd_get_section_size instead of bfd_get_section_size_before_reloc.
4271 (coff_frob_section): Likewise.
4272 * config/tc-mips.c (md_apply_fix3): Likewise.
4273 * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size.
4274 (elf_frob_file_after_relocs): Likewise.
4275
42762004-06-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4277
4278 * config/tc-hppa.c (log2): Rename to exact_log2.
4279 (pa_next_subseg): Delete unused function.
4280 (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
4281 (create_new_subspace): Likewise.
4282
4283 Bug gas/213
4284 * config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
4285 labels. Fix warning.
4286
42872004-05-28 DJ Delorie <dj@redhat.com>
4288
4289 * config/tc-mn10300.h (tc_fix_adjustable): Define.
4290 * config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug
4291 or non-merged symbols.
4292
42932004-05-28 H.J. Lu <hongjiu.lu@intel.com>
4294
4295 * config/tc-ia64.c (remove_marked_resource): Save, clear and
4296 restore the old slot when inserting srlz.i/srlz.d.
4297
42982004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
4299
4300 * Makefile.am: Regenerate dependecies.
4301 * Makefile.in: Regenerate.
4302 * config/tc-sh.c (valid_arch): Make unsigned.
4303 (preset_target_arch): Likewise.
4304 (md_begin): Use new architecture flags system.
4305 (get_specific): Likewise.
4306 (assemble_ppi): Likewise.
4307 (md_assemble): Likewise. Also fix error check for bad opcodes.
4308 (md_parse_option): Likewise. Also generate -isa values according
4309 to the table in bfd/cpu-sh.c instead of just constants. Also
4310 allow <arch>-up ISA variants.
4311 (sh_elf_final_processing): Replace if-else chain with a call to
4312 sh_find_elf_flags().
4313
43142004-05-28 Peter Barada <peter@the-baradas.com>
4315
4316 * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing
4317 with zero offset into mode 2 addressing to save a word.
4318
43192004-05-27 H.J. Lu <hongjiu.lu@intel.com>
4320
4321 * config/tc-ia64.c (ar_is_in_integer_unit): Removed.
4322 (ar_is_only_in_integer_unit): New.
4323 (ar_is_only_in_memory_unit): New.
4324 (generate_unwind_image): Silence gcc on 32bit host.
4325 (md_assemble): Use ar_is_only_in_integer_unit instead of
4326 ar_is_in_integer_unit. Check AR access.
4327
43282004-05-27 Peter Barada <peter@the-baradas.com>
4329
4330 * config/tc-m68k.c (md_begin): Sort the opcode table into
4331 alphabetical order.
4332 (m68k_compare_opcode): New function to do the sorting.
4333
43342004-05-24 Peter Barada <peter@the-baradas.com>
4335
4336 * config/m68k-parse.y(operand): Allow for MAC/EMAC mask
4337 addressing on MIT style operands.
4338 * config/m68k-parse.y(yylex): Allow '-&' for predecrement
4339 w/mask addressing.
4340 * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type
4341 operands.
4342
43432004-05-23 Alan Modra <amodra@bigpond.net.au>
4344
4345 * expr.c (operand, operator): Don't reject '++' and '--'.
4346
43472004-05-20 Richard Sandiford <rsandifo@redhat.com>
4348
4349 * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
4350 dwarf tables.
4351
43522004-05-17 Adam Nemet <anemet@lnxw.com>
4353
4354 * configure.in: Add ppc-*-lynxos*. Update i386-*-lynxos* to ELF.
4355 * configure: Regenerate.
4356
43572004-05-13 Paul Brook <paul@codesourcery.com>
4358
4359 * dw2gencfi.c (output_cie): Handle dwarf3 format CIE entries.
4360
43612004-05-13 Joel Sherrill <joel@oarcorp.com>
4362
4363 * configure.in (or32-*-rtems*): Switch to elf.
4364 * configure: Regenerate.
4365
43662004-05-13 Nick Clifton <nickc@redhat.com>
4367
4368 * po/fr.po: Updated French translation.
4369
43702004-05-11 Nick Clifton <nickc@redhat.com>
4371
4372 * doc/as.texinfo (Section): Document G and T flags to .section
4373 directive. Document the extra arguments that the G flag
4374 requires. Document the #tls flag.
4375
43762004-05-11 H.J. Lu <hongjiu.lu@intel.com>
4377
4378 * subsegs.c (section_symbol): Create a new section symbol if
4379 the existing one doesn't match.
4380 * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol.
4381
43822004-05-07 Richard Sandiford <rsandifo@redhat.com>
4383
4384 * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120
4385 to cope with VR4181A errata MD(1) and MD(4).
4386
43872004-05-07 Brian Ford <ford@vss.fsi.com>
4388
4389 * NEWS: Mention .secrel32 for pe[i]-i386.
4390
43912004-05-07 Alexandre Oliva <aoliva@redhat.com>
4392
4393 * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
4394 (HANDLE_ALIGN): New.
4395
43962004-05-06 Daniel Jacobowitz <dan@debian.org>
4397
4398 * Makefile.am (DIST_SUBDIRS): Define.
4399 * aclocal.m4: Regenerate with automake 1.8.4.
4400 * Makefile.in: Likewise.
4401 * doc/Makefile.in: Likewise.
4402
44032004-05-06 David Mosberger-Tang <davidm@hpl.hp.com>
4404
4405 * config/tc-ia64.c (dot_serialize): Declare.
4406 (dot_serialize): New function.
4407 (md_pseudo_table): Add ".serialize.data" and
4408 ".serialize.instruction" directives.
4409
44102004-05-06 Nick Clifton <nickc@redhat.com>
4411
4412 * messages (as_internal_value_out_of_range): Print a message about
4413 a value being out of range. Be consistent about whether the
4414 values are printed in decimal or hexadecimal.
4415 (as_warn_value_out_of_range): Generate a warning message about an
4416 out of range value.
4417 (as_bad_value_out_of_range): Generate an error message about an
4418 out of range value.
4419 * as.h: Prototype the new functions.
4420 * config/tc-alpha.c (insert_operand): Use new function.
4421 * config/tc-arc.c (arc_insert_operand): Likewise.
4422 * config/tc-mn10200.c (mn10200_insert_operand): Likewise.
4423 * config/tc-mn10300.c (mn10300_insert_operand): Likewise.
4424 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4425 * config/tc-s390.c (s390_insert_operand): Likewise.
4426 * config/tc-v850.c (v850_insert_operand): Likewise.
4427
44282004-05-05 Alexandre Oliva <aoliva@redhat.com>
4429
4430 * configure.in: Set em=linux for frv-*-*linux*.
4431 * configure: Rebuilt.
4432 * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
4433 (frv_md_fdpic_enabled): New.
4434 * config/tc-frv.c (frv_md_fdpic_enabled): New.
4435 (DEFAULT_FDPIC): New.
4436 (frv_flags): Use DEFAULT_FDPIC.
4437 (frv_pic_flag): Likewise.
4438 (OPTION_NOPIC): New.
4439 (md_longopts): Add -mnopic.
4440 (md_parse_option): Handle it.
4441 (md_show_usage): Add -mfdpic and -mnopic.
4442
44432004-05-05 Peter Barada <peter@the-baradas.com>
4444
4445 * config/tc-m68k.c: Add find_cf_chip to print list of valid
4446 chips for invalid coldfire instructions, rename selectors
4447 for ColdFire sub-variants, add 521x,5249,547x,548x and aliases,
4448 add current_chip to track which chip is referred to(including save/restore),
4449 use current_chip to select control registers, not current_arch.
4450 (md_show_usage): Add new chips.
4451 * doc/c-m68k.texi: Document new command line switches.
4452
44532004-05-05 Jakub Jelinek <jakub@redhat.com>
4454
4455 * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
4456 (NOP_OPCODE): Define.
4457 (s390_align_code): Remove prototype.
4458 * tc-s390.c (s390_align_code): Remove.
4459
44602004-05-04 H.J. Lu <hongjiu.lu@intel.com>
4461
4462 * config/tc-ia64.c (make_unw_section_name): Removed.
4463 (start_unwind_section): New function.
4464 (generate_unwind_image): Take const segT instead of const
4465 char *.
4466 (dot_handlerdata): Adjusted.
4467 (dot_endp): Likewise.
4468
44692004-05-02 H.J. Lu <hongjiu.lu@intel.com>
4470
4471 * config/obj-elf.c (obj_elf_change_section): Allow the
4472 ".note.GNU-stack" section has SHF_EXECINSTR.
4473
44742004-05-02 H.J. Lu <hongjiu.lu@intel.com>
4475
4476 * config/obj-elf.c (get_section): Return bfd_boolean.
4477 (obj_elf_change_section): Call bfd_get_section_by_name_if
4478 instead of bfd_map_over_sections.
4479
44802004-04-30 H.J. Lu <hongjiu.lu@intel.com>
4481
4482 * config/obj-elf.c (get_section): New function.
4483 (obj_elf_change_section): Support multiple sections with same
4484 name.
4485
44862004-04-30 Nick Clifton <nickc@redhat.com>
4487
4488 * config/tc-arm.c (create_register_alias): Fix typo checking for
4489 case sensitive register aliases.
4490 (co_proc_number): Use error message string in all_reg_maps[]
4491 array.
4492 (cp_reg_required_here): Likewise.
4493 (fp_reg_required_here): Likewise.
4494
44952004-04-29 Brian Ford <ford@vss.fsi.com>
4496
4497 * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags.
4498
44992004-04-28 Chris Demetriou <cgd@broadcom.com>
4500
4501 * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build)
4502 (load_address, macro, mips_ip, md_parse_option)
4503 (mips_force_relocation, mips_validate_fix, md_apply_fix3)
4504 (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all
4505 embedded-PIC handling, and update comments.
4506 (SWITCH_TABLE): Remove.
4507 * config/tc-mips.h (DIFF_EXPR_OK): Delete.
4508 (enum mips_pic_level): Remove EMBEDDED_PIC.
4509 (EXTERN_FORCE_RELOC): Remove embedded-PIC handling.
4510 (TC_FORCE_RELOCATION): Update comment.
4511 * ecoff.c (ecoff_build_lineno): Add comment about some code that
4512 might be safe to remove now that MIPS embedded-PIC is gone.
4513
45142004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4515
4516 * config/obj-som.c (obj_som_init_stab_section): Add new arguments in
4517 call to obj_set_subsection_attributes.
4518 (obj_som_init_stab_section): Likewise.
4519 * config/tc-hppa.c (default_subspace_dict): Add comdat field.
4520 (pa_def_subspaces): Provide comdat default.
4521 (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and
4522 not SEC_IS_COMMON if section is comdat, common or dup_common. Update
4523 calls to create_new_subspace and update_subspace to pass comdat flag.
4524 (create_new_subspace, update_subspace): Add new comdat argument. Use
4525 it in calls to obj_set_subsection_attributes.
4526 * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter
4527 and use of comdat, common and dup_comm parameters.
4528
45292004-04-26 H.J. Lu <hongjiu.lu@intel.com>
4530
4531 * config/obj-elf.c (obj_elf_change_section): Check if the old
4532 group name is NULL before comparison.
4533
45342004-04-23 Chris Demetriou <cgd@broadcom.com>
4535
4536 * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
4537
45382004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4539
4540 * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
4541
45422004-04-23 Chris Demetriou <cgd@broadcom.com>
4543
4544 * config/tc-mips.c (md_longopts): Remove -membedded-pic option.
4545 (OPTION_MEMBEDDED_PIC): Remove.
4546 (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
4547 (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
4548 (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
4549 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
4550 (OPTION_ELF_BASE): Renumber.
4551 (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
4552 (md_show_usage): Remove mention of -membedded-pic.
4553 * doc/as.texinfo: Remove mention of -membedded-pic.
4554
45552004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4556
4557 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
4558 * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
4559 a.out support.
4560 (md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
4561 s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
4562 USE_GLOBAL_POINTER_OPT.
4563
45642004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4565
4566 * config/tc-mips.c (macro): One more use of load_delay_nop.
4567
45682004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
4569
4570 * config/tc-mips.c (load_delay_nop): New function.
4571 (load_address, macro): Use load_delay_nop() to build a nop
4572 which can be omitted with gpr_interlocks.
4573
45742004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4575
4576 * config/tc-mips.c (hilo_interlocks, gpr_interlocks,
4577 cop_interlocks): Remove superfluous CPU entries.
4578
45792004-04-22 Paul Brook <paul@codesourcery.com>
4580
4581 * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
4582
45832004-04-22 Peter Barada <peter@the-baradas.com>
4584
4585 * NEWS: Added support for EMAC instructions and MAC/EMAC
4586 Motorola syntax.
4587 * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
4588 scale factor tokens, trailing_ampersand to mark mask addressing
4589 for MAC/EMAC instructions.
4590 * config/m68k-parse.y: Add options_ampersand clause, '<<',
4591 '>>'.
4592 (yylex): Handle '>', '<', and '&' following '+'.
4593 * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
4594 architectures in archs[].
4595 (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
4596 for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
4597 respectively.
4598 (m68k_ip): Handle trailing '&' on MAC/EMAC insns.
4599 (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
4600 cases.
4601 Add EMAC operands to init_table[].
4602
46032004-04-22 Bruno De Bus <bdebus@elis.ugent.be>
4604
4605 * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
4606 state.
4607 (TC_SEGMENT_INFO_TYPE): Define to enum mstate.
4608 * config/tc-arm.c (enum mstate): Delete from here.
4609 (mapping_state): Remove the static mapstate variable and instead
4610 store the state in the segment. This allows a per-section mapping
4611 state. Handle and ignore MAP_UNDEFINED states.
4612 (arm_elf_change_section): Get the current mapping state from the
4613 new section.
4614 (s_ltorg): Set the mapping state to MAP_DATA.
4615 (arm_cleanup): Use arm_elf_change_section to get the mapping state
4616 for each pool as it is emitted.
4617
46182004-04-22 Nick Clifton <nickc@redhat.com>
4619
4620 * config/tc-arm.h: Formatting tidy ups.
4621
46222004-04-20 Chris Demetriou <cgd@broadcom.com>
4623
4624 * NEWS: Note that MIPS -membedded-pic option is deprecated.
4625
46262004-04-20 DJ Delorie <dj@redhat.com>
4627
4628 * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define.
4629 * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32".
4630 [TE_PE] (O_secrel): Define.
4631 [TE_PE] (x86_pe_cons_fix_new): New.
4632 [TE_PE] (pe_directive_secrel): Likewise.
4633 (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL.
4634
46352004-04-19 Eric Christopher <echristo@redhat.com>
4636
4637 * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
4638 of previous patch for fix in gcc.
4639
46402004-04-19 Jakub Jelinek <jakub@redhat.com>
4641
4642 * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
4643
46442004-04-19 Nathan Sidwell <nathan@codesourcery.com>
4645
4646 * read.c (do_align): Call md_flush_pending_output, if defined.
4647
46482004-04-16 Alan Modra <amodra@bigpond.net.au>
4649
4650 * expr.c (operand): Correct checks for ++ and --.
4651
46522004-04-14 H.J. Lu <hongjiu.lu@intel.com>
4653
4654 * config/tc-generic.c: Add some comments.
4655
46562004-04-14 Richard Sandiford <rsandifo@redhat.com>
4657
4658 * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
4659 -{no-}mfix-vr4122-bugs.
4660 * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
4661 (append_insn, mips_emit_delays): Update accordingly.
4662 (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
4663 (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
4664 (md_parse_option): Update after above changes.
4665 (md_show_usage): Add -mfix-vr4120.
4666
46672004-04-13 Bob Wilson <bob.wilson@acm.org>
4668
4669 * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
4670 of .section directive; add a reference to the ELF .subsection
4671 directive.
4672
46732004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4674
4675 * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
4676 in parallel.
4677
46782004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4679
4680 * Makefile.am: Remove mips from aout targets.
4681 * Makefile.in: Regenerate.
4682 * configure.in: Remove mips-dec-bsd* target.
4683 * configure: Regenerate.
4684
46852004-04-07 Alan Modra <amodra@bigpond.net.au>
4686
4687 PR 96
4688 * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
4689 to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64.
4690 Update "mapping". Restrict some @ modifiers to 32 bit.
4691
46922004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
4693 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4694
4695 * config/tc-sh.c (dont_adjust_reloc_32): New variable.
4696 (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
4697 dont_adjust_reloc_32 is set.
4698 (md_longopts): Add option -renesas.
4699 (md_parse_option, md_show_usage): Likewise.
4700 * doc/c-sh.texi: Likewise.
4701
47022004-04-01 Dave Korn <dk@artimi.com>
4703
4704 * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
4705 hi16 and lo16 fixS structs.
4706 (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
4707 exactly the same way as for RELOC_DLX_REL16.
4708 (machine_ip): properly respect LO flag in the_insn and
4709 output RELOC_DLX_LO16 rather than RELOC_DLX_16.
4710 (md_apply_fix3): apply RELOC_DLX_LO16.
4711
47122004-03-30 Stan Shebs <shebs@apple.com>
4713
4714 Remove long-obsolete MPW support.
4715 * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
4716 * configure.in: Remove mention of ppc-*-mpw* config.
4717 * configure.in: Likewise.
4718
47192004-03-30 Nick Clifton <nickc@redhat.com>
4720
4721 * config/tc-arm.c (meabi_flags): Make its use conditional upon
4722 OBJ_ELF being defined.
4723
47242004-03-27 Alan Modra <amodra@bigpond.net.au>
4725
4726 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
4727
47282004-03-23 Paul Brook <paul@codesourcery.com>
4729
4730 * config/tc-arm.c (meabi_flags): New variable.
4731 (arm_parse_eabi): New function.
4732 (md_begin): Set flags for EABI v3.
4733 (arm_eabis): Add.
4734 (arm_long_opts): Add meabi.
4735 * doc/as.texinfo <ARM>: Document -meabi.
4736 * doc/c-arm.texi: Ditto.
4737
47382004-03-22 Bob Wilson <bob.wilson@acm.org>
4739
4740 * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
4741 tables even when use_literal_section flag is not set.
4742
47432004-03-22 Alan Modra <amodra@bigpond.net.au>
4744
4745 * config/tc-sh.c: Remove trailing whitespace.
4746
47472004-03-22 Hans-Peter Nilsson <hp@axis.com>
4748
4749 * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
4750 --mul-bug-abort and the default behavior.
4751 * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
4752 (err_for_dangerous_mul_placement): New variable.
4753 (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
4754 macros.
4755 (md_cris_relax_table): Have placeholder for STATE_MUL.
4756 (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
4757 (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
4758 case doing nothing.
4759 (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
4760 STATE_BYTE)>: Ditto.
4761 (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
4762 alignment and position of this frag, emit error message if
4763 suspicious.
4764 (md_assemble): For a multiply insn and when checking it,
4765 transform the current frag into a special frag for that purpose.
4766 (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
4767 OPTION_MULBUG_ABORT_ON>: Handle new options.
4768
47692004-03-19 Bob Wilson <bob.wilson@acm.org>
4770
4771 * config/tc-xtensa.c (mark_literal_frags): New function.
4772 (xtensa_move_literals): Call mark_literal_frags for all literal
4773 segments, including init and fini literal segments.
4774 (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
4775
47762004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4777
4778 * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
4779 (pa_comm): Set BSF_OBJECT in symbol flags.
4780
47812004-03-19 Alan Modra <amodra@bigpond.net.au>
4782
4783 * Makefile.am: Run "make dep-am".
4784 * Makefile.in: Regenerate.
4785 * doc/Makefile.in: Regenerate.
4786 * config.in: Regenerate.
4787 * po/gas.pot: Regenerate.
4788
47892004-03-18 Nathan Sidwell <nathan@codesourcery.com>
4790
4791 * read.c (read_a_source_file): Use demand_empty_rest_of_line.
4792 (demand_empty_rest_of_line): Issue an error here.
4793 (ignore_rest_of_line): Silently skip to end.
4794 (demand_copy_string): Issue an error, not warning.
4795 (equals): Likewise.
4796 * config/obj-elf.c (obj_elf_section_name): Likewise.
4797 (obj_elf_section): Likewise.
4798 * config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
4799 (arc_extinst): Likewise.
4800 * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
4801 (dot_spill): Likewise.
4802 (dot_unwabi): Likewise.
4803 (dot_prologue): Likewise.
4804
4805 * expr.c (operand): Reject ++ and --.
4806 (operator): Likewise.
4807
48082004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4809
4810 * config/tc-sh.c: Include dw2gencfi.h.
4811 (sh_cfi_frame_initial_instructions): New function.
4812 (sh_regname_to_dw2regnum): Likewise.
4813 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
4814 file.
4815 (TARGET_USE_CFIPOP): Define.
4816 (tc_cfi_frame_initial_instructions): Likewise.
4817 (tc_regname_to_dw2regnum): Likewise.
4818 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
4819 * Makefile.am: Update dependencies.
4820 * Makefile.in: Regenerate.
4821
48222004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4823
4824 * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
4825 * configure: Regenerate.
4826
48272004-03-12 Bob Wilson <bob.wilson@acm.org>
4828
4829 * read.c (s_leb128): Call md_flush_pending_output.
4830
48312004-03-12 Michal Ludvig <mludvig@suse.cz>
4832
4833 * config/tc-i386.c (output_insn): Handle PadLock instructions.
4834 * config/tc-i386.h (CpuPadLock): New define.
4835 (CpuUnknownFlags): Added CpuPadLock.
4836
48372004-03-07 Andreas Schwab <schwab@suse.de>
4838
4839 * doc/c-hppa.texi (HPPA Directives): Fix typo.
4840
48412004-03-07 Richard Henderson <rth@redhat.com>
4842
4843 * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
4844 (cfi_finish): Likewise for fde.
4845
48462004-03-05 H.J. Lu <hongjiu.lu@intel.com>
4847
4848 * config/tc-ia64.c (md_assemble): Properly handle NULL
4849 align_frag.
4850 (ia64_handle_align): Don't abort if failed to add a stop bit.
4851
48522004-03-04 H.J. Lu <hongjiu.lu@intel.com>
4853
4854 * Makefile.in: Regenerated.
4855 * aclocal.m4: Likewise.
4856 * configure: Likewise.
4857 * doc/Makefile.in: Likewise.
4858
48592004-03-03 H.J. Lu <hongjiu.lu@intel.com>
4860
4861 * config/tc-ia64.c (dot_align): New.
4862 (ia64_do_align): Make it static.
4863 (md_pseudo_table): Use "dot_align" for "align".
4864 (ia64_md_do_align): Don't set align_frag here.
4865 (ia64_handle_align): Add a stop bit to the previous bundle if
4866 needed.
4867
4868 * config/tc-ia64.h (ia64_do_align): Removed.
4869
48702003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
4871
4872 * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
4873 -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
4874 (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
4875 the most general type or the user specifically requested it.
4876 (md_assemble): Add a new error message for when an instruction
4877 is understood, but is not allowed due to an -isa option.
4878
48792004-03-02 H.J. Lu <hongjiu.lu@intel.com>
4880
4881 * config/tc-ia64.c (align_frag): New.
4882 (md_assemble): Set the tc_frag_data field in align_frag for
4883 IA64_OPCODE_FIRST instructions.
4884 (ia64_md_do_align): Set align_frag.
4885 (ia64_handle_align): Add a stop bit if needed.
4886
4887 * config/tc-ia64.h (TC_FRAG_TYPE): New.
4888 (TC_FRAG_INIT): New.
4889
48902004-03-01 Richard Sandiford <rsandifo@redhat.com>
4891
4892 * config/tc-frv.c (fr400_audio): New variable.
4893 (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
4894 (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
4895 (target_implements_insn_p): New function.
4896 (md_assemble): Report an error if the processor doesn't implement
4897 the instruction.
4898
48992004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4900
4901 * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
4902 (md_parse_option): Ditto.
4903 (OPTION_NO_SPECIAL_M32R): Added.
4904 (md_show_usage): Document it.
4905 (enable_speial_m32r): Changed a default value from 0 to 1.
4906 * doc/c-m32r.texi: Document the -no-bitinst option.
4907
49082004-02-27 Nick Clifton <nickc@redhat.com>
4909
4910 * config/tc-sh.c (get_operand): Revert previous delta.
4911 (tc_gen_reloc): Check for an unknown reloc type before processing
4912 the addend.
4913
49142004-02-27 Hannes Reinecke <hare@suse.de>
4915
4916 * config/tc-s390.c (s390_insn): Correct range check for opcode in
4917 .insn pseudo operation.
4918
49192004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
4920
4921 * config/tc-sh.c (get_operand): In case of #Imm, check has been
4922 added for wrong syntax.
4923
49242004-02-26 Eric Christopher <echristo@redhat.com>
4925
4926 * config/tc-mips.c (mips_dwarf2_addr_size): New.
4927 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
4928
49292004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
4930
4931 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
4932 nibble types to assembler.
4933
49342004-02-25 Fred Fish <fnf@redhat.com>
4935
4936 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
4937
49382004-02-20 James E Wilson <wilson@specifixinc.com>
4939
4940 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
4941 finalize_syms.
4942 (fixup_unw_records): New arg before_relax. Pass to slot_index.
4943 (ia64_estimate_size_before_relax): New.
4944 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
4945 (generate_unwind_image): Pass 1 to fixup_unw_records.
4946 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
4947 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
4948
49492004-02-19 Jakub Jelinek <jakub@redhat.com>
4950
4951 * stabs.c (generate_asm_file): Avoid warning about use of
4952 uninitialized variable.
4953
49542004-02-18 David Mosberger <davidm@hpl.hp.com>
4955
4956 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
4957 body, and endp, allow unwind records which do not have a "t"
4958 (time/instruction) field.
4959
49602004-02-17 Petko Manolov <petkan@nucleusys.com>
4961
4962 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
4963 (do_mav_dspsc_2): Likewise.
4964 Fix accumulator registers move opcodes.
4965
49662004-02-13 Hannes Reinecke <hare@suse.de>
4967 Jakub Jelinek <jakub@redhat.com>
4968
4969 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
4970
49712004-02-10 Steve Ellcey <sje@cup.hp.com>
4972
4973 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
4974 (tc_frob_symbol): New macro definition.
4975 * config/tc-ia64.c (ia64_frob_symbol): New routine.
4976
49772004-02-09 Daniel Jacobowitz <drow@mvista.com>
4978
4979 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
4980 read-only.
4981
49822004-02-09 Nathan Sidwell <nathan@codesourcery.com>
4983
4984 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
4985 (TC_CASE_SENSITIVE): ... this.
4986 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
4987 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
4988
49892004-02-06 James E Wilson <wilson@specifixinc.com>
4990
4991 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
4992 (generate_unwind_image): Re-add it here.
4993
49942004-02-06 Nathan Sidwell <nathan@codesourcery.com>
4995
4996 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
4997 * read.h (SKIP_WHITESPACE): Turn into an expression.
4998 * read.c (read_a_source_file): A pseudo is removed by having a
4999 NULL handler.
5000
50012004-02-05 James E Wilson <wilson@specifixinc.com>
5002
5003 * config/tc-ia64.c (output_endp): New.
5004 (count_bits): Delete.
5005 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
5006 endp unwind records.
5007 (fixup_unw_records): Handle endp unwind records. Delete code for
5008 shortening prologue regions not followed by a body record.
5009 (dot_endp): Call add_unwind_entry to emit endp unwind record.
5010 * config/tc-ia64.h (unw_record_type): Add endp.
5011
50122004-02-03 James E Wilson <wilson@specifixinc.com>
5013
5014 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
5015 fill padding bytes with zeroes.
5016 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
5017 sets unwind_record slot_number and slot_frag fields.
5018
50192004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5020
5021 * config/tc-mips.c (add_got_offset_hilo): New function.
5022 (macro): Use load_register() and add_got_offset_hilo() to load
5023 constants instead of hardcoding code sequences throughout.
5024
50252004-01-28 H.J. Lu <hongjiu.lu@intel.com>
5026
5027 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
5028
50292004-01-26 Bernardo Innocenti <bernie@develer.com>
5030
5031 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
5032 like m68k-elf.
5033 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
5034 of hard-coded test for TARGET_OS=elf.
5035
50362004-01-24 Chris Demetriou <cgd@broadcom.com>
5037
5038 * config/tc-mips.c (hilo_interlocks): Change definition
5039 so that MIPS32, MIPS64 and later ISAs are included, along with
5040 the already-included machines. Update comments.
5041
50422004-01-23 Daniel Jacobowitz <drow@mvista.com>
5043
5044 * config/tc-arm.c (tc_gen_reloc): Improve error message for
5045 undefined local labels.
5046
50472004-01-23 Richard Sandiford <rsandifo@redhat.com>
5048
5049 * config/tc-mips.c (load_address, macro): Update comments about
5050 NewABI GP relaxation.
5051
50522004-01-23 Richard Sandiford <rsandifo@redhat.com>
5053
5054 * config/tc-mips.c (macro_build): Remove place and counter arguments.
5055 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
5056 (mips16_macro_build, macro_build_jalr): Remove counter argument.
5057 (set_at, load_register, load_address, move_register): Likewise.
5058 (load_got_offset, add_got_offset): Likewise.
5059 Update all calls and tidy accordingly.
5060
50612004-01-23 Richard Sandiford <rsandifo@redhat.com>
5062
5063 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
5064 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
5065 (RELAX_USE_SECOND): Bump to 0x10000.
5066 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
5067 (mips_macro_warning): New variable.
5068 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
5069 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
5070 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
5071 of RELAX_ENCODE.
5072 (append_insn): Update mips_macro_warning.sizes.
5073 (macro_start, macro_warning, macro_end): New functions.
5074 (macro_build): Don't emit warnings here.
5075 (macro_build_lui, md_estimate_size_before_relax): ...or here.
5076 (md_convert_frag): Check for cases where one macro alternative
5077 needs a warning and the other doesn't. Emit a warning if the
5078 longer sequence was chosen.
5079
50802004-01-23 Richard Sandiford <rsandifo@redhat.com>
5081
5082 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
5083 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
5084 the first sequence, the size of the second sequence, and a flag
5085 that says whether we should warn.
5086 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
5087 (RELAX_FIRST, RELAX_SECOND): New.
5088 (mips_relax): New variable.
5089 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
5090 (append_insn): Remove "place" argument. Use mips_relax.sequence
5091 rather than "place" to check whether we're expanding the second
5092 alternative of a relaxable macro. Remove redundant check for
5093 branch relaxation. If generating a normal insn, and there
5094 is not enough room in the current frag, call relax_close_frag()
5095 to close it. Update mips_relax.sizes[]. Emit fixups for the
5096 second version of a relaxable macro. Record the first relaxable
5097 fixup in mips_relax. Remove tc_gen_reloc workaround.
5098 (macro_build): Remove all uses of "place". Use mips_relax.sequence
5099 in the same way as in append_insn.
5100 (mips16_macro_build): Remove "place" argument.
5101 (macro_build_lui): As for macro_build. Don't drop the add_symbol
5102 when generating the second version of a relaxable macro.
5103 (load_got_offset, add_got_offset): New functions.
5104 (load_address, macro): Use new relaxation machinery. Remove
5105 tc_gen_reloc workarounds.
5106 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
5107 version of a relaxable macro is needed. Return -RELAX_SECOND if the
5108 first version is needed.
5109 (tc_gen_reloc): Remove relaxation handling.
5110 (md_convert_frag): Go through the fixups for a relaxable macro and
5111 mark those that belong to the unneeded alternative as done. If the
5112 second alternative is needed, adjust the fixup addresses to account
5113 for the deleted first alternative.
5114
51152004-01-23 Richard Sandiford <rsandifo@redhat.com>
5116
5117 * frags.h (frag_room): Declare.
5118 * frags.c (frag_room): New function.
5119 * doc/internals.texi: Document it.
5120
51212004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5122
5123 * config/tc-mips.c (append_insn): Don't do r3900 interlock
5124 optimization for -mtune=r3900, as this will break on other CPUs.
5125
51262004-01-11 Tom Rix <tcrix@worldnet.att.net>
5127
5128 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
5129 be relaxed, use fixup.
5130 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
5131
51322004-01-19 Jakub Jelinek <jakub@redhat.com>
5133
5134 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
5135 precision operands.
5136
51372004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5138
5139 * config/tc-mips.c (append_insn): Properly detect variant frags
5140 that preclude swapping of relaxed branches. Correctly swap
5141 instructions between frags when dealing with relaxed branches.
5142
51432004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5144
5145 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
5146 throughout.
5147 * aclocal.m4: Regenerate.
5148 * configure: Regenerate.
5149
51502004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
5151
5152 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
5153 manipulation insns.
5154
51552004-01-12 Richard Sandiford <rsandifo@redhat.com>
5156
5157 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
5158 reloc, reserve space for the delay slot as well as the jalr itself.
5159
51602004-01-09 Paul Brook <paul@codesourcery.com>
5161
5162 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
5163 (do_vfp_sp2_from_reg2): New function.
5164 (insns): Use them.
5165 (do_vfp_dp_from_reg2): Check return values properly.
5166
51672004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
5168
5169 * config/tc-mips.c (warn_nops): Remove static variable.
5170 (macro): Remove test of warn_nops.
5171 (md_shortops): Remove 'n'.
5172 (md_parse_option): Remove 'n' case.
5173 (md_show_usage): Remove -n.
5174 * doc/as.texinfo (Overview): Remove MIPS -n option.
5175 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
5176 * NEWS: Mention removal of MIPS -n option.
5177
5178 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
5179 (cop_interlocks): Check ISA level.
5180 (cop_mem_interlocks): Define.
5181 (reg_needs_delay): Check cop_interlocks rather than
5182 ISA_HAS_COPROC_DELAYS.
5183 (append_insn): Likewise. Use cop_mem_interlocks rather than
5184 directly checking mips_opts.isa.
5185 (mips_emit_delays): Likewise.
5186
51872004-01-07 H.J. Lu <hongjiu.lu@intel.com>
5188
5189 * config/tc-ia64.c (unwind): Move next_slot_number and
5190 next_slot_frag to ...
5191 (unw_rec_list): Here.
5192 (free_list_records): Removed.
5193 (output_unw_records): Likewise.
5194 (generate_unwind_image): Make it void.
5195 (alloc_record): Initialize next_slot_number and next_slot_frag.
5196 (slot_index): Take .org, .space and .align into account.
5197 (fixup_unw_records): Don't set slot_number to 0. Use
5198 list->next_slot_number and list->next_slot_frag instead of
5199 unwind.next_slot_number and unwind.next_slot_frag.
5200 (ia64_convert_frag): New.
5201 (generate_unwind_image): Generate a rs_machine_dependent frag
5202 for unwind record.
5203 (emit_one_bundle): Use list->next_slot_number and
5204 list->next_slot_frag instead of unwind.next_slot_number and
5205 unwind.next_slot_frag.
5206
5207 * config/tc-ia64.h (md_convert_frag): Defined as
5208 ia64_convert_frag.
5209 (md_estimate_size_before_relax): Defined as (f)->fr_var.
5210
52112004-01-06 Alexandre Oliva <aoliva@redhat.com>
5212
5213 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
5214 * config/tc-frv.h (md_apply_fix3): Don't define.
5215 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
5216 operands.
5217 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
5218 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
5219 * config/tc-frv.c (line_separator_chars): Add `!'.
5220 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
5221 * config/tc-frv.c (md_assemble): Clear insn upfront.
5222 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
5223 * config/tc-frv.c (OPTION_FDPIC): New macro.
5224 (md_longopts): Add mfdpic.
5225 (md_parse_option): Handle it.
5226 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
5227 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
5228 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
5229 (frv_pic_ptr): Parse funcdesc.
5230
52312004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5232
5233 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
5234 gasver.texi. Remove duplicate symbol definitions for texi2pod.
5235
52362004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5237
5238 * Makefile.am (Makefile): Move the dependency on
5239 $(BFDDIR)/configure.in to...
5240 (CONFIG_STATUS_DEPENDENCIES): ... here.
5241 (AUTOMAKE_OPTIONS): Require automake 1.8.
5242 * Makefile.in: Regenerate.
5243 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
5244 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
5245 $(BFDDIR)/configure.in here as well.
5246 * doc/Makefile.in: Regenerate.
5247
52482004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5249
5250 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
5251 * Makefile.in: Regenerate.
5252 * aclocal.m4: Regenerate.
5253 * doc/Makefile.am (install, install-info): Remove.
5254 (install-data-local): A new hook for install-info.
5255 (AUTOMAKE_OPTIONS): Require automake 1.8.
5256 * doc/Makefile.in: Regenerate.
5257
52582004-01-02 Nutan Singh <nutan@kpitcummins.com>
5259
5260 * doc/c-sh.texi: Update description about floating point behavior
5261 of SH family.
5262
52632004-01-02 Bernardo Innocenti <bernie@develer.com>
5264
5265 * configure.in: Add m68k-uClinux target.
5266 * configure: Regenerate.
5267
5268For older changes see ChangeLog-0203
5269\f
5270Local Variables:
5271mode: change-log
5272left-margin: 8
5273fill-column: 74
5274version-control: never
5275End:
This page took 0.044932 seconds and 4 git commands to generate.