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