missing changelog entry
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
570685ad
AM
12008-10-21 Alan Modra <amodra@bigpond.net.au>
2
3 * config/tc-bfin.c (gencode, allocate): Remove unnecessary cast.
4 * config/tc-ns32k.c (bit_fix_new): Likewise.
5 * config/tc-m68k.c (md_begin): Likewise.
6 * hash.c (hash_insert, hash_jam): Likewise.
7 * symbols.c (symbol_create, local_symbol_make): Likewise.
8 * frags.c (frag_alloc): Likewise.
9
8fc4ee9b
AM
102008-10-20 Jay Krell <jay.krell@cornell.edu>
11
12 * config/bfin-parse.y: Use C style comments.
13 * config/tc-bfin.c: Likewise.
14 * config/tc-m68k.c: Likewise.
15 * config/tc-mips.c: Likewise.
16
fbf3f584
L
172008-10-12 H.J. Lu <hongjiu.lu@intel.com>
18
19 * config/tc-i386.c (processor_type): Moved to tc-i386.h.
20 (cpu_arch_tune): Make it global.
21 (cpu_arch_isa): Likewise.
22 (cpu_arch_isa_flags): Likewise.
23 (i386_align_code): Check fragP->tc_frag_data.isa,
24 fragP->tc_frag_data.isa_flags and cpu_arch_tune instead of
25 cpu_arch_isa, cpu_arch_isa_flags and cpu_arch_tune,
26 respectively.
27
28 * config/tc-i386.h (processor_type): Moved from tc-i386.c.
29 (cpu_arch_tune): New.
30 (cpu_arch_isa): Likewise.
31 (cpu_arch_isa_flags): Likewise.
32 (i386_tc_frag_data): Likewise.
33 (TC_FRAG_TYPE): Likewise.
34 (TC_FRAG_INIT): Likewise.
35
ccf8a69b
BW
362008-10-09 Bob Wilson <bob.wilson@acm.org>
37
38 * doc/as.texinfo (Pseudo Ops): Swap order of Comm and CFI menu entries.
39 (Altmacro, Comm, Loc, Loc_mark_labels, List, MRI, PopSection, Sleb128):
40 Moved into alphabetical order.
41
14082c76 422008-10-09 Bob Wilson <bob.wilson@acm.org>
884f0d36
BW
43
44 * doc/as.texinfo (Dot): Expand no-space-dir conditional to include
45 a complete sentence.
46 (Pseudo Ops): Put conditionals around Skip and Space menu entries.
47 (Line): Remove conditional declaration of Ln node and section here.
48 Put aout-bout description inside the no-line-dir conditional.
49 (Skip, Space): Use a separate conditional for each node.
50
512008-10-09 Bob Wilson <bob.wilson@acm.org>
52
14082c76
BW
53 * doc/as.texinfo (Pseudo Ops): Remove no-file-dir conditional around
54 menu entry for File; remove version-specific .file operands from menu
55 description. Replace "LNS directives" menu entry with new entries
56 for "Loc" and "Loc_mark_labels".
57 (LNS directives): Split into separate nodes for each directive.
58 (Loc): New node for .loc directive. Mention that this directive
59 is for DWARF2 and add a missing article.
60 (Loc_mark_labels): Likewise for .loc_mark_labels.
61 (File): Change this node to describe both the default version and
62 the DWARF2 version of .file. Move the no-file-dir conditional to
63 include only the default version.
884f0d36 64
ad5fec3b
EB
652008-10-09 Eric Botcazou <ebotcazou@adacore.com>
66
67 * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
68 * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris.
69 (i386_solaris_fix_up_eh_frame): Declare.
70 * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
71
77cca80f
NC
722008-10-09 Nick Clifton <nickc@redhat.com>
73
74 PR 6944
75 * doc/as.texinfo (Dollar Local Labels): Correct description of
76 dollar local labels to show that the colon suffix is still
77 needed.
78
8cc9115f
NC
792008-10-08 Nick Clifton <nickc@redhat.com>
80
81 * configure.in (ALL_LINGUAS): Add "id".
82 * configure: Regenerate.
83 * po/id.po: New Indonesian translation.
84
97c4f2d9
L
852008-10-07 H.J. Lu <hongjiu.lu@intel.com>
86
87 * read.c (pseudo_set): Don't allow global register symbol only
88 if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined.
89 * symbols.c (S_SET_EXTERNAL): Likewise.
90
91 * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined.
92
93 * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
94
4d4175af
BW
952008-10-06 Bob Wilson <bob.wilson@acm.org>
96
97 * doc/as.texinfo (Local): New description of ELF .local directive.
98
7592cfd7
NC
992008-10-06 Nick Clifton <nickc@redhat.com>
100
101 PR 6926
102 * read.c (get_line_sb): Renamed to get_non_macro_line_sb.
103 (_find_end_of_line): Add extra parameter indicating if the line is
104 inside a macro. If it is then do not allow the @ character to be
105 treated as a line separator character.
106 (read_a_source): Update use of _find_end_of_line.
107 (find_end_of_line): Likewise.
108 (s_irp): Update use of get_line_sb.
109 (s_macro): Likewise.
110 (do_repeat): Likewise.
111 (get_line_sb): New function. Like the old version of get_line_sb
112 except that it takes an extra parameter indicating whether the
113 line is inside a macro.
114 (get_macro_line_sb): New function.
115
cc99daad
HPN
1162008-10-04 Hans-Peter Nilsson <hp@axis.com>
117
118 * config/tc-cris.c: Update all comments regarding explicit relocations
119 to, besides PIC, also imply TLS or to say "relocation specifier" or
120 similar.
121 (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR. Change all callers.
122 (cris_get_reloc_suffix): Rename from cris_get_pic_suffix. Change all
123 callers. Also handle TLS relocs.
124 (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size.
125 Change all callers. Also handle TLS relocs.
126 (tls): New constant.
127 (cris_process_instruction): Check for non-PIC TLS relocations and
128 adjust message when emitting error message about relocation not
129 fitting.
130 (get_autoinc_prefix_or_indir_op): Also check for relocation suffix
131 when tls is true.
132 (get_3op_or_dip_prefix_op): Ditto.
133 (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
134
7e66d8ac
KH
1352008-10-03 Kazu Hirata <kazu@codesourcery.com>
136
137 * listing.c (buffer_line): Open the source file with FOPEN_RB.
138 Manually process line ends.
139
e144674a
NC
1402008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
141 Nick Clifton <nickc@redhat.com>
142
143 * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
144 S_SET_STORAGE_CLASS.
145
1462008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
147 Nick Clifton <nickc@redhat.com>
148
149 * coffgen.c (coff_write_symbols): Check to see if a symbol's flags
150 do not match it class and if necessary update the class.
151 (null_error_handler): New function. Suppresses the generation of
152 bfd error messages.
153 * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
154
782e11fd
AM
1552008-09-30 Alan Modra <amodra@bigpond.net.au>
156
157 * Makefile.am: Run "make dep-am".
158 * Makefile.in: Regenerate.
159
c0cf08ad
AM
1602008-09-29 Nick Clifton <nickc@redhat.com>
161
162 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
163 tc_cfi_emit_pcrel_expr macro.
164
718a6fd8
SE
1652008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
166 Steve Ellcey <sje@cup.hp.com>
167
168 * configure: Regenerate for new libtool.
169 * aclocal.m4: Ditto.
170 * Makefile.in: Ditto.
171 * doc/Makefile.in: Ditto.
172
c0a139c7
NC
1732008-09-29 Nick Clifton <nickc@redhat.com>
174
175 PR 6878
176 * app.c (do_scrub_chars): Only issue warnings about tick
177 characters detected in symbol strings if hex ticks are supported.
178
1792008-09-29 Nick Clifton <nickc@redhat.com>
180
181 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
182 tc_cfi_emit_pcrel_expr macro.
183
4f6d9c90
DJ
1842008-09-28 Daniel Jacobowitz <dan@codesourcery.com>
185
186 * NEWS: Mention .cfi_val_encoded_addr.
187
2774199c
EB
1882008-09-26 Eric Botcazou <ebotcazou@adacore.com>
189
190 * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.
191 * Makefile.in (TARG_ENV_HFILES): Likewise.
192 * configure.tgt (Solaris targets): Set em=solaris.
193 * config/te-solaris.h: New file.
194
37b32935
JZ
1952008-09-26 Jie Zhang <jie.zhang@analog.com>
196
197 * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
198
f1c4cc75
RH
1992008-09-24 Richard Henderson <rth@redhat.com>
200
201 * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
202 (struct cfi_insn_data): Add ea member.
203 (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
204 (output_cfi_insn): Handle CFI_val_encoded_addr.
205 (select_cie_for_fde): Don't match CFI_val_encoded_addr.
206 * doc/as.texinfo (.cfi_val_encoded_addr): Document.
207
ead47374
AM
2082008-09-25 Alan Modra <amodra@bigpond.net.au>
209
210 PR 6913
211 * listing.c (print_options): Don't call fprintf without format string.
212
9a97a5d7
AM
2132008-09-19 Alan Modra <amodra@bigpond.net.au>
214
5db484ff
AM
215 * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
216 (TC_VALIDATE_FIX_SUB): Likewise.
217 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
218 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
219 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
220 * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
221 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
222 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
223 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
224 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
225 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
226
9a97a5d7
AM
227 * write.c (md_register_arithmetic): Define.
228 (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
229 Modify error message when registers involved.
230 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
231 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
232
55f8b826
AM
2332008-09-15 Alan Modra <amodra@bigpond.net.au>
234
235 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
236
455bde50
AM
2372008-09-15 Alan Modra <amodra@bigpond.net.au>
238
239 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
240 relocs with no symbol.
241 * config/tc-mmix.c (md_assemble): Mark fake symbol on
242 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
243 (mmix_md_end): Likewise mark mmix reg contents section symbol.
244
2cf402d6
AM
2452008-09-14 Chris Smith <chris@zxdesign.info>
246
247 * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
248 broken, as the opcode of ld a,(de) was being emitted for both.
249
51add5c3
BW
2502008-09-12 Sterling Augustine <sterling@tensilica.com>
251
252 * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
253 operands equal to MAX_INSN_ARGS.
254
d053aef8
JK
2552008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
256
257 * configure.in: Call AC_SYS_LARGEFILE.
258 * config.in: Regenerate.
259 * configure: Regenerate.
260
a08f0c75
PB
2612008-09-09 Peter Bergner <bergner@vnet.ibm.com>
262
263 * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
264 Remove POWER5 and POWER6 tests.
265
2b489661
DA
2662008-09-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
267
268 * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
269 number support for 32-bit targets.
270
6e33da12
TG
2712008-09-08 Tristan Gingold <gingold@adacore.com>
272
273 * NEWS: Add a marker for the 2.19 features.
274
3dd24306
DA
2752008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
276
ded49c3e
DA
277 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise
278 comment regarding use of difference expressions.
279 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
280
3dd24306
DA
281 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
282 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
283 (dot_cfi_lsda, output_cie, output_fde): Likewise.
284 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
285
a79558d9
RS
2862008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
287
288 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
289
a6c24e68
NC
2902008-09-03 Nick Clifton <nickc@redhat.com>
291
292 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
293 alignment field of the .lcomm directive to be optional.
294 (pe_lcomm): New function. Pass pe_lcomm_internal to
295 s_comm_internal.
296 (md_pseudo_table): Implement .lcomm directive for COFF based
297 targets.
298 * doc/c-i386.texi (i386-Directives): New node. Used to document
299 the .lcomm directive.
300
5ead15d9
DA
3012008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
302
303 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
304 and NetBSD.
305
c879dfc5
NC
3062008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
307
308 * config/tc-avr.c (mcu_types): Add atmega16u4.
309 * doc/c-avr.texi: Likewise.
310
1ca35711
L
3112008-08-28 H.J. Lu <hongjiu.lu@intel.com>
312
313 * config/tc-ia64.c (CR_IIB0): New.
314 (CR_IIB1): Likewise.
315 (cr): Add cr.iib0 and cr.iib1.
316 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
317
fc0763e6
JB
3182008-08-28 Jan Beulich <jbeulich@novell.com>
319
320 * config/tc-i386.c (md_assemble): Force number of displacement
321 operands to zero when processing string instruction.
322 (i386_index_check): Special-case string instruction operands. Don't
323 fudge address prefix if there already was a memory operand. Fix
324 error message to correctly reflect the addressing mode used.
325 (i386_att_operand): Fix comment.
326 (i386_intel_operand): Snapshot, clear, and restore base and index
327 reg for each operand processed. Increment count of memory operands
328 later.
329
6bba1048
DA
3302008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
331
332 * config/tc-hppa.c (is_SB_relative): New macro.
333 (fix_new_hppa): Remove $segrel$ marker.
334 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
335 segment relative.
336 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
337
a87af027
JB
3382008-08-27 Jan Beulich <jbeulich@novell.com>
339
340 * config/tc-i386.c (check_string): Use register_prefix for error
341 message.
342 (process_operands): Likewise.
343
7da4f750
MM
3442008-08-26 Mark Mitchell <mark@codesourcery.com>
345
346 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
347
6429b084
JZ
3482008-08-26 Jie Zhang <jie.zhang@analog.com>
349
350 * config/bfin-parse.y (check_macfunc_option): Fix instruction
351 mode checking.
352 (asm_1): Check mode for 16-bit multiply instructions.
353
da594c4a
AM
3542008-08-24 Alan Modra <amodra@bigpond.net.au>
355
356 * configure.in: Update a number of obsolete autoconf macros.
357 * configure: Regenerate.
358 * aclocal.m4: Regenerate.
359
34857dd6
NC
3602008-08-22 Nick Clifton <nickc@redhat.com>
361
362 * config/tc-mcore.c (md_assemble): Increase length of name array
363 to include terminating NUL.
364
fec82760
JZ
3652008-08-22 Jie Zhang <jie.zhang@analog.com>
366
367 * config/bfin-lex.l (NUMBER): Protect special `.'.
368
73e24c68
AM
3692008-08-22 Alan Modra <amodra@bigpond.net.au>
370
371 * symbols.c (symbol_clone): Ensure clones are not external.
372
4e3b43ed
AM
3732008-08-22 Alan Modra <amodra@bigpond.net.au>
374
375 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
376
8c9b70b1
RH
3772008-08-21 Richard Henderson <rth@redhat.com>
378
379 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
380 (output_cie, output_fde): Use it.
381 (DWARF2_EH_FRAME_READ_ONLY): New.
382 (cfi_finish): Use it.
383
384 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
385 (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
386 (DWARF2_EH_FRAME_READ_ONLY): New.
387 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
388 from the results of DIFF_EXPR_OK manipulation.
389
c22a967f
BW
3902008-08-21 Sterling Augustine <sterling@tensilica.com>
391
392 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
393
28dbbc02
BW
3942008-08-20 Bob Wilson <bob.wilson@acm.org>
395
396 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
397 (O_tpoff, O_dtpoff): Define.
398 (suffix_relocs): Add entries for TLS suffixes.
399 (xtensa_elf_cons): Check for invalid use of TLS relocations.
400 (map_operator_to_reloc): Add is_literal parameter and use it to
401 control translating TLS instruction relocations to the corresponding
402 literal relocations.
403 (xg_valid_literal_expression): Allow TLS operators.
404 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
405 operands to generated literals.
406 (xg_assemble_literal): Handle TLS operators. Update call to
407 map_operator_to_reloc.
408 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
409 (md_apply_fix): Handle TLS relocations.
410 (emit_single_op): Handle TLS operators.
411 (convert_frag_immed): Update call to map_operator_to_reloc.
412 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
413 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
414 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
415 to initialize the op_data field of the BuildOp.
416 (build_transition): Use it here to record the source operand
417 corresponding to a generated literal.
418 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
4e3b43ed 419
41a7d9f3
L
4202008-08-20 H.J. Lu <hongjiu.lu@intel.com>
421
422 AVX Programming Reference (August, 2008)
423 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
424 (CPU_FLAGS_AVX_MATCH): Likewise.
425 (CPU_FLAGS_32BIT_MATCH): Updated.
426 (cpu_flags_match): Likewise.
427
76d12939
AM
4282008-08-20 Alan Modra <amodra@bigpond.net.au>
429
430 PR 6848
431 * write.c (install_reloc): Check that reloc symbols have been
432 written.
433 (set_symtab): Mark symbols with BSF_KEEP.
434
e6a14101
L
4352008-08-18 H.J. Lu <hongjiu.lu@intel.com>
436
437 * config/tc-i386.c (i386_align_code): Fix a comment typo.
438
7357c5b6
AM
4392008-08-15 Alan Modra <amodra@bigpond.net.au>
440
441 PR 6526
442 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
443 * Makefile.in: Regenerate.
444 * aclocal.m4: Regenerate.
445 * config.in: Regenerate.
446 * configure: Regenerate.
447 * doc/Makefile.in: Regenerate.
448
4e96a12e
AM
4492008-08-14 Alan Modra <amodra@bigpond.net.au>
450
451 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
452
9e9a9798
BE
4532008-08-13 Ben Elliston <bje@au.ibm.com>
454
455 * doc/as.texinfo (Align): Document the PowerPC behaviour.
456
5a49b8ac
AM
4572008-08-13 Alan Modra <amodra@bigpond.net.au>
458
459 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
460 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
461 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
462 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
463 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
464 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
465 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
466 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
467 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
468 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
469
db0bc284
AM
4702008-08-12 Alan Modra <amodra@bigpond.net.au>
471
472 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
473 * config/tc-ia64.c (dot_rot): Likewise.
474
818236e5
AM
4752008-08-11 Alan Modra <amodra@bigpond.net.au>
476
477 PR 6575
478 * hash.c: Expand PTR to void *.
479 (hash_delete): Add "freeme" parameter. Call obstack_free.
480 * hash.h: Expand PTR to void *.
481 (hash_delete): Update prototype.
482 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
483 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
484 call.
485 (subsym_substitute): Likewise.
486 * doc/internals.texi (hash_delete): Update.
487
7b21ac3f
EW
4882008-08-08 Anatoly Sokolov <aesok@post.ru>
489
490 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
818236e5
AM
491 architectures. Reorganize list to put mcu types in correct
492 architectures and to order list same as in GCC. Use new ISA
493 definitions in include/opcode/avr.h.
7b21ac3f
EW
494 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
495 descriptions. Reorganize descriptions to put mcu types in correct
496 architectures and to order lists same as in GCC.
497
861fb55a
DJ
4982008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
499 Daniel Jacobowitz <dan@codesourcery.com>
500
501 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
502 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
503 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
504 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
505 (md_longopts): Add -call_nonpic.
506 (md_parse_option): Handle OPTION_CALL_NONPIC.
507 (md_show_usage): Add -call_nonpic.
508
532f93bd 5092008-08-08 Sterling Augustine <sterling@tensilica.com>
818236e5 510
532f93bd
BW
511 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
512 (xtensa_create_property_segments): Use it.
513 (xtensa_create_xproperty_segments): Likewise.
818236e5 514
c3c36456
AM
5152008-08-08 Alan Modra <amodra@bigpond.net.au>
516
517 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
518
738e5348
RS
5192008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
520
521 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
522 (lo16_reloc_p): New functions.
523 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
524 generalize relocation checks.
525 (matching_lo_reloc): New function.
526 (fixup_has_matching_lo_p): Use it.
527 (mips16_mark_labels): Don't clobber a symbol's visibility.
528 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
529 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
530 (md_apply_fix): Likewise.
531 (mips16_percent_op): Add %got and %call16.
532 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
533 Use matching_lo_reloc.
534 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
535 generalize relocation checks.
536 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
537 checks.
538
6fd4f6cc
DD
5392008-08-06 DJ Delorie <dj@redhat.com>
540
541 * NEWS: Mention these changes.
542
543 * config/tc-h8300.h (H_TICK_HEX): Define.
544 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
545 (md_longopts): Add "-h-tick-hex".
546 (md_parse_option): Support it.
547 * doc/c-h8300.texi (H8/300 Options): Document it.
548 * doc/as.texinfo (Overview): Likewise.
818236e5 549
6fd4f6cc
DD
550 * config/tc-sh.h (H_TICK_HEX): Define.
551 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
552 (md_longopts): Add "-h-tick-hex".
553 (md_parse_option): Support it.
554 * doc/c-sh.texi (SH Options): Document it.
555 * doc/c-sh64.texi (SH64 Options): Document it.
556 * doc/as.texinfo (Overview): Likewise.
557
7cadeb2c
AM
5582008-08-05 Alan Modra <amodra@bigpond.net.au>
559
560 PR gas/6656
561 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
562 debug info if we see compiler generated debug info.
563 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
564
413a266c
AM
5652008-08-04 Alan Modra <amodra@bigpond.net.au>
566
567 * dwarf2dbg.c: Remove superfluous forward function declarations.
568 (DWARF2_FORMAT): Add section arg.
569 (out_header): New function, split out from..
570 (out_debug_line): ..here.
571 (out_debug_aranges): Use out_header.
572 (out_debug_abbrev): Add info_seg and line_seg args. Use
573 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
574 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
575 if line_seg is 64-bit.
576 (dwarf2_finish): Adjust out_debug_abbrev call.
577 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
578 * config/tc-mips.c (mips_dwarf2_format): Likewise.
579
323ee3f4
AM
5802008-08-04 Alan Modra <amodra@bigpond.net.au>
581
582 * Makefile.am (POTFILES.in): Set LC_ALL=C.
583 * Makefile.in: Regenerate.
584 * po/POTFILES.in: Regenerate.
585
9b4e5766
PB
5862008-08-01 Peter Bergner <bergner@vnet.ibm.com>
587
588 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
589 Handle -mvsx and -mpower7.
590 (md_show_usage): Document -mpower7 and -mvsx.
591 * doc/as.texinfo (Target PowerPC): Document -mvsx.
592 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
593
38233209
PB
5942008-07-31 Peter Bergner <bergner@vnet.ibm.com>
595
596 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
597 <cell>: Likewise.
598
081ba1b3
AM
5992008-07-30 Michael J. Eager <eager@eagercon.com>
600
601 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
602 (md_show_usage): Likewise.
603
0af1713e
AM
6042008-07-30 Alan Modra <amodra@bigpond.net.au>
605
606 * messages.c, symbols.c, write.c: Silence gcc warnings.
607
2cfe26b6
AM
6082008-07-28 Ineiev <ineiev@yahoo.co.uk>
609
610 * config/tc-i386.c (operand_type_check): Warning fix.
611
3c7b9897
AM
6122008-07-26 Michael Eager <eager@eagercon.com>
613
614 * doc/as.texinfo: Add description of single-precision attribute.
615
81fd73ed
JZ
6162008-07-24 Jie Zhang <jie.zhang@analog.com>
617
618 * config/bfin-parse.y (asm_1): Error if plain symbol is used
619 as load/store offset.
620
570de991
NC
6212008-07-22 Chao-ying Fu <fu@mips.com>
622
623 * config/tc-mips.c (mips_ip): Reset s to argsStart.
624
b4f42c96
JZ
6252008-07-22 Jie Zhang <jie.zhang@analog.com>
626
627 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
628
cc189afc
DD
6292008-07-21 DJ Delorie <dj@redhat.com>
630
631 * config/tc-h8300.c (fix_operand_size): Use the default size
632 specified by the .lbranch/.sbranch pseudos.
633
c54b5932
DD
6342008-07-18 DJ Delorie <dj@redhat.com>
635
636 * config/tc-m32c.h (H_TICK_HEX): Define.
637 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
638 (md_longopts): Add support for it.
639 (md_parse_option): Likewise.
640 * doc/as.texinfo (Overview): Add new m32c options.
641 * doc/c-m32c.texi (M32C-Modifiers): Likewise
642
643 * as.h: (enable_h_tick_hex): New.
644 * app.c (enable_h_tick_hex): New.
645 (LEX_IS_H): New.
646 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
647 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
648 style hex constants and convert the input stream to 0x00 style.
649 (do_scrub_chars): If a 'X style character constant is found after
650 a symbol character (like you're or X'00), warn the user.
651
30c09090
RS
6522008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
653
654 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
655 (mips_fix_adjustable): Likewise.
656 (mips_frob_file_after_relocs): Likewise.
657
bfbba8e4
NS
6582008-07-08 Nathan Sidwell <nathan@codesourcery.com>
659
660 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
661 about overriding an earlier setting.
662
b19e8a9b
AN
6632008-07-07 Adam Nemet <anemet@caviumnetworks.com>
664
665 * config/tc-mips.c (NO_ISA_COP): New macro.
666 (COP_INSN): New macro.
667 (is_opcode_valid): Use them.
668 (macro) <ld_st>: Use them. Don't accept coprocessor load store
669 insns based on the ISA if CPU is NO_ISA_COP.
670 <copz>: Likewise for coprocessor operations.
671
79947c54
CD
6722008-07-07 Paul Brook <paul@codesourcery.com>
673
674 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
2cfe26b6 675 relocations.
79947c54 676
9990da1d
NC
6772008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
678
679 * configure.tgt: Add bfin-*-rtems*.
680
d62f07d0
AM
6812008-07-04 Alan Modra <amodra@bigpond.net.au>
682
683 * config/tc-spu.c (md_apply_fix): Handle fully resolved
684 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
685
c8187e15
PB
6862008-06-25 Peter Bergner <bergner@vnet.ibm.com>
687
688 * config/tc-ppc.c (parse_cpu): Handle -m464.
689 (md_show_usage): Likewise.
690
3bb06f78
EW
6912008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
692
693 Add support for ATtiny13A.
694 * config/tc-avr.c (mcu_types): Add attiny13a.
695 * doc/c-avr.texi: Likewise.
696
6afe8e98
AM
6972008-06-24 Bob Wilson <bob.wilson@acm.org>
698 Alan Modra <amodra@bigpond.net.au>
699
700 * write.c (relax_segment <rs_org>): Include current stretch
701 value when calculating whether .org is backwards.
702
7a283e07
RW
7032008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
704
705 * configure: Regenerate.
706
0146fc9d
NC
7072008-06-17 Nick Clifton <nickc@redhat.com>
708
709 * app.c (do_scrub_chars): Do not UNGET an EOF value.
710
1afc8def
HPN
7112008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
712
713 PR gas/6607
714 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
715 text_section. Do the "stepping backwards" test for text_section
716 using unsigned operands.
717
fa452fa6
PB
7182008-06-13 Peter Bergner <bergner@vnet.ibm.com>
719
720 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
721 (ppc_insert_operand): Likewise.
722 (ppc_machine): Likewise.
723 * config/tc-ppc.h: #include "opcode/ppc.h"
724 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
725 (ppc_cpu): Update extern decl.
726
bb35fb24
NC
7272008-06-12 Adam Nemet <anemet@caviumnetworks.com>
728
729 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
730 +x, +X, +p, +P, +s, +S.
731 (mips_ip): Likewise.
732
dd3cbb7e
NC
733 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
734 (mips_ip): Likewise.
735 (macro_build): Likewise.
736 (CPU_HAS_SEQ): New macro.
737 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
738
e8568f6c
EW
7392008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
740
741 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
742 * doc/c-avr.texi: Likewise.
743
83bd7402
NC
7442008-06-04 Nick Clifton <nickc@redhat.com>
745
746 * app.c (do_scrub_chars): Do not UNGET an EOF value.
747
cb19c032
L
7482008-06-03 H.J. Lu <hongjiu.lu@intel.com>
749
750 * config/tc-i386.c (set_sse_check): New.
751 (md_pseudo_table): Add "sse_check".
752
4ecab7d4
PB
7532008-06-03 Paul Brook <paul@codesourcery.com>
754
755 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
756
0a903bab
NC
7572008-05-30 Nick Clifton <nickc@redhat.com>
758
759 PR 5523
760 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
761 relocs here.
762
b15591bb
AN
7632008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
764
765 * config/tc-mips.c (mips_cpu_info_table): Move records for
766 ST Loongson-2E/2F processors to a better place.
767
95f283e8
L
7682008-05-23 H.J. Lu <hongjiu.lu@intel.com>
769
770 PR gas/6518
771 * config/tc-i386.c (match_template): Report ambiguous operand
772 size, not invalid suffix when there is no match in Intel
773 syntax.
774
c462b453
PB
7752008-05-22 Paul Brook <paul@codesourcery.com>
776
777 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
778
7fac0536
NC
7792008-05-21 I-Jui Sung <ijsung@gmail.com>
780
781 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
782 compatible cores: fa526, fa626, fa626te, fa726te.
783 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
784 fa726te} options.
785
8944f3c2
AM
7862008-05-14 Alan Modra <amodra@bigpond.net.au>
787
788 * Makefile.am: Run "make dep-am".
789 * Makefile.in: Regenerate.
790 * doc/Makefile.in: Regenerate.
791 * po/POTFILES.in: Regenerate.
792
35903be0
CM
7932008-05-09 Catherine Moore <clm@codesourcery.com>
794
795 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
796 with non-MIPS16 relocs.
797
c41e87e3
CF
7982008-05-09 Chao-ying Fu <fu@mips.com>
799
800 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
801 case that some characters append at the end of the name.
802 (mips_ip): Likewise.
803 (s_change_sec): Likewise.
804 (md_section_align): Likewise.
805
51c8ebc1
BW
8062008-05-07 Bob Wilson <bob.wilson@acm.org>
807
808 * config/tc-xtensa.c (xtensa_create_property_segments): Use
809 xtensa_make_property_section instead of xtensa_get_property_section.
810 (xtensa_create_xproperty_segments): Likewise.
811
f1f8f695
L
8122008-05-02 H.J. Lu <hongjiu.lu@intel.com>
813
814 * NEWS: Mention XSAVE, EPT and MOVBE.
815
816 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
817 (md_show_usage): Add .movbe and .ept.
818
819 * doc/c-i386.texi: Add movbe and ept to -march=. Document
820 .movbe and .ept.
821
2b661f3d
DM
8222008-04-29 David S. Miller <davem@davemloft.net>
823
824 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
825
037b32b9
AN
8262008-04-28 Adam Nemet <anemet@caviumnetworks.com>
827
828 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
829 New statics.
830 (OPTION_ELF_BASE): Make room for new option macros.
831 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
832 OPTION_DOUBLE_FLOAT): New option macros.
833 (md_longopts): Add msoft-float, mhard-float, msingle-float and
834 mdouble-float.
835 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
836 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
837 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
838 and -mdouble-float.
839 (struct mips_set_options): New fields soft_float and single_float.
840 (mips_opts): Initialized them. Add comment for each field
841 initializer.
842 (mips_after_parse_args): Set them based on file_mips_soft_float
843 and file_mips_single_float.
844 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
845 `.set singlefloat' and `.set doublefloat'.
846 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
847 Handle single-float and soft-float instructions here.
848 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
849 (is_opcode_valid_16): New function.
850 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
851 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
852 M_S_DOB>: Remove special-casing of r4650.
853 * doc/c-mips.texi (-march=): Add Octeon.
854 (MIPS Opts): Document -msoft-float and -mhard-float. Document
855 -msingle-float and -mdouble-float.
856 (MIPS floating-point): New section. Document `.set softfloat' and
857 `.set hardfloat'. Document `.set singlefloat' and `.set
858 doublefloat'.
859
f04d18b7
DM
8602008-04-25 David S. Miller <davem@davemloft.net>
861
862 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
863 %asr aliases.
864
865 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
866 rather than occaisionally 'levels'. Consistently refer to Sun's
867 UNIX variant as SunOS, every version of Solaris is also SunOS.
868 Document new 'softint_clear' and 'softint_set' aliases. Clarify
869 which architecture versions support '%dcr', '%cq', and '%gl'. Add
870 section on 32-bit/64-bit opcode translations.
871
fe4fa32c
MF
8722008-04-23 Mike Frysinger <vapier@gentoo.org>
873
874 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
875 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
876 (obj-fdpicelf.o): Define.
877 * Makefile.in: Regenerate.
878 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
879 (bfin-*-*): Delete.
880 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
881 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
882 * config/obj-fdpicelf.c: New.
883 * config/obj-fdpicelf.h: Likewise.
884 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
885 the OBJ_FDPIC_ELF define.
886 (OPTION_NOPIC): Define.
887 (md_longopts): Add mnopic and mno-fdpic.
888 (md_parse_option): Handle OPTION_NOPIC.
889
6194aaab
L
8902008-04-23 Paolo Bonzini <bonzini@gnu.org>
891
892 * aclocal.m4: Regenerate.
893 * configure: Regenerate.
894
1a6b486f
DM
8952008-04-23 David S. Miller <davem@davemloft.net>
896
897 * config/tc-sparc.c (v9a_asr_table): Add missing
898 'stick' and 'stick_cmpr', and document ordering rules
899 of table.
900 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
901 BFD_RELOC_SPARC_PC10.
902 * doc/c-sparc.texi: New section on Sparc constants.
903 Add documentation for %stick and %stick_cmpr.
904
879d3736
NC
9052008-04-22 David S. Miller <davem@davemloft.net>
906
907 * config/obj-elf.c (obj_elf_section_type): Add prototype
908 before obj_elf_section_word and add 'warn' arg.
909 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
910 is matched, try checking for #SECTION_TYPE.
911 (obj_elf_section): Adjust for new args.
912 (obj_elf_type_name): New function.
913 (obj_elf_type): Call it, and accept STT_foo number strings
914 in .type statements as output by SunPRO compiler.
915
81f8a913
L
9162008-04-22 H.J. Lu <hongjiu.lu@intel.com>
917
918 * config/tc-i386.c (md_assemble): Don't check SSE instructions
919 if noavx is 0.
920
c15295d5
DM
9212008-04-18 David S. Miller <davem@davemloft.net>
922
923 * doc/c-sparc.texi: Add syntax section.
924
eff014d9
L
9252008-04-18 H.J. Lu <hongjiu.lu@intel.com>
926
927 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
928 REG and NDS for instructions with immediate operand.
929
dae39acc
L
9302008-04-18 H.J. Lu <hongjiu.lu@intel.com>
931
932 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
933 FMA.
934
739f7f82
DM
9352008-04-16 David S. Miller <davem@davemloft.net>
936
937 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
938 and relocation generation.
939 (tc_gen_reloc): Likewise.
940
52b5ca5b
AS
9412008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
942
943 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
944 relocations are properly aligned, and not negative.
945
a5f245b5
NC
9462008-04-15 Khem Raj <kraj@mvista.com>
947
948 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
949
19a6653c
AM
9502008-04-14 Edmar Wienskoski <edmar@freescale.com>
951
952 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
953 accept e500mc instructions.
954 (md_show_usage): Document -me500mc.
955
d5a35a55
NC
9562008-04-11 Nick Clifton <nickc@redhat.com>
957
958 * listing.c (print_timestamp): Use localtime rather than
959 localtime_r since not all build environments provide the latter.
960
daf50ae7
L
9612008-04-10 H.J. Lu <hongjiu.lu@intel.com>
962
963 * NEWS: Mention -msse-check=[none|error|warning].
964
965 * config/tc-i386.c (sse_check): New.
966 (OPTION_MSSE_CHECK): Likewise.
967 (md_assemble): Check SSE instructions if needed.
968 (md_longopts): Add -msse-check.
969 (md_parse_option): Handle OPTION_MSSE_CHECK.
970 (md_show_usage): Show -msse-check=[none|error|warning].
971
972 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
973