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