* gdb.ada/ref_tick_size.exp: New testcase.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
4d4175af
BW
12008-10-06 Bob Wilson <bob.wilson@acm.org>
2
3 * doc/as.texinfo (Local): New description of ELF .local directive.
4
7592cfd7
NC
52008-10-06 Nick Clifton <nickc@redhat.com>
6
7 PR 6926
8 * read.c (get_line_sb): Renamed to get_non_macro_line_sb.
9 (_find_end_of_line): Add extra parameter indicating if the line is
10 inside a macro. If it is then do not allow the @ character to be
11 treated as a line separator character.
12 (read_a_source): Update use of _find_end_of_line.
13 (find_end_of_line): Likewise.
14 (s_irp): Update use of get_line_sb.
15 (s_macro): Likewise.
16 (do_repeat): Likewise.
17 (get_line_sb): New function. Like the old version of get_line_sb
18 except that it takes an extra parameter indicating whether the
19 line is inside a macro.
20 (get_macro_line_sb): New function.
21
cc99daad
HPN
222008-10-04 Hans-Peter Nilsson <hp@axis.com>
23
24 * config/tc-cris.c: Update all comments regarding explicit relocations
25 to, besides PIC, also imply TLS or to say "relocation specifier" or
26 similar.
27 (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR. Change all callers.
28 (cris_get_reloc_suffix): Rename from cris_get_pic_suffix. Change all
29 callers. Also handle TLS relocs.
30 (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size.
31 Change all callers. Also handle TLS relocs.
32 (tls): New constant.
33 (cris_process_instruction): Check for non-PIC TLS relocations and
34 adjust message when emitting error message about relocation not
35 fitting.
36 (get_autoinc_prefix_or_indir_op): Also check for relocation suffix
37 when tls is true.
38 (get_3op_or_dip_prefix_op): Ditto.
39 (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
40
7e66d8ac
KH
412008-10-03 Kazu Hirata <kazu@codesourcery.com>
42
43 * listing.c (buffer_line): Open the source file with FOPEN_RB.
44 Manually process line ends.
45
e144674a
NC
462008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
47 Nick Clifton <nickc@redhat.com>
48
49 * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
50 S_SET_STORAGE_CLASS.
51
522008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
53 Nick Clifton <nickc@redhat.com>
54
55 * coffgen.c (coff_write_symbols): Check to see if a symbol's flags
56 do not match it class and if necessary update the class.
57 (null_error_handler): New function. Suppresses the generation of
58 bfd error messages.
59 * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
60
782e11fd
AM
612008-09-30 Alan Modra <amodra@bigpond.net.au>
62
63 * Makefile.am: Run "make dep-am".
64 * Makefile.in: Regenerate.
65
c0cf08ad
AM
662008-09-29 Nick Clifton <nickc@redhat.com>
67
68 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
69 tc_cfi_emit_pcrel_expr macro.
70
718a6fd8
SE
712008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
72 Steve Ellcey <sje@cup.hp.com>
73
74 * configure: Regenerate for new libtool.
75 * aclocal.m4: Ditto.
76 * Makefile.in: Ditto.
77 * doc/Makefile.in: Ditto.
78
c0a139c7
NC
792008-09-29 Nick Clifton <nickc@redhat.com>
80
81 PR 6878
82 * app.c (do_scrub_chars): Only issue warnings about tick
83 characters detected in symbol strings if hex ticks are supported.
84
852008-09-29 Nick Clifton <nickc@redhat.com>
86
87 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
88 tc_cfi_emit_pcrel_expr macro.
89
4f6d9c90
DJ
902008-09-28 Daniel Jacobowitz <dan@codesourcery.com>
91
92 * NEWS: Mention .cfi_val_encoded_addr.
93
2774199c
EB
942008-09-26 Eric Botcazou <ebotcazou@adacore.com>
95
96 * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.
97 * Makefile.in (TARG_ENV_HFILES): Likewise.
98 * configure.tgt (Solaris targets): Set em=solaris.
99 * config/te-solaris.h: New file.
100
37b32935
JZ
1012008-09-26 Jie Zhang <jie.zhang@analog.com>
102
103 * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
104
f1c4cc75
RH
1052008-09-24 Richard Henderson <rth@redhat.com>
106
107 * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
108 (struct cfi_insn_data): Add ea member.
109 (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
110 (output_cfi_insn): Handle CFI_val_encoded_addr.
111 (select_cie_for_fde): Don't match CFI_val_encoded_addr.
112 * doc/as.texinfo (.cfi_val_encoded_addr): Document.
113
ead47374
AM
1142008-09-25 Alan Modra <amodra@bigpond.net.au>
115
116 PR 6913
117 * listing.c (print_options): Don't call fprintf without format string.
118
9a97a5d7
AM
1192008-09-19 Alan Modra <amodra@bigpond.net.au>
120
5db484ff
AM
121 * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
122 (TC_VALIDATE_FIX_SUB): Likewise.
123 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
124 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
125 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
126 * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
127 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
128 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
129 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
130 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
131 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
132
9a97a5d7
AM
133 * write.c (md_register_arithmetic): Define.
134 (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
135 Modify error message when registers involved.
136 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
137 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
138
55f8b826
AM
1392008-09-15 Alan Modra <amodra@bigpond.net.au>
140
141 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
142
455bde50
AM
1432008-09-15 Alan Modra <amodra@bigpond.net.au>
144
145 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
146 relocs with no symbol.
147 * config/tc-mmix.c (md_assemble): Mark fake symbol on
148 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
149 (mmix_md_end): Likewise mark mmix reg contents section symbol.
150
2cf402d6
AM
1512008-09-14 Chris Smith <chris@zxdesign.info>
152
153 * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
154 broken, as the opcode of ld a,(de) was being emitted for both.
155
51add5c3
BW
1562008-09-12 Sterling Augustine <sterling@tensilica.com>
157
158 * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
159 operands equal to MAX_INSN_ARGS.
160
d053aef8
JK
1612008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
162
163 * configure.in: Call AC_SYS_LARGEFILE.
164 * config.in: Regenerate.
165 * configure: Regenerate.
166
a08f0c75
PB
1672008-09-09 Peter Bergner <bergner@vnet.ibm.com>
168
169 * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
170 Remove POWER5 and POWER6 tests.
171
2b489661
DA
1722008-09-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
173
174 * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
175 number support for 32-bit targets.
176
6e33da12
TG
1772008-09-08 Tristan Gingold <gingold@adacore.com>
178
179 * NEWS: Add a marker for the 2.19 features.
180
3dd24306
DA
1812008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
182
ded49c3e
DA
183 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise
184 comment regarding use of difference expressions.
185 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
186
3dd24306
DA
187 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
188 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
189 (dot_cfi_lsda, output_cie, output_fde): Likewise.
190 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
191
a79558d9
RS
1922008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
193
194 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
195
a6c24e68
NC
1962008-09-03 Nick Clifton <nickc@redhat.com>
197
198 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
199 alignment field of the .lcomm directive to be optional.
200 (pe_lcomm): New function. Pass pe_lcomm_internal to
201 s_comm_internal.
202 (md_pseudo_table): Implement .lcomm directive for COFF based
203 targets.
204 * doc/c-i386.texi (i386-Directives): New node. Used to document
205 the .lcomm directive.
206
5ead15d9
DA
2072008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
208
209 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
210 and NetBSD.
211
c879dfc5
NC
2122008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
213
214 * config/tc-avr.c (mcu_types): Add atmega16u4.
215 * doc/c-avr.texi: Likewise.
216
1ca35711
L
2172008-08-28 H.J. Lu <hongjiu.lu@intel.com>
218
219 * config/tc-ia64.c (CR_IIB0): New.
220 (CR_IIB1): Likewise.
221 (cr): Add cr.iib0 and cr.iib1.
222 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
223
fc0763e6
JB
2242008-08-28 Jan Beulich <jbeulich@novell.com>
225
226 * config/tc-i386.c (md_assemble): Force number of displacement
227 operands to zero when processing string instruction.
228 (i386_index_check): Special-case string instruction operands. Don't
229 fudge address prefix if there already was a memory operand. Fix
230 error message to correctly reflect the addressing mode used.
231 (i386_att_operand): Fix comment.
232 (i386_intel_operand): Snapshot, clear, and restore base and index
233 reg for each operand processed. Increment count of memory operands
234 later.
235
6bba1048
DA
2362008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
237
238 * config/tc-hppa.c (is_SB_relative): New macro.
239 (fix_new_hppa): Remove $segrel$ marker.
240 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
241 segment relative.
242 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
243
a87af027
JB
2442008-08-27 Jan Beulich <jbeulich@novell.com>
245
246 * config/tc-i386.c (check_string): Use register_prefix for error
247 message.
248 (process_operands): Likewise.
249
7da4f750
MM
2502008-08-26 Mark Mitchell <mark@codesourcery.com>
251
252 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
253
6429b084
JZ
2542008-08-26 Jie Zhang <jie.zhang@analog.com>
255
256 * config/bfin-parse.y (check_macfunc_option): Fix instruction
257 mode checking.
258 (asm_1): Check mode for 16-bit multiply instructions.
259
da594c4a
AM
2602008-08-24 Alan Modra <amodra@bigpond.net.au>
261
262 * configure.in: Update a number of obsolete autoconf macros.
263 * configure: Regenerate.
264 * aclocal.m4: Regenerate.
265
34857dd6
NC
2662008-08-22 Nick Clifton <nickc@redhat.com>
267
268 * config/tc-mcore.c (md_assemble): Increase length of name array
269 to include terminating NUL.
270
fec82760
JZ
2712008-08-22 Jie Zhang <jie.zhang@analog.com>
272
273 * config/bfin-lex.l (NUMBER): Protect special `.'.
274
73e24c68
AM
2752008-08-22 Alan Modra <amodra@bigpond.net.au>
276
277 * symbols.c (symbol_clone): Ensure clones are not external.
278
4e3b43ed
AM
2792008-08-22 Alan Modra <amodra@bigpond.net.au>
280
281 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
282
8c9b70b1
RH
2832008-08-21 Richard Henderson <rth@redhat.com>
284
285 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
286 (output_cie, output_fde): Use it.
287 (DWARF2_EH_FRAME_READ_ONLY): New.
288 (cfi_finish): Use it.
289
290 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
291 (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
292 (DWARF2_EH_FRAME_READ_ONLY): New.
293 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
294 from the results of DIFF_EXPR_OK manipulation.
295
c22a967f
BW
2962008-08-21 Sterling Augustine <sterling@tensilica.com>
297
298 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
299
28dbbc02
BW
3002008-08-20 Bob Wilson <bob.wilson@acm.org>
301
302 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
303 (O_tpoff, O_dtpoff): Define.
304 (suffix_relocs): Add entries for TLS suffixes.
305 (xtensa_elf_cons): Check for invalid use of TLS relocations.
306 (map_operator_to_reloc): Add is_literal parameter and use it to
307 control translating TLS instruction relocations to the corresponding
308 literal relocations.
309 (xg_valid_literal_expression): Allow TLS operators.
310 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
311 operands to generated literals.
312 (xg_assemble_literal): Handle TLS operators. Update call to
313 map_operator_to_reloc.
314 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
315 (md_apply_fix): Handle TLS relocations.
316 (emit_single_op): Handle TLS operators.
317 (convert_frag_immed): Update call to map_operator_to_reloc.
318 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
319 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
320 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
321 to initialize the op_data field of the BuildOp.
322 (build_transition): Use it here to record the source operand
323 corresponding to a generated literal.
324 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
4e3b43ed 325
41a7d9f3
L
3262008-08-20 H.J. Lu <hongjiu.lu@intel.com>
327
328 AVX Programming Reference (August, 2008)
329 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
330 (CPU_FLAGS_AVX_MATCH): Likewise.
331 (CPU_FLAGS_32BIT_MATCH): Updated.
332 (cpu_flags_match): Likewise.
333
76d12939
AM
3342008-08-20 Alan Modra <amodra@bigpond.net.au>
335
336 PR 6848
337 * write.c (install_reloc): Check that reloc symbols have been
338 written.
339 (set_symtab): Mark symbols with BSF_KEEP.
340
e6a14101
L
3412008-08-18 H.J. Lu <hongjiu.lu@intel.com>
342
343 * config/tc-i386.c (i386_align_code): Fix a comment typo.
344
7357c5b6
AM
3452008-08-15 Alan Modra <amodra@bigpond.net.au>
346
347 PR 6526
348 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
349 * Makefile.in: Regenerate.
350 * aclocal.m4: Regenerate.
351 * config.in: Regenerate.
352 * configure: Regenerate.
353 * doc/Makefile.in: Regenerate.
354
4e96a12e
AM
3552008-08-14 Alan Modra <amodra@bigpond.net.au>
356
357 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
358
9e9a9798
BE
3592008-08-13 Ben Elliston <bje@au.ibm.com>
360
361 * doc/as.texinfo (Align): Document the PowerPC behaviour.
362
5a49b8ac
AM
3632008-08-13 Alan Modra <amodra@bigpond.net.au>
364
365 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
366 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
367 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
368 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
369 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
370 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
371 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
372 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
373 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
374 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
375
db0bc284
AM
3762008-08-12 Alan Modra <amodra@bigpond.net.au>
377
378 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
379 * config/tc-ia64.c (dot_rot): Likewise.
380
818236e5
AM
3812008-08-11 Alan Modra <amodra@bigpond.net.au>
382
383 PR 6575
384 * hash.c: Expand PTR to void *.
385 (hash_delete): Add "freeme" parameter. Call obstack_free.
386 * hash.h: Expand PTR to void *.
387 (hash_delete): Update prototype.
388 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
389 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
390 call.
391 (subsym_substitute): Likewise.
392 * doc/internals.texi (hash_delete): Update.
393
7b21ac3f
EW
3942008-08-08 Anatoly Sokolov <aesok@post.ru>
395
396 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
818236e5
AM
397 architectures. Reorganize list to put mcu types in correct
398 architectures and to order list same as in GCC. Use new ISA
399 definitions in include/opcode/avr.h.
7b21ac3f
EW
400 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
401 descriptions. Reorganize descriptions to put mcu types in correct
402 architectures and to order lists same as in GCC.
403
861fb55a
DJ
4042008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
405 Daniel Jacobowitz <dan@codesourcery.com>
406
407 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
408 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
409 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
410 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
411 (md_longopts): Add -call_nonpic.
412 (md_parse_option): Handle OPTION_CALL_NONPIC.
413 (md_show_usage): Add -call_nonpic.
414
532f93bd 4152008-08-08 Sterling Augustine <sterling@tensilica.com>
818236e5 416
532f93bd
BW
417 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
418 (xtensa_create_property_segments): Use it.
419 (xtensa_create_xproperty_segments): Likewise.
818236e5 420
c3c36456
AM
4212008-08-08 Alan Modra <amodra@bigpond.net.au>
422
423 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
424
738e5348
RS
4252008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
426
427 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
428 (lo16_reloc_p): New functions.
429 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
430 generalize relocation checks.
431 (matching_lo_reloc): New function.
432 (fixup_has_matching_lo_p): Use it.
433 (mips16_mark_labels): Don't clobber a symbol's visibility.
434 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
435 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
436 (md_apply_fix): Likewise.
437 (mips16_percent_op): Add %got and %call16.
438 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
439 Use matching_lo_reloc.
440 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
441 generalize relocation checks.
442 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
443 checks.
444
6fd4f6cc
DD
4452008-08-06 DJ Delorie <dj@redhat.com>
446
447 * NEWS: Mention these changes.
448
449 * config/tc-h8300.h (H_TICK_HEX): Define.
450 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
451 (md_longopts): Add "-h-tick-hex".
452 (md_parse_option): Support it.
453 * doc/c-h8300.texi (H8/300 Options): Document it.
454 * doc/as.texinfo (Overview): Likewise.
818236e5 455
6fd4f6cc
DD
456 * config/tc-sh.h (H_TICK_HEX): Define.
457 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
458 (md_longopts): Add "-h-tick-hex".
459 (md_parse_option): Support it.
460 * doc/c-sh.texi (SH Options): Document it.
461 * doc/c-sh64.texi (SH64 Options): Document it.
462 * doc/as.texinfo (Overview): Likewise.
463
7cadeb2c
AM
4642008-08-05 Alan Modra <amodra@bigpond.net.au>
465
466 PR gas/6656
467 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
468 debug info if we see compiler generated debug info.
469 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
470
413a266c
AM
4712008-08-04 Alan Modra <amodra@bigpond.net.au>
472
473 * dwarf2dbg.c: Remove superfluous forward function declarations.
474 (DWARF2_FORMAT): Add section arg.
475 (out_header): New function, split out from..
476 (out_debug_line): ..here.
477 (out_debug_aranges): Use out_header.
478 (out_debug_abbrev): Add info_seg and line_seg args. Use
479 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
480 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
481 if line_seg is 64-bit.
482 (dwarf2_finish): Adjust out_debug_abbrev call.
483 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
484 * config/tc-mips.c (mips_dwarf2_format): Likewise.
485
323ee3f4
AM
4862008-08-04 Alan Modra <amodra@bigpond.net.au>
487
488 * Makefile.am (POTFILES.in): Set LC_ALL=C.
489 * Makefile.in: Regenerate.
490 * po/POTFILES.in: Regenerate.
491
9b4e5766
PB
4922008-08-01 Peter Bergner <bergner@vnet.ibm.com>
493
494 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
495 Handle -mvsx and -mpower7.
496 (md_show_usage): Document -mpower7 and -mvsx.
497 * doc/as.texinfo (Target PowerPC): Document -mvsx.
498 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
499
38233209
PB
5002008-07-31 Peter Bergner <bergner@vnet.ibm.com>
501
502 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
503 <cell>: Likewise.
504
081ba1b3
AM
5052008-07-30 Michael J. Eager <eager@eagercon.com>
506
507 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
508 (md_show_usage): Likewise.
509
0af1713e
AM
5102008-07-30 Alan Modra <amodra@bigpond.net.au>
511
512 * messages.c, symbols.c, write.c: Silence gcc warnings.
513
2cfe26b6
AM
5142008-07-28 Ineiev <ineiev@yahoo.co.uk>
515
516 * config/tc-i386.c (operand_type_check): Warning fix.
517
3c7b9897
AM
5182008-07-26 Michael Eager <eager@eagercon.com>
519
520 * doc/as.texinfo: Add description of single-precision attribute.
521
81fd73ed
JZ
5222008-07-24 Jie Zhang <jie.zhang@analog.com>
523
524 * config/bfin-parse.y (asm_1): Error if plain symbol is used
525 as load/store offset.
526
570de991
NC
5272008-07-22 Chao-ying Fu <fu@mips.com>
528
529 * config/tc-mips.c (mips_ip): Reset s to argsStart.
530
b4f42c96
JZ
5312008-07-22 Jie Zhang <jie.zhang@analog.com>
532
533 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
534
cc189afc
DD
5352008-07-21 DJ Delorie <dj@redhat.com>
536
537 * config/tc-h8300.c (fix_operand_size): Use the default size
538 specified by the .lbranch/.sbranch pseudos.
539
c54b5932
DD
5402008-07-18 DJ Delorie <dj@redhat.com>
541
542 * config/tc-m32c.h (H_TICK_HEX): Define.
543 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
544 (md_longopts): Add support for it.
545 (md_parse_option): Likewise.
546 * doc/as.texinfo (Overview): Add new m32c options.
547 * doc/c-m32c.texi (M32C-Modifiers): Likewise
548
549 * as.h: (enable_h_tick_hex): New.
550 * app.c (enable_h_tick_hex): New.
551 (LEX_IS_H): New.
552 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
553 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
554 style hex constants and convert the input stream to 0x00 style.
555 (do_scrub_chars): If a 'X style character constant is found after
556 a symbol character (like you're or X'00), warn the user.
557
30c09090
RS
5582008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
559
560 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
561 (mips_fix_adjustable): Likewise.
562 (mips_frob_file_after_relocs): Likewise.
563
bfbba8e4
NS
5642008-07-08 Nathan Sidwell <nathan@codesourcery.com>
565
566 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
567 about overriding an earlier setting.
568
b19e8a9b
AN
5692008-07-07 Adam Nemet <anemet@caviumnetworks.com>
570
571 * config/tc-mips.c (NO_ISA_COP): New macro.
572 (COP_INSN): New macro.
573 (is_opcode_valid): Use them.
574 (macro) <ld_st>: Use them. Don't accept coprocessor load store
575 insns based on the ISA if CPU is NO_ISA_COP.
576 <copz>: Likewise for coprocessor operations.
577
79947c54
CD
5782008-07-07 Paul Brook <paul@codesourcery.com>
579
580 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
2cfe26b6 581 relocations.
79947c54 582
9990da1d
NC
5832008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
584
585 * configure.tgt: Add bfin-*-rtems*.
586
d62f07d0
AM
5872008-07-04 Alan Modra <amodra@bigpond.net.au>
588
589 * config/tc-spu.c (md_apply_fix): Handle fully resolved
590 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
591
c8187e15
PB
5922008-06-25 Peter Bergner <bergner@vnet.ibm.com>
593
594 * config/tc-ppc.c (parse_cpu): Handle -m464.
595 (md_show_usage): Likewise.
596
3bb06f78
EW
5972008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
598
599 Add support for ATtiny13A.
600 * config/tc-avr.c (mcu_types): Add attiny13a.
601 * doc/c-avr.texi: Likewise.
602
6afe8e98
AM
6032008-06-24 Bob Wilson <bob.wilson@acm.org>
604 Alan Modra <amodra@bigpond.net.au>
605
606 * write.c (relax_segment <rs_org>): Include current stretch
607 value when calculating whether .org is backwards.
608
7a283e07
RW
6092008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
610
611 * configure: Regenerate.
612
0146fc9d
NC
6132008-06-17 Nick Clifton <nickc@redhat.com>
614
615 * app.c (do_scrub_chars): Do not UNGET an EOF value.
616
1afc8def
HPN
6172008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
618
619 PR gas/6607
620 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
621 text_section. Do the "stepping backwards" test for text_section
622 using unsigned operands.
623
fa452fa6
PB
6242008-06-13 Peter Bergner <bergner@vnet.ibm.com>
625
626 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
627 (ppc_insert_operand): Likewise.
628 (ppc_machine): Likewise.
629 * config/tc-ppc.h: #include "opcode/ppc.h"
630 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
631 (ppc_cpu): Update extern decl.
632
bb35fb24
NC
6332008-06-12 Adam Nemet <anemet@caviumnetworks.com>
634
635 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
636 +x, +X, +p, +P, +s, +S.
637 (mips_ip): Likewise.
638
dd3cbb7e
NC
639 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
640 (mips_ip): Likewise.
641 (macro_build): Likewise.
642 (CPU_HAS_SEQ): New macro.
643 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
644
e8568f6c
EW
6452008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
646
647 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
648 * doc/c-avr.texi: Likewise.
649
83bd7402
NC
6502008-06-04 Nick Clifton <nickc@redhat.com>
651
652 * app.c (do_scrub_chars): Do not UNGET an EOF value.
653
cb19c032
L
6542008-06-03 H.J. Lu <hongjiu.lu@intel.com>
655
656 * config/tc-i386.c (set_sse_check): New.
657 (md_pseudo_table): Add "sse_check".
658
4ecab7d4
PB
6592008-06-03 Paul Brook <paul@codesourcery.com>
660
661 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
662
0a903bab
NC
6632008-05-30 Nick Clifton <nickc@redhat.com>
664
665 PR 5523
666 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
667 relocs here.
668
b15591bb
AN
6692008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
670
671 * config/tc-mips.c (mips_cpu_info_table): Move records for
672 ST Loongson-2E/2F processors to a better place.
673
95f283e8
L
6742008-05-23 H.J. Lu <hongjiu.lu@intel.com>
675
676 PR gas/6518
677 * config/tc-i386.c (match_template): Report ambiguous operand
678 size, not invalid suffix when there is no match in Intel
679 syntax.
680
c462b453
PB
6812008-05-22 Paul Brook <paul@codesourcery.com>
682
683 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
684
7fac0536
NC
6852008-05-21 I-Jui Sung <ijsung@gmail.com>
686
687 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
688 compatible cores: fa526, fa626, fa626te, fa726te.
689 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
690 fa726te} options.
691
8944f3c2
AM
6922008-05-14 Alan Modra <amodra@bigpond.net.au>
693
694 * Makefile.am: Run "make dep-am".
695 * Makefile.in: Regenerate.
696 * doc/Makefile.in: Regenerate.
697 * po/POTFILES.in: Regenerate.
698
35903be0
CM
6992008-05-09 Catherine Moore <clm@codesourcery.com>
700
701 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
702 with non-MIPS16 relocs.
703
c41e87e3
CF
7042008-05-09 Chao-ying Fu <fu@mips.com>
705
706 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
707 case that some characters append at the end of the name.
708 (mips_ip): Likewise.
709 (s_change_sec): Likewise.
710 (md_section_align): Likewise.
711
51c8ebc1
BW
7122008-05-07 Bob Wilson <bob.wilson@acm.org>
713
714 * config/tc-xtensa.c (xtensa_create_property_segments): Use
715 xtensa_make_property_section instead of xtensa_get_property_section.
716 (xtensa_create_xproperty_segments): Likewise.
717
f1f8f695
L
7182008-05-02 H.J. Lu <hongjiu.lu@intel.com>
719
720 * NEWS: Mention XSAVE, EPT and MOVBE.
721
722 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
723 (md_show_usage): Add .movbe and .ept.
724
725 * doc/c-i386.texi: Add movbe and ept to -march=. Document
726 .movbe and .ept.
727
2b661f3d
DM
7282008-04-29 David S. Miller <davem@davemloft.net>
729
730 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
731
037b32b9
AN
7322008-04-28 Adam Nemet <anemet@caviumnetworks.com>
733
734 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
735 New statics.
736 (OPTION_ELF_BASE): Make room for new option macros.
737 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
738 OPTION_DOUBLE_FLOAT): New option macros.
739 (md_longopts): Add msoft-float, mhard-float, msingle-float and
740 mdouble-float.
741 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
742 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
743 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
744 and -mdouble-float.
745 (struct mips_set_options): New fields soft_float and single_float.
746 (mips_opts): Initialized them. Add comment for each field
747 initializer.
748 (mips_after_parse_args): Set them based on file_mips_soft_float
749 and file_mips_single_float.
750 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
751 `.set singlefloat' and `.set doublefloat'.
752 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
753 Handle single-float and soft-float instructions here.
754 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
755 (is_opcode_valid_16): New function.
756 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
757 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
758 M_S_DOB>: Remove special-casing of r4650.
759 * doc/c-mips.texi (-march=): Add Octeon.
760 (MIPS Opts): Document -msoft-float and -mhard-float. Document
761 -msingle-float and -mdouble-float.
762 (MIPS floating-point): New section. Document `.set softfloat' and
763 `.set hardfloat'. Document `.set singlefloat' and `.set
764 doublefloat'.
765
f04d18b7
DM
7662008-04-25 David S. Miller <davem@davemloft.net>
767
768 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
769 %asr aliases.
770
771 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
772 rather than occaisionally 'levels'. Consistently refer to Sun's
773 UNIX variant as SunOS, every version of Solaris is also SunOS.
774 Document new 'softint_clear' and 'softint_set' aliases. Clarify
775 which architecture versions support '%dcr', '%cq', and '%gl'. Add
776 section on 32-bit/64-bit opcode translations.
777
fe4fa32c
MF
7782008-04-23 Mike Frysinger <vapier@gentoo.org>
779
780 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
781 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
782 (obj-fdpicelf.o): Define.
783 * Makefile.in: Regenerate.
784 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
785 (bfin-*-*): Delete.
786 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
787 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
788 * config/obj-fdpicelf.c: New.
789 * config/obj-fdpicelf.h: Likewise.
790 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
791 the OBJ_FDPIC_ELF define.
792 (OPTION_NOPIC): Define.
793 (md_longopts): Add mnopic and mno-fdpic.
794 (md_parse_option): Handle OPTION_NOPIC.
795
6194aaab
L
7962008-04-23 Paolo Bonzini <bonzini@gnu.org>
797
798 * aclocal.m4: Regenerate.
799 * configure: Regenerate.
800
1a6b486f
DM
8012008-04-23 David S. Miller <davem@davemloft.net>
802
803 * config/tc-sparc.c (v9a_asr_table): Add missing
804 'stick' and 'stick_cmpr', and document ordering rules
805 of table.
806 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
807 BFD_RELOC_SPARC_PC10.
808 * doc/c-sparc.texi: New section on Sparc constants.
809 Add documentation for %stick and %stick_cmpr.
810
879d3736
NC
8112008-04-22 David S. Miller <davem@davemloft.net>
812
813 * config/obj-elf.c (obj_elf_section_type): Add prototype
814 before obj_elf_section_word and add 'warn' arg.
815 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
816 is matched, try checking for #SECTION_TYPE.
817 (obj_elf_section): Adjust for new args.
818 (obj_elf_type_name): New function.
819 (obj_elf_type): Call it, and accept STT_foo number strings
820 in .type statements as output by SunPRO compiler.
821
81f8a913
L
8222008-04-22 H.J. Lu <hongjiu.lu@intel.com>
823
824 * config/tc-i386.c (md_assemble): Don't check SSE instructions
825 if noavx is 0.
826
c15295d5
DM
8272008-04-18 David S. Miller <davem@davemloft.net>
828
829 * doc/c-sparc.texi: Add syntax section.
830
eff014d9
L
8312008-04-18 H.J. Lu <hongjiu.lu@intel.com>
832
833 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
834 REG and NDS for instructions with immediate operand.
835
dae39acc
L
8362008-04-18 H.J. Lu <hongjiu.lu@intel.com>
837
838 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
839 FMA.
840
739f7f82
DM
8412008-04-16 David S. Miller <davem@davemloft.net>
842
843 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
844 and relocation generation.
845 (tc_gen_reloc): Likewise.
846
52b5ca5b
AS
8472008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
848
849 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
850 relocations are properly aligned, and not negative.
851
a5f245b5
NC
8522008-04-15 Khem Raj <kraj@mvista.com>
853
854 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
855
19a6653c
AM
8562008-04-14 Edmar Wienskoski <edmar@freescale.com>
857
858 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
859 accept e500mc instructions.
860 (md_show_usage): Document -me500mc.
861
d5a35a55
NC
8622008-04-11 Nick Clifton <nickc@redhat.com>
863
864 * listing.c (print_timestamp): Use localtime rather than
865 localtime_r since not all build environments provide the latter.
866
daf50ae7
L
8672008-04-10 H.J. Lu <hongjiu.lu@intel.com>
868
869 * NEWS: Mention -msse-check=[none|error|warning].
870
871 * config/tc-i386.c (sse_check): New.
872 (OPTION_MSSE_CHECK): Likewise.
873 (md_assemble): Check SSE instructions if needed.
874 (md_longopts): Add -msse-check.
875 (md_parse_option): Handle OPTION_MSSE_CHECK.
876 (md_show_usage): Show -msse-check=[none|error|warning].
877
878 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
879