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