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