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