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