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