*** empty log message ***
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
f1c4cc75
RH
12008-09-24 Richard Henderson <rth@redhat.com>
2
3 * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
4 (struct cfi_insn_data): Add ea member.
5 (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
6 (output_cfi_insn): Handle CFI_val_encoded_addr.
7 (select_cie_for_fde): Don't match CFI_val_encoded_addr.
8 * doc/as.texinfo (.cfi_val_encoded_addr): Document.
9
ead47374
AM
102008-09-25 Alan Modra <amodra@bigpond.net.au>
11
12 PR 6913
13 * listing.c (print_options): Don't call fprintf without format string.
14
9a97a5d7
AM
152008-09-19 Alan Modra <amodra@bigpond.net.au>
16
5db484ff
AM
17 * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
18 (TC_VALIDATE_FIX_SUB): Likewise.
19 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
20 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
21 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
22 * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
23 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
24 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
25 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
26 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
27 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
28
9a97a5d7
AM
29 * write.c (md_register_arithmetic): Define.
30 (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
31 Modify error message when registers involved.
32 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
33 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
34
55f8b826
AM
352008-09-15 Alan Modra <amodra@bigpond.net.au>
36
37 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
38
455bde50
AM
392008-09-15 Alan Modra <amodra@bigpond.net.au>
40
41 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
42 relocs with no symbol.
43 * config/tc-mmix.c (md_assemble): Mark fake symbol on
44 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
45 (mmix_md_end): Likewise mark mmix reg contents section symbol.
46
2cf402d6
AM
472008-09-14 Chris Smith <chris@zxdesign.info>
48
49 * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
50 broken, as the opcode of ld a,(de) was being emitted for both.
51
51add5c3
BW
522008-09-12 Sterling Augustine <sterling@tensilica.com>
53
54 * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
55 operands equal to MAX_INSN_ARGS.
56
d053aef8
JK
572008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
58
59 * configure.in: Call AC_SYS_LARGEFILE.
60 * config.in: Regenerate.
61 * configure: Regenerate.
62
a08f0c75
PB
632008-09-09 Peter Bergner <bergner@vnet.ibm.com>
64
65 * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
66 Remove POWER5 and POWER6 tests.
67
2b489661
DA
682008-09-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
69
70 * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
71 number support for 32-bit targets.
72
6e33da12
TG
732008-09-08 Tristan Gingold <gingold@adacore.com>
74
75 * NEWS: Add a marker for the 2.19 features.
76
3dd24306
DA
772008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
78
ded49c3e
DA
79 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise
80 comment regarding use of difference expressions.
81 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
82
3dd24306
DA
83 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
84 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
85 (dot_cfi_lsda, output_cie, output_fde): Likewise.
86 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
87
a79558d9
RS
882008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
89
90 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
91
a6c24e68
NC
922008-09-03 Nick Clifton <nickc@redhat.com>
93
94 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
95 alignment field of the .lcomm directive to be optional.
96 (pe_lcomm): New function. Pass pe_lcomm_internal to
97 s_comm_internal.
98 (md_pseudo_table): Implement .lcomm directive for COFF based
99 targets.
100 * doc/c-i386.texi (i386-Directives): New node. Used to document
101 the .lcomm directive.
102
5ead15d9
DA
1032008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
104
105 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
106 and NetBSD.
107
c879dfc5
NC
1082008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
109
110 * config/tc-avr.c (mcu_types): Add atmega16u4.
111 * doc/c-avr.texi: Likewise.
112
1ca35711
L
1132008-08-28 H.J. Lu <hongjiu.lu@intel.com>
114
115 * config/tc-ia64.c (CR_IIB0): New.
116 (CR_IIB1): Likewise.
117 (cr): Add cr.iib0 and cr.iib1.
118 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
119
fc0763e6
JB
1202008-08-28 Jan Beulich <jbeulich@novell.com>
121
122 * config/tc-i386.c (md_assemble): Force number of displacement
123 operands to zero when processing string instruction.
124 (i386_index_check): Special-case string instruction operands. Don't
125 fudge address prefix if there already was a memory operand. Fix
126 error message to correctly reflect the addressing mode used.
127 (i386_att_operand): Fix comment.
128 (i386_intel_operand): Snapshot, clear, and restore base and index
129 reg for each operand processed. Increment count of memory operands
130 later.
131
6bba1048
DA
1322008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
133
134 * config/tc-hppa.c (is_SB_relative): New macro.
135 (fix_new_hppa): Remove $segrel$ marker.
136 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
137 segment relative.
138 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
139
a87af027
JB
1402008-08-27 Jan Beulich <jbeulich@novell.com>
141
142 * config/tc-i386.c (check_string): Use register_prefix for error
143 message.
144 (process_operands): Likewise.
145
7da4f750
MM
1462008-08-26 Mark Mitchell <mark@codesourcery.com>
147
148 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
149
6429b084
JZ
1502008-08-26 Jie Zhang <jie.zhang@analog.com>
151
152 * config/bfin-parse.y (check_macfunc_option): Fix instruction
153 mode checking.
154 (asm_1): Check mode for 16-bit multiply instructions.
155
da594c4a
AM
1562008-08-24 Alan Modra <amodra@bigpond.net.au>
157
158 * configure.in: Update a number of obsolete autoconf macros.
159 * configure: Regenerate.
160 * aclocal.m4: Regenerate.
161
34857dd6
NC
1622008-08-22 Nick Clifton <nickc@redhat.com>
163
164 * config/tc-mcore.c (md_assemble): Increase length of name array
165 to include terminating NUL.
166
fec82760
JZ
1672008-08-22 Jie Zhang <jie.zhang@analog.com>
168
169 * config/bfin-lex.l (NUMBER): Protect special `.'.
170
73e24c68
AM
1712008-08-22 Alan Modra <amodra@bigpond.net.au>
172
173 * symbols.c (symbol_clone): Ensure clones are not external.
174
4e3b43ed
AM
1752008-08-22 Alan Modra <amodra@bigpond.net.au>
176
177 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
178
8c9b70b1
RH
1792008-08-21 Richard Henderson <rth@redhat.com>
180
181 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
182 (output_cie, output_fde): Use it.
183 (DWARF2_EH_FRAME_READ_ONLY): New.
184 (cfi_finish): Use it.
185
186 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
187 (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
188 (DWARF2_EH_FRAME_READ_ONLY): New.
189 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
190 from the results of DIFF_EXPR_OK manipulation.
191
c22a967f
BW
1922008-08-21 Sterling Augustine <sterling@tensilica.com>
193
194 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
195
28dbbc02
BW
1962008-08-20 Bob Wilson <bob.wilson@acm.org>
197
198 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
199 (O_tpoff, O_dtpoff): Define.
200 (suffix_relocs): Add entries for TLS suffixes.
201 (xtensa_elf_cons): Check for invalid use of TLS relocations.
202 (map_operator_to_reloc): Add is_literal parameter and use it to
203 control translating TLS instruction relocations to the corresponding
204 literal relocations.
205 (xg_valid_literal_expression): Allow TLS operators.
206 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
207 operands to generated literals.
208 (xg_assemble_literal): Handle TLS operators. Update call to
209 map_operator_to_reloc.
210 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
211 (md_apply_fix): Handle TLS relocations.
212 (emit_single_op): Handle TLS operators.
213 (convert_frag_immed): Update call to map_operator_to_reloc.
214 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
215 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
216 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
217 to initialize the op_data field of the BuildOp.
218 (build_transition): Use it here to record the source operand
219 corresponding to a generated literal.
220 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
4e3b43ed 221
41a7d9f3
L
2222008-08-20 H.J. Lu <hongjiu.lu@intel.com>
223
224 AVX Programming Reference (August, 2008)
225 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
226 (CPU_FLAGS_AVX_MATCH): Likewise.
227 (CPU_FLAGS_32BIT_MATCH): Updated.
228 (cpu_flags_match): Likewise.
229
76d12939
AM
2302008-08-20 Alan Modra <amodra@bigpond.net.au>
231
232 PR 6848
233 * write.c (install_reloc): Check that reloc symbols have been
234 written.
235 (set_symtab): Mark symbols with BSF_KEEP.
236
e6a14101
L
2372008-08-18 H.J. Lu <hongjiu.lu@intel.com>
238
239 * config/tc-i386.c (i386_align_code): Fix a comment typo.
240
7357c5b6
AM
2412008-08-15 Alan Modra <amodra@bigpond.net.au>
242
243 PR 6526
244 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
245 * Makefile.in: Regenerate.
246 * aclocal.m4: Regenerate.
247 * config.in: Regenerate.
248 * configure: Regenerate.
249 * doc/Makefile.in: Regenerate.
250
4e96a12e
AM
2512008-08-14 Alan Modra <amodra@bigpond.net.au>
252
253 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
254
9e9a9798
BE
2552008-08-13 Ben Elliston <bje@au.ibm.com>
256
257 * doc/as.texinfo (Align): Document the PowerPC behaviour.
258
5a49b8ac
AM
2592008-08-13 Alan Modra <amodra@bigpond.net.au>
260
261 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
262 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
263 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
264 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
265 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
266 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
267 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
268 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
269 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
270 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
271
db0bc284
AM
2722008-08-12 Alan Modra <amodra@bigpond.net.au>
273
274 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
275 * config/tc-ia64.c (dot_rot): Likewise.
276
818236e5
AM
2772008-08-11 Alan Modra <amodra@bigpond.net.au>
278
279 PR 6575
280 * hash.c: Expand PTR to void *.
281 (hash_delete): Add "freeme" parameter. Call obstack_free.
282 * hash.h: Expand PTR to void *.
283 (hash_delete): Update prototype.
284 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
285 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
286 call.
287 (subsym_substitute): Likewise.
288 * doc/internals.texi (hash_delete): Update.
289
7b21ac3f
EW
2902008-08-08 Anatoly Sokolov <aesok@post.ru>
291
292 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
818236e5
AM
293 architectures. Reorganize list to put mcu types in correct
294 architectures and to order list same as in GCC. Use new ISA
295 definitions in include/opcode/avr.h.
7b21ac3f
EW
296 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
297 descriptions. Reorganize descriptions to put mcu types in correct
298 architectures and to order lists same as in GCC.
299
861fb55a
DJ
3002008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
301 Daniel Jacobowitz <dan@codesourcery.com>
302
303 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
304 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
305 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
306 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
307 (md_longopts): Add -call_nonpic.
308 (md_parse_option): Handle OPTION_CALL_NONPIC.
309 (md_show_usage): Add -call_nonpic.
310
532f93bd 3112008-08-08 Sterling Augustine <sterling@tensilica.com>
818236e5 312
532f93bd
BW
313 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
314 (xtensa_create_property_segments): Use it.
315 (xtensa_create_xproperty_segments): Likewise.
818236e5 316
c3c36456
AM
3172008-08-08 Alan Modra <amodra@bigpond.net.au>
318
319 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
320
738e5348
RS
3212008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
322
323 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
324 (lo16_reloc_p): New functions.
325 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
326 generalize relocation checks.
327 (matching_lo_reloc): New function.
328 (fixup_has_matching_lo_p): Use it.
329 (mips16_mark_labels): Don't clobber a symbol's visibility.
330 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
331 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
332 (md_apply_fix): Likewise.
333 (mips16_percent_op): Add %got and %call16.
334 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
335 Use matching_lo_reloc.
336 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
337 generalize relocation checks.
338 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
339 checks.
340
6fd4f6cc
DD
3412008-08-06 DJ Delorie <dj@redhat.com>
342
343 * NEWS: Mention these changes.
344
345 * config/tc-h8300.h (H_TICK_HEX): Define.
346 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
347 (md_longopts): Add "-h-tick-hex".
348 (md_parse_option): Support it.
349 * doc/c-h8300.texi (H8/300 Options): Document it.
350 * doc/as.texinfo (Overview): Likewise.
818236e5 351
6fd4f6cc
DD
352 * config/tc-sh.h (H_TICK_HEX): Define.
353 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
354 (md_longopts): Add "-h-tick-hex".
355 (md_parse_option): Support it.
356 * doc/c-sh.texi (SH Options): Document it.
357 * doc/c-sh64.texi (SH64 Options): Document it.
358 * doc/as.texinfo (Overview): Likewise.
359
7cadeb2c
AM
3602008-08-05 Alan Modra <amodra@bigpond.net.au>
361
362 PR gas/6656
363 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
364 debug info if we see compiler generated debug info.
365 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
366
413a266c
AM
3672008-08-04 Alan Modra <amodra@bigpond.net.au>
368
369 * dwarf2dbg.c: Remove superfluous forward function declarations.
370 (DWARF2_FORMAT): Add section arg.
371 (out_header): New function, split out from..
372 (out_debug_line): ..here.
373 (out_debug_aranges): Use out_header.
374 (out_debug_abbrev): Add info_seg and line_seg args. Use
375 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
376 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
377 if line_seg is 64-bit.
378 (dwarf2_finish): Adjust out_debug_abbrev call.
379 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
380 * config/tc-mips.c (mips_dwarf2_format): Likewise.
381
323ee3f4
AM
3822008-08-04 Alan Modra <amodra@bigpond.net.au>
383
384 * Makefile.am (POTFILES.in): Set LC_ALL=C.
385 * Makefile.in: Regenerate.
386 * po/POTFILES.in: Regenerate.
387
9b4e5766
PB
3882008-08-01 Peter Bergner <bergner@vnet.ibm.com>
389
390 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
391 Handle -mvsx and -mpower7.
392 (md_show_usage): Document -mpower7 and -mvsx.
393 * doc/as.texinfo (Target PowerPC): Document -mvsx.
394 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
395
38233209
PB
3962008-07-31 Peter Bergner <bergner@vnet.ibm.com>
397
398 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
399 <cell>: Likewise.
400
081ba1b3
AM
4012008-07-30 Michael J. Eager <eager@eagercon.com>
402
403 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
404 (md_show_usage): Likewise.
405
0af1713e
AM
4062008-07-30 Alan Modra <amodra@bigpond.net.au>
407
408 * messages.c, symbols.c, write.c: Silence gcc warnings.
409
2cfe26b6
AM
4102008-07-28 Ineiev <ineiev@yahoo.co.uk>
411
412 * config/tc-i386.c (operand_type_check): Warning fix.
413
3c7b9897
AM
4142008-07-26 Michael Eager <eager@eagercon.com>
415
416 * doc/as.texinfo: Add description of single-precision attribute.
417
81fd73ed
JZ
4182008-07-24 Jie Zhang <jie.zhang@analog.com>
419
420 * config/bfin-parse.y (asm_1): Error if plain symbol is used
421 as load/store offset.
422
570de991
NC
4232008-07-22 Chao-ying Fu <fu@mips.com>
424
425 * config/tc-mips.c (mips_ip): Reset s to argsStart.
426
b4f42c96
JZ
4272008-07-22 Jie Zhang <jie.zhang@analog.com>
428
429 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
430
cc189afc
DD
4312008-07-21 DJ Delorie <dj@redhat.com>
432
433 * config/tc-h8300.c (fix_operand_size): Use the default size
434 specified by the .lbranch/.sbranch pseudos.
435
c54b5932
DD
4362008-07-18 DJ Delorie <dj@redhat.com>
437
438 * config/tc-m32c.h (H_TICK_HEX): Define.
439 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
440 (md_longopts): Add support for it.
441 (md_parse_option): Likewise.
442 * doc/as.texinfo (Overview): Add new m32c options.
443 * doc/c-m32c.texi (M32C-Modifiers): Likewise
444
445 * as.h: (enable_h_tick_hex): New.
446 * app.c (enable_h_tick_hex): New.
447 (LEX_IS_H): New.
448 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
449 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
450 style hex constants and convert the input stream to 0x00 style.
451 (do_scrub_chars): If a 'X style character constant is found after
452 a symbol character (like you're or X'00), warn the user.
453
30c09090
RS
4542008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
455
456 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
457 (mips_fix_adjustable): Likewise.
458 (mips_frob_file_after_relocs): Likewise.
459
bfbba8e4
NS
4602008-07-08 Nathan Sidwell <nathan@codesourcery.com>
461
462 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
463 about overriding an earlier setting.
464
b19e8a9b
AN
4652008-07-07 Adam Nemet <anemet@caviumnetworks.com>
466
467 * config/tc-mips.c (NO_ISA_COP): New macro.
468 (COP_INSN): New macro.
469 (is_opcode_valid): Use them.
470 (macro) <ld_st>: Use them. Don't accept coprocessor load store
471 insns based on the ISA if CPU is NO_ISA_COP.
472 <copz>: Likewise for coprocessor operations.
473
79947c54
CD
4742008-07-07 Paul Brook <paul@codesourcery.com>
475
476 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
2cfe26b6 477 relocations.
79947c54 478
9990da1d
NC
4792008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
480
481 * configure.tgt: Add bfin-*-rtems*.
482
d62f07d0
AM
4832008-07-04 Alan Modra <amodra@bigpond.net.au>
484
485 * config/tc-spu.c (md_apply_fix): Handle fully resolved
486 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
487
c8187e15
PB
4882008-06-25 Peter Bergner <bergner@vnet.ibm.com>
489
490 * config/tc-ppc.c (parse_cpu): Handle -m464.
491 (md_show_usage): Likewise.
492
3bb06f78
EW
4932008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
494
495 Add support for ATtiny13A.
496 * config/tc-avr.c (mcu_types): Add attiny13a.
497 * doc/c-avr.texi: Likewise.
498
6afe8e98
AM
4992008-06-24 Bob Wilson <bob.wilson@acm.org>
500 Alan Modra <amodra@bigpond.net.au>
501
502 * write.c (relax_segment <rs_org>): Include current stretch
503 value when calculating whether .org is backwards.
504
7a283e07
RW
5052008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
506
507 * configure: Regenerate.
508
0146fc9d
NC
5092008-06-17 Nick Clifton <nickc@redhat.com>
510
511 * app.c (do_scrub_chars): Do not UNGET an EOF value.
512
1afc8def
HPN
5132008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
514
515 PR gas/6607
516 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
517 text_section. Do the "stepping backwards" test for text_section
518 using unsigned operands.
519
fa452fa6
PB
5202008-06-13 Peter Bergner <bergner@vnet.ibm.com>
521
522 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
523 (ppc_insert_operand): Likewise.
524 (ppc_machine): Likewise.
525 * config/tc-ppc.h: #include "opcode/ppc.h"
526 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
527 (ppc_cpu): Update extern decl.
528
bb35fb24
NC
5292008-06-12 Adam Nemet <anemet@caviumnetworks.com>
530
531 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
532 +x, +X, +p, +P, +s, +S.
533 (mips_ip): Likewise.
534
dd3cbb7e
NC
535 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
536 (mips_ip): Likewise.
537 (macro_build): Likewise.
538 (CPU_HAS_SEQ): New macro.
539 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
540
e8568f6c
EW
5412008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
542
543 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
544 * doc/c-avr.texi: Likewise.
545
83bd7402
NC
5462008-06-04 Nick Clifton <nickc@redhat.com>
547
548 * app.c (do_scrub_chars): Do not UNGET an EOF value.
549
cb19c032
L
5502008-06-03 H.J. Lu <hongjiu.lu@intel.com>
551
552 * config/tc-i386.c (set_sse_check): New.
553 (md_pseudo_table): Add "sse_check".
554
4ecab7d4
PB
5552008-06-03 Paul Brook <paul@codesourcery.com>
556
557 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
558
0a903bab
NC
5592008-05-30 Nick Clifton <nickc@redhat.com>
560
561 PR 5523
562 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
563 relocs here.
564
b15591bb
AN
5652008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
566
567 * config/tc-mips.c (mips_cpu_info_table): Move records for
568 ST Loongson-2E/2F processors to a better place.
569
95f283e8
L
5702008-05-23 H.J. Lu <hongjiu.lu@intel.com>
571
572 PR gas/6518
573 * config/tc-i386.c (match_template): Report ambiguous operand
574 size, not invalid suffix when there is no match in Intel
575 syntax.
576
c462b453
PB
5772008-05-22 Paul Brook <paul@codesourcery.com>
578
579 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
580
7fac0536
NC
5812008-05-21 I-Jui Sung <ijsung@gmail.com>
582
583 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
584 compatible cores: fa526, fa626, fa626te, fa726te.
585 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
586 fa726te} options.
587
8944f3c2
AM
5882008-05-14 Alan Modra <amodra@bigpond.net.au>
589
590 * Makefile.am: Run "make dep-am".
591 * Makefile.in: Regenerate.
592 * doc/Makefile.in: Regenerate.
593 * po/POTFILES.in: Regenerate.
594
35903be0
CM
5952008-05-09 Catherine Moore <clm@codesourcery.com>
596
597 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
598 with non-MIPS16 relocs.
599
c41e87e3
CF
6002008-05-09 Chao-ying Fu <fu@mips.com>
601
602 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
603 case that some characters append at the end of the name.
604 (mips_ip): Likewise.
605 (s_change_sec): Likewise.
606 (md_section_align): Likewise.
607
51c8ebc1
BW
6082008-05-07 Bob Wilson <bob.wilson@acm.org>
609
610 * config/tc-xtensa.c (xtensa_create_property_segments): Use
611 xtensa_make_property_section instead of xtensa_get_property_section.
612 (xtensa_create_xproperty_segments): Likewise.
613
f1f8f695
L
6142008-05-02 H.J. Lu <hongjiu.lu@intel.com>
615
616 * NEWS: Mention XSAVE, EPT and MOVBE.
617
618 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
619 (md_show_usage): Add .movbe and .ept.
620
621 * doc/c-i386.texi: Add movbe and ept to -march=. Document
622 .movbe and .ept.
623
2b661f3d
DM
6242008-04-29 David S. Miller <davem@davemloft.net>
625
626 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
627
037b32b9
AN
6282008-04-28 Adam Nemet <anemet@caviumnetworks.com>
629
630 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
631 New statics.
632 (OPTION_ELF_BASE): Make room for new option macros.
633 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
634 OPTION_DOUBLE_FLOAT): New option macros.
635 (md_longopts): Add msoft-float, mhard-float, msingle-float and
636 mdouble-float.
637 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
638 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
639 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
640 and -mdouble-float.
641 (struct mips_set_options): New fields soft_float and single_float.
642 (mips_opts): Initialized them. Add comment for each field
643 initializer.
644 (mips_after_parse_args): Set them based on file_mips_soft_float
645 and file_mips_single_float.
646 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
647 `.set singlefloat' and `.set doublefloat'.
648 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
649 Handle single-float and soft-float instructions here.
650 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
651 (is_opcode_valid_16): New function.
652 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
653 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
654 M_S_DOB>: Remove special-casing of r4650.
655 * doc/c-mips.texi (-march=): Add Octeon.
656 (MIPS Opts): Document -msoft-float and -mhard-float. Document
657 -msingle-float and -mdouble-float.
658 (MIPS floating-point): New section. Document `.set softfloat' and
659 `.set hardfloat'. Document `.set singlefloat' and `.set
660 doublefloat'.
661
f04d18b7
DM
6622008-04-25 David S. Miller <davem@davemloft.net>
663
664 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
665 %asr aliases.
666
667 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
668 rather than occaisionally 'levels'. Consistently refer to Sun's
669 UNIX variant as SunOS, every version of Solaris is also SunOS.
670 Document new 'softint_clear' and 'softint_set' aliases. Clarify
671 which architecture versions support '%dcr', '%cq', and '%gl'. Add
672 section on 32-bit/64-bit opcode translations.
673
fe4fa32c
MF
6742008-04-23 Mike Frysinger <vapier@gentoo.org>
675
676 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
677 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
678 (obj-fdpicelf.o): Define.
679 * Makefile.in: Regenerate.
680 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
681 (bfin-*-*): Delete.
682 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
683 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
684 * config/obj-fdpicelf.c: New.
685 * config/obj-fdpicelf.h: Likewise.
686 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
687 the OBJ_FDPIC_ELF define.
688 (OPTION_NOPIC): Define.
689 (md_longopts): Add mnopic and mno-fdpic.
690 (md_parse_option): Handle OPTION_NOPIC.
691
6194aaab
L
6922008-04-23 Paolo Bonzini <bonzini@gnu.org>
693
694 * aclocal.m4: Regenerate.
695 * configure: Regenerate.
696
1a6b486f
DM
6972008-04-23 David S. Miller <davem@davemloft.net>
698
699 * config/tc-sparc.c (v9a_asr_table): Add missing
700 'stick' and 'stick_cmpr', and document ordering rules
701 of table.
702 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
703 BFD_RELOC_SPARC_PC10.
704 * doc/c-sparc.texi: New section on Sparc constants.
705 Add documentation for %stick and %stick_cmpr.
706
879d3736
NC
7072008-04-22 David S. Miller <davem@davemloft.net>
708
709 * config/obj-elf.c (obj_elf_section_type): Add prototype
710 before obj_elf_section_word and add 'warn' arg.
711 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
712 is matched, try checking for #SECTION_TYPE.
713 (obj_elf_section): Adjust for new args.
714 (obj_elf_type_name): New function.
715 (obj_elf_type): Call it, and accept STT_foo number strings
716 in .type statements as output by SunPRO compiler.
717
81f8a913
L
7182008-04-22 H.J. Lu <hongjiu.lu@intel.com>
719
720 * config/tc-i386.c (md_assemble): Don't check SSE instructions
721 if noavx is 0.
722
c15295d5
DM
7232008-04-18 David S. Miller <davem@davemloft.net>
724
725 * doc/c-sparc.texi: Add syntax section.
726
eff014d9
L
7272008-04-18 H.J. Lu <hongjiu.lu@intel.com>
728
729 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
730 REG and NDS for instructions with immediate operand.
731
dae39acc
L
7322008-04-18 H.J. Lu <hongjiu.lu@intel.com>
733
734 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
735 FMA.
736
739f7f82
DM
7372008-04-16 David S. Miller <davem@davemloft.net>
738
739 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
740 and relocation generation.
741 (tc_gen_reloc): Likewise.
742
52b5ca5b
AS
7432008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
744
745 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
746 relocations are properly aligned, and not negative.
747
a5f245b5
NC
7482008-04-15 Khem Raj <kraj@mvista.com>
749
750 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
751
19a6653c
AM
7522008-04-14 Edmar Wienskoski <edmar@freescale.com>
753
754 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
755 accept e500mc instructions.
756 (md_show_usage): Document -me500mc.
757
d5a35a55
NC
7582008-04-11 Nick Clifton <nickc@redhat.com>
759
760 * listing.c (print_timestamp): Use localtime rather than
761 localtime_r since not all build environments provide the latter.
762
daf50ae7
L
7632008-04-10 H.J. Lu <hongjiu.lu@intel.com>
764
765 * NEWS: Mention -msse-check=[none|error|warning].
766
767 * config/tc-i386.c (sse_check): New.
768 (OPTION_MSSE_CHECK): Likewise.
769 (md_assemble): Check SSE instructions if needed.
770 (md_longopts): Add -msse-check.
771 (md_parse_option): Handle OPTION_MSSE_CHECK.
772 (md_show_usage): Show -msse-check=[none|error|warning].
773
774 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
775