* gas/arm/abs12.d: Update expected disassembly.
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2008-09-03 Nick Clifton <nickc@redhat.com>
2
3 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
4 alignment field of the .lcomm directive to be optional.
5 (pe_lcomm): New function. Pass pe_lcomm_internal to
6 s_comm_internal.
7 (md_pseudo_table): Implement .lcomm directive for COFF based
8 targets.
9 * doc/c-i386.texi (i386-Directives): New node. Used to document
10 the .lcomm directive.
11
12 2008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
13
14 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
15 and NetBSD.
16
17 2008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
18
19 * config/tc-avr.c (mcu_types): Add atmega16u4.
20 * doc/c-avr.texi: Likewise.
21
22 2008-08-28 H.J. Lu <hongjiu.lu@intel.com>
23
24 * config/tc-ia64.c (CR_IIB0): New.
25 (CR_IIB1): Likewise.
26 (cr): Add cr.iib0 and cr.iib1.
27 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
28
29 2008-08-28 Jan Beulich <jbeulich@novell.com>
30
31 * config/tc-i386.c (md_assemble): Force number of displacement
32 operands to zero when processing string instruction.
33 (i386_index_check): Special-case string instruction operands. Don't
34 fudge address prefix if there already was a memory operand. Fix
35 error message to correctly reflect the addressing mode used.
36 (i386_att_operand): Fix comment.
37 (i386_intel_operand): Snapshot, clear, and restore base and index
38 reg for each operand processed. Increment count of memory operands
39 later.
40
41 2008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
42
43 * config/tc-hppa.c (is_SB_relative): New macro.
44 (fix_new_hppa): Remove $segrel$ marker.
45 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
46 segment relative.
47 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
48
49 2008-08-27 Jan Beulich <jbeulich@novell.com>
50
51 * config/tc-i386.c (check_string): Use register_prefix for error
52 message.
53 (process_operands): Likewise.
54
55 2008-08-26 Mark Mitchell <mark@codesourcery.com>
56
57 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
58
59 2008-08-26 Jie Zhang <jie.zhang@analog.com>
60
61 * config/bfin-parse.y (check_macfunc_option): Fix instruction
62 mode checking.
63 (asm_1): Check mode for 16-bit multiply instructions.
64
65 2008-08-24 Alan Modra <amodra@bigpond.net.au>
66
67 * configure.in: Update a number of obsolete autoconf macros.
68 * configure: Regenerate.
69 * aclocal.m4: Regenerate.
70
71 2008-08-22 Nick Clifton <nickc@redhat.com>
72
73 * config/tc-mcore.c (md_assemble): Increase length of name array
74 to include terminating NUL.
75
76 2008-08-22 Jie Zhang <jie.zhang@analog.com>
77
78 * config/bfin-lex.l (NUMBER): Protect special `.'.
79
80 2008-08-22 Alan Modra <amodra@bigpond.net.au>
81
82 * symbols.c (symbol_clone): Ensure clones are not external.
83
84 2008-08-22 Alan Modra <amodra@bigpond.net.au>
85
86 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
87
88 2008-08-21 Richard Henderson <rth@redhat.com>
89
90 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
91 (output_cie, output_fde): Use it.
92 (DWARF2_EH_FRAME_READ_ONLY): New.
93 (cfi_finish): Use it.
94
95 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
96 (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
97 (DWARF2_EH_FRAME_READ_ONLY): New.
98 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
99 from the results of DIFF_EXPR_OK manipulation.
100
101 2008-08-21 Sterling Augustine <sterling@tensilica.com>
102
103 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
104
105 2008-08-20 Bob Wilson <bob.wilson@acm.org>
106
107 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
108 (O_tpoff, O_dtpoff): Define.
109 (suffix_relocs): Add entries for TLS suffixes.
110 (xtensa_elf_cons): Check for invalid use of TLS relocations.
111 (map_operator_to_reloc): Add is_literal parameter and use it to
112 control translating TLS instruction relocations to the corresponding
113 literal relocations.
114 (xg_valid_literal_expression): Allow TLS operators.
115 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
116 operands to generated literals.
117 (xg_assemble_literal): Handle TLS operators. Update call to
118 map_operator_to_reloc.
119 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
120 (md_apply_fix): Handle TLS relocations.
121 (emit_single_op): Handle TLS operators.
122 (convert_frag_immed): Update call to map_operator_to_reloc.
123 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
124 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
125 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
126 to initialize the op_data field of the BuildOp.
127 (build_transition): Use it here to record the source operand
128 corresponding to a generated literal.
129 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
130
131 2008-08-20 H.J. Lu <hongjiu.lu@intel.com>
132
133 AVX Programming Reference (August, 2008)
134 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
135 (CPU_FLAGS_AVX_MATCH): Likewise.
136 (CPU_FLAGS_32BIT_MATCH): Updated.
137 (cpu_flags_match): Likewise.
138
139 2008-08-20 Alan Modra <amodra@bigpond.net.au>
140
141 PR 6848
142 * write.c (install_reloc): Check that reloc symbols have been
143 written.
144 (set_symtab): Mark symbols with BSF_KEEP.
145
146 2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
147
148 * config/tc-i386.c (i386_align_code): Fix a comment typo.
149
150 2008-08-15 Alan Modra <amodra@bigpond.net.au>
151
152 PR 6526
153 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
154 * Makefile.in: Regenerate.
155 * aclocal.m4: Regenerate.
156 * config.in: Regenerate.
157 * configure: Regenerate.
158 * doc/Makefile.in: Regenerate.
159
160 2008-08-14 Alan Modra <amodra@bigpond.net.au>
161
162 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
163
164 2008-08-13 Ben Elliston <bje@au.ibm.com>
165
166 * doc/as.texinfo (Align): Document the PowerPC behaviour.
167
168 2008-08-13 Alan Modra <amodra@bigpond.net.au>
169
170 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
171 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
172 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
173 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
174 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
175 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
176 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
177 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
178 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
179 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
180
181 2008-08-12 Alan Modra <amodra@bigpond.net.au>
182
183 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
184 * config/tc-ia64.c (dot_rot): Likewise.
185
186 2008-08-11 Alan Modra <amodra@bigpond.net.au>
187
188 PR 6575
189 * hash.c: Expand PTR to void *.
190 (hash_delete): Add "freeme" parameter. Call obstack_free.
191 * hash.h: Expand PTR to void *.
192 (hash_delete): Update prototype.
193 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
194 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
195 call.
196 (subsym_substitute): Likewise.
197 * doc/internals.texi (hash_delete): Update.
198
199 2008-08-08 Anatoly Sokolov <aesok@post.ru>
200
201 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
202 architectures. Reorganize list to put mcu types in correct
203 architectures and to order list same as in GCC. Use new ISA
204 definitions in include/opcode/avr.h.
205 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
206 descriptions. Reorganize descriptions to put mcu types in correct
207 architectures and to order lists same as in GCC.
208
209 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
210 Daniel Jacobowitz <dan@codesourcery.com>
211
212 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
213 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
214 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
215 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
216 (md_longopts): Add -call_nonpic.
217 (md_parse_option): Handle OPTION_CALL_NONPIC.
218 (md_show_usage): Add -call_nonpic.
219
220 2008-08-08 Sterling Augustine <sterling@tensilica.com>
221
222 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
223 (xtensa_create_property_segments): Use it.
224 (xtensa_create_xproperty_segments): Likewise.
225
226 2008-08-08 Alan Modra <amodra@bigpond.net.au>
227
228 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
229
230 2008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
231
232 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
233 (lo16_reloc_p): New functions.
234 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
235 generalize relocation checks.
236 (matching_lo_reloc): New function.
237 (fixup_has_matching_lo_p): Use it.
238 (mips16_mark_labels): Don't clobber a symbol's visibility.
239 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
240 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
241 (md_apply_fix): Likewise.
242 (mips16_percent_op): Add %got and %call16.
243 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
244 Use matching_lo_reloc.
245 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
246 generalize relocation checks.
247 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
248 checks.
249
250 2008-08-06 DJ Delorie <dj@redhat.com>
251
252 * NEWS: Mention these changes.
253
254 * config/tc-h8300.h (H_TICK_HEX): Define.
255 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
256 (md_longopts): Add "-h-tick-hex".
257 (md_parse_option): Support it.
258 * doc/c-h8300.texi (H8/300 Options): Document it.
259 * doc/as.texinfo (Overview): Likewise.
260
261 * config/tc-sh.h (H_TICK_HEX): Define.
262 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
263 (md_longopts): Add "-h-tick-hex".
264 (md_parse_option): Support it.
265 * doc/c-sh.texi (SH Options): Document it.
266 * doc/c-sh64.texi (SH64 Options): Document it.
267 * doc/as.texinfo (Overview): Likewise.
268
269 2008-08-05 Alan Modra <amodra@bigpond.net.au>
270
271 PR gas/6656
272 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
273 debug info if we see compiler generated debug info.
274 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
275
276 2008-08-04 Alan Modra <amodra@bigpond.net.au>
277
278 * dwarf2dbg.c: Remove superfluous forward function declarations.
279 (DWARF2_FORMAT): Add section arg.
280 (out_header): New function, split out from..
281 (out_debug_line): ..here.
282 (out_debug_aranges): Use out_header.
283 (out_debug_abbrev): Add info_seg and line_seg args. Use
284 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
285 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
286 if line_seg is 64-bit.
287 (dwarf2_finish): Adjust out_debug_abbrev call.
288 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
289 * config/tc-mips.c (mips_dwarf2_format): Likewise.
290
291 2008-08-04 Alan Modra <amodra@bigpond.net.au>
292
293 * Makefile.am (POTFILES.in): Set LC_ALL=C.
294 * Makefile.in: Regenerate.
295 * po/POTFILES.in: Regenerate.
296
297 2008-08-01 Peter Bergner <bergner@vnet.ibm.com>
298
299 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
300 Handle -mvsx and -mpower7.
301 (md_show_usage): Document -mpower7 and -mvsx.
302 * doc/as.texinfo (Target PowerPC): Document -mvsx.
303 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
304
305 2008-07-31 Peter Bergner <bergner@vnet.ibm.com>
306
307 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
308 <cell>: Likewise.
309
310 2008-07-30 Michael J. Eager <eager@eagercon.com>
311
312 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
313 (md_show_usage): Likewise.
314
315 2008-07-30 Alan Modra <amodra@bigpond.net.au>
316
317 * messages.c, symbols.c, write.c: Silence gcc warnings.
318
319 2008-07-28 Ineiev <ineiev@yahoo.co.uk>
320
321 * config/tc-i386.c (operand_type_check): Warning fix.
322
323 2008-07-26 Michael Eager <eager@eagercon.com>
324
325 * doc/as.texinfo: Add description of single-precision attribute.
326
327 2008-07-24 Jie Zhang <jie.zhang@analog.com>
328
329 * config/bfin-parse.y (asm_1): Error if plain symbol is used
330 as load/store offset.
331
332 2008-07-22 Chao-ying Fu <fu@mips.com>
333
334 * config/tc-mips.c (mips_ip): Reset s to argsStart.
335
336 2008-07-22 Jie Zhang <jie.zhang@analog.com>
337
338 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
339
340 2008-07-21 DJ Delorie <dj@redhat.com>
341
342 * config/tc-h8300.c (fix_operand_size): Use the default size
343 specified by the .lbranch/.sbranch pseudos.
344
345 2008-07-18 DJ Delorie <dj@redhat.com>
346
347 * config/tc-m32c.h (H_TICK_HEX): Define.
348 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
349 (md_longopts): Add support for it.
350 (md_parse_option): Likewise.
351 * doc/as.texinfo (Overview): Add new m32c options.
352 * doc/c-m32c.texi (M32C-Modifiers): Likewise
353
354 * as.h: (enable_h_tick_hex): New.
355 * app.c (enable_h_tick_hex): New.
356 (LEX_IS_H): New.
357 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
358 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
359 style hex constants and convert the input stream to 0x00 style.
360 (do_scrub_chars): If a 'X style character constant is found after
361 a symbol character (like you're or X'00), warn the user.
362
363 2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
364
365 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
366 (mips_fix_adjustable): Likewise.
367 (mips_frob_file_after_relocs): Likewise.
368
369 2008-07-08 Nathan Sidwell <nathan@codesourcery.com>
370
371 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
372 about overriding an earlier setting.
373
374 2008-07-07 Adam Nemet <anemet@caviumnetworks.com>
375
376 * config/tc-mips.c (NO_ISA_COP): New macro.
377 (COP_INSN): New macro.
378 (is_opcode_valid): Use them.
379 (macro) <ld_st>: Use them. Don't accept coprocessor load store
380 insns based on the ISA if CPU is NO_ISA_COP.
381 <copz>: Likewise for coprocessor operations.
382
383 2008-07-07 Paul Brook <paul@codesourcery.com>
384
385 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
386 relocations.
387
388 2008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
389
390 * configure.tgt: Add bfin-*-rtems*.
391
392 2008-07-04 Alan Modra <amodra@bigpond.net.au>
393
394 * config/tc-spu.c (md_apply_fix): Handle fully resolved
395 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
396
397 2008-06-25 Peter Bergner <bergner@vnet.ibm.com>
398
399 * config/tc-ppc.c (parse_cpu): Handle -m464.
400 (md_show_usage): Likewise.
401
402 2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
403
404 Add support for ATtiny13A.
405 * config/tc-avr.c (mcu_types): Add attiny13a.
406 * doc/c-avr.texi: Likewise.
407
408 2008-06-24 Bob Wilson <bob.wilson@acm.org>
409 Alan Modra <amodra@bigpond.net.au>
410
411 * write.c (relax_segment <rs_org>): Include current stretch
412 value when calculating whether .org is backwards.
413
414 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
415
416 * configure: Regenerate.
417
418 2008-06-17 Nick Clifton <nickc@redhat.com>
419
420 * app.c (do_scrub_chars): Do not UNGET an EOF value.
421
422 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
423
424 PR gas/6607
425 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
426 text_section. Do the "stepping backwards" test for text_section
427 using unsigned operands.
428
429 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
430
431 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
432 (ppc_insert_operand): Likewise.
433 (ppc_machine): Likewise.
434 * config/tc-ppc.h: #include "opcode/ppc.h"
435 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
436 (ppc_cpu): Update extern decl.
437
438 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
439
440 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
441 +x, +X, +p, +P, +s, +S.
442 (mips_ip): Likewise.
443
444 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
445 (mips_ip): Likewise.
446 (macro_build): Likewise.
447 (CPU_HAS_SEQ): New macro.
448 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
449
450 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
451
452 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
453 * doc/c-avr.texi: Likewise.
454
455 2008-06-04 Nick Clifton <nickc@redhat.com>
456
457 * app.c (do_scrub_chars): Do not UNGET an EOF value.
458
459 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
460
461 * config/tc-i386.c (set_sse_check): New.
462 (md_pseudo_table): Add "sse_check".
463
464 2008-06-03 Paul Brook <paul@codesourcery.com>
465
466 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
467
468 2008-05-30 Nick Clifton <nickc@redhat.com>
469
470 PR 5523
471 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
472 relocs here.
473
474 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
475
476 * config/tc-mips.c (mips_cpu_info_table): Move records for
477 ST Loongson-2E/2F processors to a better place.
478
479 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
480
481 PR gas/6518
482 * config/tc-i386.c (match_template): Report ambiguous operand
483 size, not invalid suffix when there is no match in Intel
484 syntax.
485
486 2008-05-22 Paul Brook <paul@codesourcery.com>
487
488 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
489
490 2008-05-21 I-Jui Sung <ijsung@gmail.com>
491
492 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
493 compatible cores: fa526, fa626, fa626te, fa726te.
494 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
495 fa726te} options.
496
497 2008-05-14 Alan Modra <amodra@bigpond.net.au>
498
499 * Makefile.am: Run "make dep-am".
500 * Makefile.in: Regenerate.
501 * doc/Makefile.in: Regenerate.
502 * po/POTFILES.in: Regenerate.
503
504 2008-05-09 Catherine Moore <clm@codesourcery.com>
505
506 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
507 with non-MIPS16 relocs.
508
509 2008-05-09 Chao-ying Fu <fu@mips.com>
510
511 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
512 case that some characters append at the end of the name.
513 (mips_ip): Likewise.
514 (s_change_sec): Likewise.
515 (md_section_align): Likewise.
516
517 2008-05-07 Bob Wilson <bob.wilson@acm.org>
518
519 * config/tc-xtensa.c (xtensa_create_property_segments): Use
520 xtensa_make_property_section instead of xtensa_get_property_section.
521 (xtensa_create_xproperty_segments): Likewise.
522
523 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
524
525 * NEWS: Mention XSAVE, EPT and MOVBE.
526
527 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
528 (md_show_usage): Add .movbe and .ept.
529
530 * doc/c-i386.texi: Add movbe and ept to -march=. Document
531 .movbe and .ept.
532
533 2008-04-29 David S. Miller <davem@davemloft.net>
534
535 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
536
537 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
538
539 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
540 New statics.
541 (OPTION_ELF_BASE): Make room for new option macros.
542 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
543 OPTION_DOUBLE_FLOAT): New option macros.
544 (md_longopts): Add msoft-float, mhard-float, msingle-float and
545 mdouble-float.
546 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
547 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
548 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
549 and -mdouble-float.
550 (struct mips_set_options): New fields soft_float and single_float.
551 (mips_opts): Initialized them. Add comment for each field
552 initializer.
553 (mips_after_parse_args): Set them based on file_mips_soft_float
554 and file_mips_single_float.
555 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
556 `.set singlefloat' and `.set doublefloat'.
557 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
558 Handle single-float and soft-float instructions here.
559 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
560 (is_opcode_valid_16): New function.
561 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
562 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
563 M_S_DOB>: Remove special-casing of r4650.
564 * doc/c-mips.texi (-march=): Add Octeon.
565 (MIPS Opts): Document -msoft-float and -mhard-float. Document
566 -msingle-float and -mdouble-float.
567 (MIPS floating-point): New section. Document `.set softfloat' and
568 `.set hardfloat'. Document `.set singlefloat' and `.set
569 doublefloat'.
570
571 2008-04-25 David S. Miller <davem@davemloft.net>
572
573 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
574 %asr aliases.
575
576 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
577 rather than occaisionally 'levels'. Consistently refer to Sun's
578 UNIX variant as SunOS, every version of Solaris is also SunOS.
579 Document new 'softint_clear' and 'softint_set' aliases. Clarify
580 which architecture versions support '%dcr', '%cq', and '%gl'. Add
581 section on 32-bit/64-bit opcode translations.
582
583 2008-04-23 Mike Frysinger <vapier@gentoo.org>
584
585 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
586 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
587 (obj-fdpicelf.o): Define.
588 * Makefile.in: Regenerate.
589 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
590 (bfin-*-*): Delete.
591 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
592 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
593 * config/obj-fdpicelf.c: New.
594 * config/obj-fdpicelf.h: Likewise.
595 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
596 the OBJ_FDPIC_ELF define.
597 (OPTION_NOPIC): Define.
598 (md_longopts): Add mnopic and mno-fdpic.
599 (md_parse_option): Handle OPTION_NOPIC.
600
601 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
602
603 * aclocal.m4: Regenerate.
604 * configure: Regenerate.
605
606 2008-04-23 David S. Miller <davem@davemloft.net>
607
608 * config/tc-sparc.c (v9a_asr_table): Add missing
609 'stick' and 'stick_cmpr', and document ordering rules
610 of table.
611 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
612 BFD_RELOC_SPARC_PC10.
613 * doc/c-sparc.texi: New section on Sparc constants.
614 Add documentation for %stick and %stick_cmpr.
615
616 2008-04-22 David S. Miller <davem@davemloft.net>
617
618 * config/obj-elf.c (obj_elf_section_type): Add prototype
619 before obj_elf_section_word and add 'warn' arg.
620 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
621 is matched, try checking for #SECTION_TYPE.
622 (obj_elf_section): Adjust for new args.
623 (obj_elf_type_name): New function.
624 (obj_elf_type): Call it, and accept STT_foo number strings
625 in .type statements as output by SunPRO compiler.
626
627 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
628
629 * config/tc-i386.c (md_assemble): Don't check SSE instructions
630 if noavx is 0.
631
632 2008-04-18 David S. Miller <davem@davemloft.net>
633
634 * doc/c-sparc.texi: Add syntax section.
635
636 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
637
638 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
639 REG and NDS for instructions with immediate operand.
640
641 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
642
643 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
644 FMA.
645
646 2008-04-16 David S. Miller <davem@davemloft.net>
647
648 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
649 and relocation generation.
650 (tc_gen_reloc): Likewise.
651
652 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
653
654 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
655 relocations are properly aligned, and not negative.
656
657 2008-04-15 Khem Raj <kraj@mvista.com>
658
659 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
660
661 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
662
663 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
664 accept e500mc instructions.
665 (md_show_usage): Document -me500mc.
666
667 2008-04-11 Nick Clifton <nickc@redhat.com>
668
669 * listing.c (print_timestamp): Use localtime rather than
670 localtime_r since not all build environments provide the latter.
671
672 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
673
674 * NEWS: Mention -msse-check=[none|error|warning].
675
676 * config/tc-i386.c (sse_check): New.
677 (OPTION_MSSE_CHECK): Likewise.
678 (md_assemble): Check SSE instructions if needed.
679 (md_longopts): Add -msse-check.
680 (md_parse_option): Handle OPTION_MSSE_CHECK.
681 (md_show_usage): Show -msse-check=[none|error|warning].
682
683 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
684
685 2008-04-10 Santiago Urueña <suruena@gmail.com>
686
687 * listing.c: Add -ag listing flag to show general information in
688 listings such as gas version, passed options, and time stamp.
689 (listing_general_info): New function.
690 (print_options): New function.
691 (print_single_option): New function.
692 (print_timestamp): New function.
693 (MAX_DATELEN): Define.
694 (listing_print): Add call to listing_general_info.
695 * listing.h (LISTING_GENERAL): Define.
696 (listing_print): Add new parameter.
697 * as.c (show_usage): Print new switch.
698 (parse_args): Parse new switch.
699 (main): Pass command line on to listing_print.
700 * NEWS: Mention this new feature.
701 * doc/as.texinfo: Document the new sub-option.
702
703 2008-04-08 Alan Modra <amodra@bigpond.net.au>
704
705 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
706 call. Delete out of date comment.
707 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
708 (dwarf2_emit_label): Don't emit unless there has been a previous
709 .file or we are outputting assembler generated debug.
710 dwarf2_consume_line_info after emitting line info, not before.
711 (out_debug_info): Simplify files_in_use test.
712
713 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
714
715 * config/tc-i386.c (parse_real_register): Return AVX register
716 only if AVX is enabled.
717
718 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
719
720 PR gas/6043
721 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
722 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
723
724 2008-04-04 Adrian Bunk <bunk@stusta.de>
725 Bob Wilson <bob.wilson@acm.org>
726
727 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
728 call to decode_reloc.
729
730 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
731
732 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
733
734 * config/tc-i386.c (cpu_arch): Add .pclmul.
735 (md_show_usage): Replace clmul with pclmul.
736 * doc/c-i386.texi: Likewise.
737
738 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
739
740 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
741
742 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
743 Document -msse2avx, .avx, .aes, .clmul and .fma.
744
745 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
746 (vex_prefix): Likewise.
747 (sse2avx): Likewise.
748 (CPU_FLAGS_ARCH_MATCH): Likewise.
749 (CPU_FLAGS_64BIT_MATCH): Likewise.
750 (CPU_FLAGS_32BIT_MATCH): Likewise.
751 (CPU_FLAGS_PERFECT_MATCH): Likewise.
752 (regymm): Likewise.
753 (vex_imm4): Likewise.
754 (fits_in_imm4): Likewise.
755 (build_vex_prefix): Likewise.
756 (VEX_check_operands): Likewise.
757 (bad_implicit_operand): Likewise.
758 (OPTION_MSSE2AVX): Likewise.
759 (T_YMMWORD): Likewise.
760 (_i386_insn): Add vex.
761 (cpu_arch): Add .avx, .aes, .clmul and .fma.
762 (cpu_flags_match): Changed to take a pointer to const template.
763 Enable encoding SSE instructions with VEX prefix for -msse2avx.
764 (match_mem_size): Also check ymmword.
765 (operand_type_match): Clear ymmword.
766 (md_begin): Allow '_' in mnemonic.
767 (type_names): Add OPERAND_TYPE_VEX_IMM4.
768 (process_immext): Update assert.
769 (md_assemble): Don't call process_immext if sse2avx and immext
770 are true. Call build_vex_prefix if vex is true.
771 (parse_insn): Updated for cpu_flags_match.
772 (swap_operands): Handle 5 operands.
773 (match_template): Handle 5 operands. Updated for cpu_flags_match.
774 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
775 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
776 (check_byte_reg): Check regymm.
777 (process_operands): Duplicate the destination register for
778 -msse2avx if needed.
779 (build_modrm_byte): Updated for instructions with VEX encoding.
780 (output_insn): Output VEX prefix if needed.
781 (md_longopts): Add msse2avx.
782 (md_parse_option): Handle OPTION_MSSE2AVX.
783 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
784 (intel_e09): Support YMMWORD.
785 (intel_e11): Likewise.
786 (intel_get_token): Likewise.
787
788 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
789
790 * config/tc-avr.c (mcu_types): Add attiny167.
791 * doc/c-avr.texi: Likewise.
792
793 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
794
795 * config/tc-avr.c (mcu_types): Add atmega32u4.
796 * doc/c-avr.texi: Likewise.
797
798 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
799
800 * config/tc-avr.c (mcu_types): Add atmega32c1.
801 * doc/c-avr.texi: Likewise.
802
803 2008-03-28 Paul Brook <paul@codesourcery.com>
804
805 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
806 to avoid spurious symbols.
807
808 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
809
810 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
811 as_bad_where.
812
813 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
814
815 * config/tc-avr.c (mcu_types): Add atmega32m1.
816 * doc/c-avr.texi: Likewise.
817
818 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
819
820 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
821 start of block.
822 (do_neon_ext): Fix sign of comparison.
823
824 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
825
826 From Jie Zhang <jie.zhang@analog.com>
827 * config/bfin-parse.y (asm_1): Check AREGS in comparison
828 instructions. And call yyerror when comparing PREG with
829 DREG.
830 (check_macfunc_option): New.
831 (check_macfuncs): Check option by calling check_macfunc_option.
832 Fix comparison always true warnings. Both scalar instructions
833 of vector instruction must share the same mode option. Only allow
834 option mode at the end of the second instruction of the vector.
835 (asm_1): Check option by calling check_macfunc_option.
836
837 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
838 option for multiply and multiply-accumulate to data register
839 instruction.
840 (check_macfuncs): Don't check if accumulator matches the data register
841 here.
842 (assign_macfunc): Check if accumulator matches the
843 data register in each rule that moves to the data
844 register.
845
846 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
847 generated for LOOP_BEGIN and LOOP_END instructions.
848 (bfin_gen_loop): Likewise.
849
850 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
851
852 * config/tc-s390.c (md_parse_option): z10 option added.
853
854 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
855
856 * aclocal.m4: Regenerate.
857 * configure: Likewise.
858 * Makefile.in: Likewise.
859 * doc/Makefile.in: Likewise.
860
861 2008-03-17 Adrian Bunk <bunk@stusta.de>
862
863 PR 5946
864 * config/tc-hppa.c (is_same_frag): Delete.
865
866 2008-03-14 Sterling Augustine <sterling@tensilica.com>
867
868 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
869 RELAX_LOOP_END_ADD_NOP.
870
871 2008-03-13 Evandro Menezes <evandro@yahoo.com>
872
873 PR gas/5895
874 * read.c (s_mexit): Warn if attempting to exit a macro when not
875 inside a macro definition.
876
877 2008-03-13 Alan Modra <amodra@bigpond.net.au>
878
879 * Makefile.am: Run "make dep-am".
880 * Makefile.in: Regenerate.
881 * configure: Regenerate.
882
883 2008-03-09 Paul Brook <paul@codesourcery.com>
884
885 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
886 * doc/c-arm.texi: Add cortex-a9.
887
888 2008-03-09 Paul Brook <paul@codesourcery.com>
889
890 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
891 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
892 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
893 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
894 * doc/c-arm.texi: Document new ARM FPU variants.
895
896 2008-03-07 Paul Brook <paul@codesourcery.com>
897
898 * config/tc-arm.c (md_apply_fix): Use correct offset range.
899
900 2008-03-07 Alan Modra <amodra@bigpond.net.au>
901
902 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
903 for strict ordering of powerpc_opcodes, but disable for now.
904
905 2008-03-04 Paul Brook <paul@codesourcery.com>
906
907 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
908 (arm_ext_v7m): Rename...
909 (arm_ext_m): ... to this. Include v6-M.
910 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
911 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
912 (md_assemble): Allow wide msr instructions.
913 (insns): Add classifications for v6-m instructions.
914 (arm_cpu_option_table): Add cortex-m1.
915 (arm_arch_option_table): Add armv6-m.
916 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
917
918 2008-03-03 Sterling Augustine <sterling@tensilica.com>
919 Bob Wilson <bob.wilson@acm.org>
920
921 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
922 (md_begin): Initialize it.
923 (resources_conflict): Use it.
924
925 2008-03-03 Sterling Augustine <sterling@tensilica.com>
926
927 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
928
929 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
930 H.J. Lu <hongjiu.lu@intel.com>
931
932 PR gas/5543
933 * read.c (pseudo_set): Don't allow global register symbol.
934
935 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
936 global.
937
938 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
939
940 PR gas/5543
941 * write.c (write_object_file): Don't allow symbols which were
942 equated to register. Stop if there is an error.
943
944 2008-03-01 Alan Modra <amodra@bigpond.net.au>
945
946 * config/tc-ppc.h (struct _ppc_fix_extra): New.
947 (ppc_cpu): Declare.
948 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
949 * config/tc-ppc.c (ppu_cpu): Make global.
950 (ppc_insert_operand): Add ppu_cpu parameter.
951 (md_assemble): Adjust for above change.
952 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
953
954 2008-02-22 Nick Clifton <nickc@redhat.com>
955
956 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
957 targeted ARM ports, otherwise just skip generating the reloc.
958
959 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
960
961 * doc/c-i386.texi: Update -march= and .arch.
962
963 2008-02-18 Nick Clifton <nickc@redhat.com>
964
965 * config/tc-mn10300.c (has_known_symbol_location): New function.
966 Do not regard weak symbols as having a known location.
967 (md_estimate_size_before_relax): Use new function.
968 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
969
970 2008-02-18 Jan Beulich <jbeulich@novell.com>
971
972 * config/tc-i386.c (match_template): Disallow 'l' suffix when
973 currently selected CPU has no 32-bit support.
974 (parse_real_register): Do not return registers not available on
975 currently selected CPU.
976
977 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
978
979 * config/tc-i386.c (process_immext): Fix format.
980
981 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
982
983 * config/tc-i386.c (inoutportreg): New.
984 (process_immext): New.
985 (md_assemble): Use it.
986 (update_imm): Use imm16 and imm32s.
987 (i386_att_operand): Use inoutportreg.
988
989 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
990
991 * config/tc-i386.c (operand_type_all_zero): New.
992 (operand_type_set): Likewise.
993 (operand_type_equal): Likewise.
994 (cpu_flags_all_zero): Likewise.
995 (cpu_flags_set): Likewise.
996 (cpu_flags_equal): Likewise.
997 (UINTS_ALL_ZERO): Removed.
998 (UINTS_SET): Likewise.
999 (UINTS_CLEAR): Likewise.
1000 (UINTS_EQUAL): Likewise.
1001 (cpu_flags_match): Updated.
1002 (smallest_imm_type): Likewise.
1003 (set_cpu_arch): Likewise.
1004 (md_assemble): Likewise.
1005 (optimize_imm): Likewise.
1006 (match_template): Likewise.
1007 (process_suffix): Likewise.
1008 (update_imm): Likewise.
1009 (process_drex): Likewise.
1010 (process_operands): Likewise.
1011 (build_modrm_byte): Likewise.
1012 (i386_immediate): Likewise.
1013 (i386_displacement): Likewise.
1014 (i386_att_operand): Likewise.
1015 (parse_real_register): Likewise.
1016 (md_parse_option): Likewise.
1017 (i386_target_format): Likewise.
1018
1019 2008-02-14 Dimitry Andric <dimitry@andric.com>
1020
1021 PR gas/5712
1022 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
1023 pointer past the comma after parsing a floating point register
1024 name.
1025
1026 2008-02-14 Hakan Ardo <hakan@debian.org>
1027
1028 PR gas/2626
1029 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
1030 to AVR_ISA_2xxe.
1031 (avr_operand): Disallow post-increment addressing in the lpm
1032 instruction for the attiny26.
1033
1034 2008-02-13 Jan Beulich <jbeulich@novell.com>
1035
1036 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
1037 if not in Intel mode.
1038 (i386_intel_operand): Ignore segment overrides in immediate and
1039 offset operands.
1040 (intel_e11): Range-check i.mem_operands before use as array
1041 index. Filter out FLAT for uses other than as segment override.
1042 (intel_get_token): Remove broken promotion of "FLAT:" to mean
1043 "offset FLAT:".
1044
1045 2008-02-13 Jan Beulich <jbeulich@novell.com>
1046
1047 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
1048
1049 2008-02-13 Jan Beulich <jbeulich@novell.com>
1050
1051 * config/tc-i386.c (allow_pseudo_reg): New.
1052 (parse_real_register): Check for NULL just once. Allow all
1053 register table entries when allow_pseudo_reg is non-zero.
1054 Don't allow any registers without type when allow_pseudo_reg
1055 is zero.
1056 (tc_x86_regname_to_dw2regnum): Replace with ...
1057 (tc_x86_parse_to_dw2regnum): ... this.
1058 (tc_x86_frame_initial_instructions): Adjust for above change.
1059 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
1060 (tc_parse_to_dw2regnum): New.
1061 (tc_x86_regname_to_dw2regnum): Replace with ...
1062 (tc_x86_parse_to_dw2regnum): ... this.
1063 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
1064 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
1065 error handling.
1066
1067 2008-02-12 Nick Clifton <nickc@redhat.com>
1068
1069 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
1070 argument.
1071 (tic4x_insn_add): Likewise.
1072 (md_begin): Drop cast that was discarding a const qualifier.
1073 * config/tc-d30v.c (get_reloc): Add const qualifier to op
1074 argument.
1075 (build_insn): Drop cast that was discarding a const qualifier.
1076
1077 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 * config/tc-i386.c (cpu_arch): Add .xsave.
1080 (md_show_usage): Add .xsave.
1081
1082 * doc/c-i386.texi: Add xsave to -march=.
1083
1084 2008-02-07 Alan Modra <amodra@bigpond.net.au>
1085
1086 * read.c (s_weakref): Don't pass unadorned NULL to concat.
1087 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
1088
1089 2008-02-05 Sterling Augustine <sterling@tensilica.com>
1090
1091 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
1092 checks into assertions. When relaxation produces an operation that
1093 does not fit in the current FLIX instruction, make sure that the
1094 operation is relaxed as needed to account for being placed following
1095 the current instruction.
1096
1097 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
1098
1099 PR 5715
1100 * configure: Regenerated.
1101
1102 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
1103
1104 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
1105
1106 2008-01-31 Marc Gauthier <marc@tensilica.com>
1107
1108 * configure.tgt (xtensa*-*-*): Recognize processor variants.
1109
1110 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
1111
1112 * read.c: (emit_expr): Correct for mingw use of printf size
1113 specifier.
1114
1115 2008-01-24 Bob Wilson <bob.wilson@acm.org>
1116
1117 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
1118 can only be encoded in FLIX instructions but are not specified as such.
1119 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
1120 labels.
1121
1122 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
1123
1124 * NEWS: Mention new command line options for x86 targets.
1125
1126 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
1127
1128 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
1129
1130 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
1131
1132 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
1133
1134 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
1135
1136 * config/tc-i386.c (md_show_usage): Show more processors for
1137 -march=/-mtune=.
1138
1139 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 * config/tc-i386.c (i386_target_format): Remove cpummx2.
1142
1143 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
1144
1145 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
1146 (XXX_MNEM_SUFFIX): Likewise.
1147 (END_OF_INSN): Likewise.
1148 (templates): Likewise.
1149 (modrm_byte): Likewise.
1150 (rex_byte): Likewise.
1151 (DREX_XXX): Likewise.
1152 (drex_byte): Likewise.
1153 (sib_byte): Likewise.
1154 (processor_type): Likewise.
1155 (arch_entry): Likewise.
1156 (cpu_sub_arch_name): Remove const.
1157 (cpu_arch): Add .vmx and .smx.
1158 (set_cpu_arch): Append cpu_sub_arch_name.
1159 (md_parse_option): Support -march=CPU[,+EXTENSION...].
1160 (md_show_usage): Updated.
1161
1162 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
1163 (XXX_MNEM_SUFFIX): Likewise.
1164 (END_OF_INSN): Likewise.
1165 (templates): Likewise.
1166 (modrm_byte): Likewise.
1167 (rex_byte): Likewise.
1168 (DREX_XXX): Likewise.
1169 (drex_byte): Likewise.
1170 (sib_byte): Likewise.
1171 (processor_type): Likewise.
1172 (arch_entry): Likewise.
1173
1174 * doc/as.texinfo: Update i386 -march option.
1175
1176 * doc/c-i386.texi: Update -march= for ISA.
1177
1178 2008-01-18 Bob Wilson <bob.wilson@acm.org>
1179
1180 * config/tc-xtensa.c (xtensa_leb128): New function.
1181 (md_pseudo_table): Use it for sleb128 and uleb128.
1182 (is_leb128_expr): New internal flag.
1183 (xtensa_symbol_new_hook): Check new flag.
1184
1185 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
1186
1187 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
1188 at90usb82, at90usb162.
1189 * doc/c-avr.texi: Change architecture grouping for at90usb82,
1190 at90usb162.
1191 These changes support the new avr35 architecture group in gcc.
1192
1193 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
1196 suffix for AT&T syntax.
1197
1198 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
1199
1200 * config/tc-i386.c (match_reg_size): New.
1201 (match_mem_size): Likewise.
1202 (operand_size_match): Likewise.
1203 (operand_type_match): Also clear all size fields.
1204 (match_template): Skip Intel syntax when in AT&T syntax.
1205 Call operand_size_match to check operand size.
1206 (i386_att_operand): Set the mem field to 1 for memory
1207 operand.
1208 (i386_intel_operand): Likewise.
1209
1210 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
1211
1212 PR gas/5534
1213 * config/tc-i386.c (_i386_insn): Update comment.
1214 (operand_type_match): Also clear unspecified.
1215 (operand_type_register_match): Likewise.
1216 (parse_operands): Initialize unspecified.
1217 (i386_intel_operand): Likewise.
1218 (match_template): Check memory and accumulator operand size.
1219 (i386_att_operand): Clear unspecified on register operand.
1220 (intel_e11): Likewise.
1221 (intel_e09): Set operand size and clean unspecified for
1222 "XXX PTR".
1223
1224 2008-01-11 Andreas Schwab <schwab@suse.de>
1225
1226 * read.c (s_space): Declare `repeat' as offsetT.
1227
1228 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1229
1230 * config/tc-i386.c (match_template): Check processor support
1231 first.
1232
1233 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1234
1235 * config/tc-i386.c (match_template): Continue if processor
1236 doesn't match.
1237
1238 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
1239
1240 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
1241 unwind personality function address.
1242
1243 2008-01-09 Bob Wilson <bob.wilson@acm.org>
1244
1245 * dwarf2dbg.c (out_sleb128): Delete.
1246 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
1247 (out_fixed_inc_line_addr): Delete.
1248 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
1249 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
1250 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
1251 (process_entries): Remove calls to out_fixed_inc_line_addr. When
1252 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
1253 * read.h (emit_expr_fix): New prototype.
1254 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
1255 (emit_expr_fix): New.
1256
1257 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
1258
1259 * config/tc-i386.c (match_template): Check register size
1260 only when size of operands can be encoded the canonical way.
1261
1262 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
1263
1264 * config/tc-i386.c (i386_operand): Renamed to ...
1265 (i386_att_operand): This.
1266 (parse_operands): Updated.
1267
1268 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
1269
1270 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
1271
1272 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
1273 only.
1274 (md_assemble): Remove Intel mode workaround.
1275 (match_template): Check support for old gcc, AT&T mnemonic
1276 and Intel Syntax.
1277 (md_parse_option): Don't set intel_mnemonic to 0 for
1278 OPTION_MOLD_GCC.
1279
1280 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
1281
1282 * config/tc-i386.h: Update copyright to 2008.
1283
1284 2008-01-04 Nick Clifton <nickc@redhat.com>
1285
1286 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
1287 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
1288
1289 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1290
1291 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
1292 of SYSV386_COMPAT.
1293
1294 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1295
1296 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
1297 (cpu_flags_not): Likewise.
1298 (cpu_flags_match): Updated to check 64bit and arch.
1299 (set_code_flag): Remove cpu_arch_flags_not.
1300 (set_16bit_gcc_code_flag): Likewise.
1301 (set_cpu_arch): Likewise.
1302 (md_begin): Likewise.
1303 (parse_insn): Call cpu_flags_match to check 64bit and arch.
1304 (match_template): Likewise.
1305
1306 2008-01-03 Jakub Jelinek <jakub@redhat.com>
1307
1308 * config/tc-i386.c (process_drex): Initialize modrm_reg and
1309 modrm_regmem to 0 instead of None.
1310
1311 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1312
1313 * config/tc-i386.c (match_template): Use the xmmword field
1314 instead of no_xsuf.
1315
1316 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1317
1318 * config/tc-i386.c (process_suffix): Fix a typo.
1319
1320 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1321
1322 PR gas/5534
1323 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1324 Check memory size in Intel mode.
1325 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1326 (intel_e09): Likewise.
1327
1328 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1329
1330 2008-01-02 Catherine Moore <clm@codesourcery.com>
1331
1332 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1333
1334 For older changes see ChangeLog-2007
1335 \f
1336 Local Variables:
1337 mode: change-log
1338 left-margin: 8
1339 fill-column: 74
1340 version-control: never
1341 End:
This page took 0.056769 seconds and 4 git commands to generate.