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