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