1 2008-08-04 Alan Modra <amodra@bigpond.net.au>
3 * Makefile.am (POTFILES.in): Set LC_ALL=C.
4 * Makefile.in: Regenerate.
5 * po/POTFILES.in: Regenerate.
7 2008-08-01 Peter Bergner <bergner@vnet.ibm.com>
9 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
10 Handle -mvsx and -mpower7.
11 (md_show_usage): Document -mpower7 and -mvsx.
12 * doc/as.texinfo (Target PowerPC): Document -mvsx.
13 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
15 2008-07-31 Peter Bergner <bergner@vnet.ibm.com>
17 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
20 2008-07-30 Michael J. Eager <eager@eagercon.com>
22 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
23 (md_show_usage): Likewise.
25 2008-07-30 Alan Modra <amodra@bigpond.net.au>
27 * messages.c, symbols.c, write.c: Silence gcc warnings.
29 2008-07-28 Ineiev <ineiev@yahoo.co.uk>
31 * config/tc-i386.c (operand_type_check): Warning fix.
33 2008-07-26 Michael Eager <eager@eagercon.com>
35 * doc/as.texinfo: Add description of single-precision attribute.
37 2008-07-24 Jie Zhang <jie.zhang@analog.com>
39 * config/bfin-parse.y (asm_1): Error if plain symbol is used
42 2008-07-22 Chao-ying Fu <fu@mips.com>
44 * config/tc-mips.c (mips_ip): Reset s to argsStart.
46 2008-07-22 Jie Zhang <jie.zhang@analog.com>
48 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
50 2008-07-21 DJ Delorie <dj@redhat.com>
52 * config/tc-h8300.c (fix_operand_size): Use the default size
53 specified by the .lbranch/.sbranch pseudos.
55 2008-07-18 DJ Delorie <dj@redhat.com>
57 * config/tc-m32c.h (H_TICK_HEX): Define.
58 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
59 (md_longopts): Add support for it.
60 (md_parse_option): Likewise.
61 * doc/as.texinfo (Overview): Add new m32c options.
62 * doc/c-m32c.texi (M32C-Modifiers): Likewise
64 * as.h: (enable_h_tick_hex): New.
65 * app.c (enable_h_tick_hex): New.
67 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
68 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
69 style hex constants and convert the input stream to 0x00 style.
70 (do_scrub_chars): If a 'X style character constant is found after
71 a symbol character (like you're or X'00), warn the user.
73 2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
75 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
76 (mips_fix_adjustable): Likewise.
77 (mips_frob_file_after_relocs): Likewise.
79 2008-07-08 Nathan Sidwell <nathan@codesourcery.com>
81 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
82 about overriding an earlier setting.
84 2008-07-07 Adam Nemet <anemet@caviumnetworks.com>
86 * config/tc-mips.c (NO_ISA_COP): New macro.
87 (COP_INSN): New macro.
88 (is_opcode_valid): Use them.
89 (macro) <ld_st>: Use them. Don't accept coprocessor load store
90 insns based on the ISA if CPU is NO_ISA_COP.
91 <copz>: Likewise for coprocessor operations.
93 2008-07-07 Paul Brook <paul@codesourcery.com>
95 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
98 2008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
100 * configure.tgt: Add bfin-*-rtems*.
102 2008-07-04 Alan Modra <amodra@bigpond.net.au>
104 * config/tc-spu.c (md_apply_fix): Handle fully resolved
105 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
107 2008-06-25 Peter Bergner <bergner@vnet.ibm.com>
109 * config/tc-ppc.c (parse_cpu): Handle -m464.
110 (md_show_usage): Likewise.
112 2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
114 Add support for ATtiny13A.
115 * config/tc-avr.c (mcu_types): Add attiny13a.
116 * doc/c-avr.texi: Likewise.
118 2008-06-24 Bob Wilson <bob.wilson@acm.org>
119 Alan Modra <amodra@bigpond.net.au>
121 * write.c (relax_segment <rs_org>): Include current stretch
122 value when calculating whether .org is backwards.
124 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
126 * configure: Regenerate.
128 2008-06-17 Nick Clifton <nickc@redhat.com>
130 * app.c (do_scrub_chars): Do not UNGET an EOF value.
132 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
135 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
136 text_section. Do the "stepping backwards" test for text_section
137 using unsigned operands.
139 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
141 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
142 (ppc_insert_operand): Likewise.
143 (ppc_machine): Likewise.
144 * config/tc-ppc.h: #include "opcode/ppc.h"
145 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
146 (ppc_cpu): Update extern decl.
148 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
150 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
151 +x, +X, +p, +P, +s, +S.
154 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
156 (macro_build): Likewise.
157 (CPU_HAS_SEQ): New macro.
158 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
160 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
162 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
163 * doc/c-avr.texi: Likewise.
165 2008-06-04 Nick Clifton <nickc@redhat.com>
167 * app.c (do_scrub_chars): Do not UNGET an EOF value.
169 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
171 * config/tc-i386.c (set_sse_check): New.
172 (md_pseudo_table): Add "sse_check".
174 2008-06-03 Paul Brook <paul@codesourcery.com>
176 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
178 2008-05-30 Nick Clifton <nickc@redhat.com>
181 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
184 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
186 * config/tc-mips.c (mips_cpu_info_table): Move records for
187 ST Loongson-2E/2F processors to a better place.
189 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
192 * config/tc-i386.c (match_template): Report ambiguous operand
193 size, not invalid suffix when there is no match in Intel
196 2008-05-22 Paul Brook <paul@codesourcery.com>
198 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
200 2008-05-21 I-Jui Sung <ijsung@gmail.com>
202 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
203 compatible cores: fa526, fa626, fa626te, fa726te.
204 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
207 2008-05-14 Alan Modra <amodra@bigpond.net.au>
209 * Makefile.am: Run "make dep-am".
210 * Makefile.in: Regenerate.
211 * doc/Makefile.in: Regenerate.
212 * po/POTFILES.in: Regenerate.
214 2008-05-09 Catherine Moore <clm@codesourcery.com>
216 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
217 with non-MIPS16 relocs.
219 2008-05-09 Chao-ying Fu <fu@mips.com>
221 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
222 case that some characters append at the end of the name.
224 (s_change_sec): Likewise.
225 (md_section_align): Likewise.
227 2008-05-07 Bob Wilson <bob.wilson@acm.org>
229 * config/tc-xtensa.c (xtensa_create_property_segments): Use
230 xtensa_make_property_section instead of xtensa_get_property_section.
231 (xtensa_create_xproperty_segments): Likewise.
233 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
235 * NEWS: Mention XSAVE, EPT and MOVBE.
237 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
238 (md_show_usage): Add .movbe and .ept.
240 * doc/c-i386.texi: Add movbe and ept to -march=. Document
243 2008-04-29 David S. Miller <davem@davemloft.net>
245 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
247 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
249 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
251 (OPTION_ELF_BASE): Make room for new option macros.
252 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
253 OPTION_DOUBLE_FLOAT): New option macros.
254 (md_longopts): Add msoft-float, mhard-float, msingle-float and
256 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
257 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
258 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
260 (struct mips_set_options): New fields soft_float and single_float.
261 (mips_opts): Initialized them. Add comment for each field
263 (mips_after_parse_args): Set them based on file_mips_soft_float
264 and file_mips_single_float.
265 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
266 `.set singlefloat' and `.set doublefloat'.
267 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
268 Handle single-float and soft-float instructions here.
269 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
270 (is_opcode_valid_16): New function.
271 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
272 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
273 M_S_DOB>: Remove special-casing of r4650.
274 * doc/c-mips.texi (-march=): Add Octeon.
275 (MIPS Opts): Document -msoft-float and -mhard-float. Document
276 -msingle-float and -mdouble-float.
277 (MIPS floating-point): New section. Document `.set softfloat' and
278 `.set hardfloat'. Document `.set singlefloat' and `.set
281 2008-04-25 David S. Miller <davem@davemloft.net>
283 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
286 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
287 rather than occaisionally 'levels'. Consistently refer to Sun's
288 UNIX variant as SunOS, every version of Solaris is also SunOS.
289 Document new 'softint_clear' and 'softint_set' aliases. Clarify
290 which architecture versions support '%dcr', '%cq', and '%gl'. Add
291 section on 32-bit/64-bit opcode translations.
293 2008-04-23 Mike Frysinger <vapier@gentoo.org>
295 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
296 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
297 (obj-fdpicelf.o): Define.
298 * Makefile.in: Regenerate.
299 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
301 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
302 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
303 * config/obj-fdpicelf.c: New.
304 * config/obj-fdpicelf.h: Likewise.
305 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
306 the OBJ_FDPIC_ELF define.
307 (OPTION_NOPIC): Define.
308 (md_longopts): Add mnopic and mno-fdpic.
309 (md_parse_option): Handle OPTION_NOPIC.
311 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
313 * aclocal.m4: Regenerate.
314 * configure: Regenerate.
316 2008-04-23 David S. Miller <davem@davemloft.net>
318 * config/tc-sparc.c (v9a_asr_table): Add missing
319 'stick' and 'stick_cmpr', and document ordering rules
321 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
322 BFD_RELOC_SPARC_PC10.
323 * doc/c-sparc.texi: New section on Sparc constants.
324 Add documentation for %stick and %stick_cmpr.
326 2008-04-22 David S. Miller <davem@davemloft.net>
328 * config/obj-elf.c (obj_elf_section_type): Add prototype
329 before obj_elf_section_word and add 'warn' arg.
330 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
331 is matched, try checking for #SECTION_TYPE.
332 (obj_elf_section): Adjust for new args.
333 (obj_elf_type_name): New function.
334 (obj_elf_type): Call it, and accept STT_foo number strings
335 in .type statements as output by SunPRO compiler.
337 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
339 * config/tc-i386.c (md_assemble): Don't check SSE instructions
342 2008-04-18 David S. Miller <davem@davemloft.net>
344 * doc/c-sparc.texi: Add syntax section.
346 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
348 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
349 REG and NDS for instructions with immediate operand.
351 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
353 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
356 2008-04-16 David S. Miller <davem@davemloft.net>
358 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
359 and relocation generation.
360 (tc_gen_reloc): Likewise.
362 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
364 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
365 relocations are properly aligned, and not negative.
367 2008-04-15 Khem Raj <kraj@mvista.com>
369 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
371 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
373 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
374 accept e500mc instructions.
375 (md_show_usage): Document -me500mc.
377 2008-04-11 Nick Clifton <nickc@redhat.com>
379 * listing.c (print_timestamp): Use localtime rather than
380 localtime_r since not all build environments provide the latter.
382 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
384 * NEWS: Mention -msse-check=[none|error|warning].
386 * config/tc-i386.c (sse_check): New.
387 (OPTION_MSSE_CHECK): Likewise.
388 (md_assemble): Check SSE instructions if needed.
389 (md_longopts): Add -msse-check.
390 (md_parse_option): Handle OPTION_MSSE_CHECK.
391 (md_show_usage): Show -msse-check=[none|error|warning].
393 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
395 2008-04-10 Santiago Urueña <suruena@gmail.com>
397 * listing.c: Add -ag listing flag to show general information in
398 listings such as gas version, passed options, and time stamp.
399 (listing_general_info): New function.
400 (print_options): New function.
401 (print_single_option): New function.
402 (print_timestamp): New function.
403 (MAX_DATELEN): Define.
404 (listing_print): Add call to listing_general_info.
405 * listing.h (LISTING_GENERAL): Define.
406 (listing_print): Add new parameter.
407 * as.c (show_usage): Print new switch.
408 (parse_args): Parse new switch.
409 (main): Pass command line on to listing_print.
410 * NEWS: Mention this new feature.
411 * doc/as.texinfo: Document the new sub-option.
413 2008-04-08 Alan Modra <amodra@bigpond.net.au>
415 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
416 call. Delete out of date comment.
417 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
418 (dwarf2_emit_label): Don't emit unless there has been a previous
419 .file or we are outputting assembler generated debug.
420 dwarf2_consume_line_info after emitting line info, not before.
421 (out_debug_info): Simplify files_in_use test.
423 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
425 * config/tc-i386.c (parse_real_register): Return AVX register
426 only if AVX is enabled.
428 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
431 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
432 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
434 2008-04-04 Adrian Bunk <bunk@stusta.de>
435 Bob Wilson <bob.wilson@acm.org>
437 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
438 call to decode_reloc.
440 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
442 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
444 * config/tc-i386.c (cpu_arch): Add .pclmul.
445 (md_show_usage): Replace clmul with pclmul.
446 * doc/c-i386.texi: Likewise.
448 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
450 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
452 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
453 Document -msse2avx, .avx, .aes, .clmul and .fma.
455 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
456 (vex_prefix): Likewise.
458 (CPU_FLAGS_ARCH_MATCH): Likewise.
459 (CPU_FLAGS_64BIT_MATCH): Likewise.
460 (CPU_FLAGS_32BIT_MATCH): Likewise.
461 (CPU_FLAGS_PERFECT_MATCH): Likewise.
463 (vex_imm4): Likewise.
464 (fits_in_imm4): Likewise.
465 (build_vex_prefix): Likewise.
466 (VEX_check_operands): Likewise.
467 (bad_implicit_operand): Likewise.
468 (OPTION_MSSE2AVX): Likewise.
469 (T_YMMWORD): Likewise.
470 (_i386_insn): Add vex.
471 (cpu_arch): Add .avx, .aes, .clmul and .fma.
472 (cpu_flags_match): Changed to take a pointer to const template.
473 Enable encoding SSE instructions with VEX prefix for -msse2avx.
474 (match_mem_size): Also check ymmword.
475 (operand_type_match): Clear ymmword.
476 (md_begin): Allow '_' in mnemonic.
477 (type_names): Add OPERAND_TYPE_VEX_IMM4.
478 (process_immext): Update assert.
479 (md_assemble): Don't call process_immext if sse2avx and immext
480 are true. Call build_vex_prefix if vex is true.
481 (parse_insn): Updated for cpu_flags_match.
482 (swap_operands): Handle 5 operands.
483 (match_template): Handle 5 operands. Updated for cpu_flags_match.
484 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
485 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
486 (check_byte_reg): Check regymm.
487 (process_operands): Duplicate the destination register for
489 (build_modrm_byte): Updated for instructions with VEX encoding.
490 (output_insn): Output VEX prefix if needed.
491 (md_longopts): Add msse2avx.
492 (md_parse_option): Handle OPTION_MSSE2AVX.
493 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
494 (intel_e09): Support YMMWORD.
495 (intel_e11): Likewise.
496 (intel_get_token): Likewise.
498 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
500 * config/tc-avr.c (mcu_types): Add attiny167.
501 * doc/c-avr.texi: Likewise.
503 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
505 * config/tc-avr.c (mcu_types): Add atmega32u4.
506 * doc/c-avr.texi: Likewise.
508 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
510 * config/tc-avr.c (mcu_types): Add atmega32c1.
511 * doc/c-avr.texi: Likewise.
513 2008-03-28 Paul Brook <paul@codesourcery.com>
515 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
516 to avoid spurious symbols.
518 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
520 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
523 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
525 * config/tc-avr.c (mcu_types): Add atmega32m1.
526 * doc/c-avr.texi: Likewise.
528 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
530 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
532 (do_neon_ext): Fix sign of comparison.
534 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
536 From Jie Zhang <jie.zhang@analog.com>
537 * config/bfin-parse.y (asm_1): Check AREGS in comparison
538 instructions. And call yyerror when comparing PREG with
540 (check_macfunc_option): New.
541 (check_macfuncs): Check option by calling check_macfunc_option.
542 Fix comparison always true warnings. Both scalar instructions
543 of vector instruction must share the same mode option. Only allow
544 option mode at the end of the second instruction of the vector.
545 (asm_1): Check option by calling check_macfunc_option.
547 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
548 option for multiply and multiply-accumulate to data register
550 (check_macfuncs): Don't check if accumulator matches the data register
552 (assign_macfunc): Check if accumulator matches the
553 data register in each rule that moves to the data
556 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
557 generated for LOOP_BEGIN and LOOP_END instructions.
558 (bfin_gen_loop): Likewise.
560 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
562 * config/tc-s390.c (md_parse_option): z10 option added.
564 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
566 * aclocal.m4: Regenerate.
567 * configure: Likewise.
568 * Makefile.in: Likewise.
569 * doc/Makefile.in: Likewise.
571 2008-03-17 Adrian Bunk <bunk@stusta.de>
574 * config/tc-hppa.c (is_same_frag): Delete.
576 2008-03-14 Sterling Augustine <sterling@tensilica.com>
578 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
579 RELAX_LOOP_END_ADD_NOP.
581 2008-03-13 Evandro Menezes <evandro@yahoo.com>
584 * read.c (s_mexit): Warn if attempting to exit a macro when not
585 inside a macro definition.
587 2008-03-13 Alan Modra <amodra@bigpond.net.au>
589 * Makefile.am: Run "make dep-am".
590 * Makefile.in: Regenerate.
591 * configure: Regenerate.
593 2008-03-09 Paul Brook <paul@codesourcery.com>
595 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
596 * doc/c-arm.texi: Add cortex-a9.
598 2008-03-09 Paul Brook <paul@codesourcery.com>
600 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
601 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
602 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
603 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
604 * doc/c-arm.texi: Document new ARM FPU variants.
606 2008-03-07 Paul Brook <paul@codesourcery.com>
608 * config/tc-arm.c (md_apply_fix): Use correct offset range.
610 2008-03-07 Alan Modra <amodra@bigpond.net.au>
612 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
613 for strict ordering of powerpc_opcodes, but disable for now.
615 2008-03-04 Paul Brook <paul@codesourcery.com>
617 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
618 (arm_ext_v7m): Rename...
619 (arm_ext_m): ... to this. Include v6-M.
620 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
621 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
622 (md_assemble): Allow wide msr instructions.
623 (insns): Add classifications for v6-m instructions.
624 (arm_cpu_option_table): Add cortex-m1.
625 (arm_arch_option_table): Add armv6-m.
626 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
628 2008-03-03 Sterling Augustine <sterling@tensilica.com>
629 Bob Wilson <bob.wilson@acm.org>
631 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
632 (md_begin): Initialize it.
633 (resources_conflict): Use it.
635 2008-03-03 Sterling Augustine <sterling@tensilica.com>
637 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
639 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
640 H.J. Lu <hongjiu.lu@intel.com>
643 * read.c (pseudo_set): Don't allow global register symbol.
645 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
648 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
651 * write.c (write_object_file): Don't allow symbols which were
652 equated to register. Stop if there is an error.
654 2008-03-01 Alan Modra <amodra@bigpond.net.au>
656 * config/tc-ppc.h (struct _ppc_fix_extra): New.
658 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
659 * config/tc-ppc.c (ppu_cpu): Make global.
660 (ppc_insert_operand): Add ppu_cpu parameter.
661 (md_assemble): Adjust for above change.
662 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
664 2008-02-22 Nick Clifton <nickc@redhat.com>
666 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
667 targeted ARM ports, otherwise just skip generating the reloc.
669 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
671 * doc/c-i386.texi: Update -march= and .arch.
673 2008-02-18 Nick Clifton <nickc@redhat.com>
675 * config/tc-mn10300.c (has_known_symbol_location): New function.
676 Do not regard weak symbols as having a known location.
677 (md_estimate_size_before_relax): Use new function.
678 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
680 2008-02-18 Jan Beulich <jbeulich@novell.com>
682 * config/tc-i386.c (match_template): Disallow 'l' suffix when
683 currently selected CPU has no 32-bit support.
684 (parse_real_register): Do not return registers not available on
685 currently selected CPU.
687 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
689 * config/tc-i386.c (process_immext): Fix format.
691 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
693 * config/tc-i386.c (inoutportreg): New.
694 (process_immext): New.
695 (md_assemble): Use it.
696 (update_imm): Use imm16 and imm32s.
697 (i386_att_operand): Use inoutportreg.
699 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
701 * config/tc-i386.c (operand_type_all_zero): New.
702 (operand_type_set): Likewise.
703 (operand_type_equal): Likewise.
704 (cpu_flags_all_zero): Likewise.
705 (cpu_flags_set): Likewise.
706 (cpu_flags_equal): Likewise.
707 (UINTS_ALL_ZERO): Removed.
708 (UINTS_SET): Likewise.
709 (UINTS_CLEAR): Likewise.
710 (UINTS_EQUAL): Likewise.
711 (cpu_flags_match): Updated.
712 (smallest_imm_type): Likewise.
713 (set_cpu_arch): Likewise.
714 (md_assemble): Likewise.
715 (optimize_imm): Likewise.
716 (match_template): Likewise.
717 (process_suffix): Likewise.
718 (update_imm): Likewise.
719 (process_drex): Likewise.
720 (process_operands): Likewise.
721 (build_modrm_byte): Likewise.
722 (i386_immediate): Likewise.
723 (i386_displacement): Likewise.
724 (i386_att_operand): Likewise.
725 (parse_real_register): Likewise.
726 (md_parse_option): Likewise.
727 (i386_target_format): Likewise.
729 2008-02-14 Dimitry Andric <dimitry@andric.com>
732 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
733 pointer past the comma after parsing a floating point register
736 2008-02-14 Hakan Ardo <hakan@debian.org>
739 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
741 (avr_operand): Disallow post-increment addressing in the lpm
742 instruction for the attiny26.
744 2008-02-13 Jan Beulich <jbeulich@novell.com>
746 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
747 if not in Intel mode.
748 (i386_intel_operand): Ignore segment overrides in immediate and
750 (intel_e11): Range-check i.mem_operands before use as array
751 index. Filter out FLAT for uses other than as segment override.
752 (intel_get_token): Remove broken promotion of "FLAT:" to mean
755 2008-02-13 Jan Beulich <jbeulich@novell.com>
757 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
759 2008-02-13 Jan Beulich <jbeulich@novell.com>
761 * config/tc-i386.c (allow_pseudo_reg): New.
762 (parse_real_register): Check for NULL just once. Allow all
763 register table entries when allow_pseudo_reg is non-zero.
764 Don't allow any registers without type when allow_pseudo_reg
766 (tc_x86_regname_to_dw2regnum): Replace with ...
767 (tc_x86_parse_to_dw2regnum): ... this.
768 (tc_x86_frame_initial_instructions): Adjust for above change.
769 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
770 (tc_parse_to_dw2regnum): New.
771 (tc_x86_regname_to_dw2regnum): Replace with ...
772 (tc_x86_parse_to_dw2regnum): ... this.
773 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
774 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
777 2008-02-12 Nick Clifton <nickc@redhat.com>
779 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
781 (tic4x_insn_add): Likewise.
782 (md_begin): Drop cast that was discarding a const qualifier.
783 * config/tc-d30v.c (get_reloc): Add const qualifier to op
785 (build_insn): Drop cast that was discarding a const qualifier.
787 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
789 * config/tc-i386.c (cpu_arch): Add .xsave.
790 (md_show_usage): Add .xsave.
792 * doc/c-i386.texi: Add xsave to -march=.
794 2008-02-07 Alan Modra <amodra@bigpond.net.au>
796 * read.c (s_weakref): Don't pass unadorned NULL to concat.
797 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
799 2008-02-05 Sterling Augustine <sterling@tensilica.com>
801 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
802 checks into assertions. When relaxation produces an operation that
803 does not fit in the current FLIX instruction, make sure that the
804 operation is relaxed as needed to account for being placed following
805 the current instruction.
807 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
810 * configure: Regenerated.
812 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
814 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
816 2008-01-31 Marc Gauthier <marc@tensilica.com>
818 * configure.tgt (xtensa*-*-*): Recognize processor variants.
820 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
822 * read.c: (emit_expr): Correct for mingw use of printf size
825 2008-01-24 Bob Wilson <bob.wilson@acm.org>
827 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
828 can only be encoded in FLIX instructions but are not specified as such.
829 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
832 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
834 * NEWS: Mention new command line options for x86 targets.
836 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
838 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
840 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
842 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
844 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
846 * config/tc-i386.c (md_show_usage): Show more processors for
849 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
851 * config/tc-i386.c (i386_target_format): Remove cpummx2.
853 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
855 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
856 (XXX_MNEM_SUFFIX): Likewise.
857 (END_OF_INSN): Likewise.
858 (templates): Likewise.
859 (modrm_byte): Likewise.
860 (rex_byte): Likewise.
861 (DREX_XXX): Likewise.
862 (drex_byte): Likewise.
863 (sib_byte): Likewise.
864 (processor_type): Likewise.
865 (arch_entry): Likewise.
866 (cpu_sub_arch_name): Remove const.
867 (cpu_arch): Add .vmx and .smx.
868 (set_cpu_arch): Append cpu_sub_arch_name.
869 (md_parse_option): Support -march=CPU[,+EXTENSION...].
870 (md_show_usage): Updated.
872 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
873 (XXX_MNEM_SUFFIX): Likewise.
874 (END_OF_INSN): Likewise.
875 (templates): Likewise.
876 (modrm_byte): Likewise.
877 (rex_byte): Likewise.
878 (DREX_XXX): Likewise.
879 (drex_byte): Likewise.
880 (sib_byte): Likewise.
881 (processor_type): Likewise.
882 (arch_entry): Likewise.
884 * doc/as.texinfo: Update i386 -march option.
886 * doc/c-i386.texi: Update -march= for ISA.
888 2008-01-18 Bob Wilson <bob.wilson@acm.org>
890 * config/tc-xtensa.c (xtensa_leb128): New function.
891 (md_pseudo_table): Use it for sleb128 and uleb128.
892 (is_leb128_expr): New internal flag.
893 (xtensa_symbol_new_hook): Check new flag.
895 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
897 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
898 at90usb82, at90usb162.
899 * doc/c-avr.texi: Change architecture grouping for at90usb82,
901 These changes support the new avr35 architecture group in gcc.
903 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
905 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
906 suffix for AT&T syntax.
908 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
910 * config/tc-i386.c (match_reg_size): New.
911 (match_mem_size): Likewise.
912 (operand_size_match): Likewise.
913 (operand_type_match): Also clear all size fields.
914 (match_template): Skip Intel syntax when in AT&T syntax.
915 Call operand_size_match to check operand size.
916 (i386_att_operand): Set the mem field to 1 for memory
918 (i386_intel_operand): Likewise.
920 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
923 * config/tc-i386.c (_i386_insn): Update comment.
924 (operand_type_match): Also clear unspecified.
925 (operand_type_register_match): Likewise.
926 (parse_operands): Initialize unspecified.
927 (i386_intel_operand): Likewise.
928 (match_template): Check memory and accumulator operand size.
929 (i386_att_operand): Clear unspecified on register operand.
930 (intel_e11): Likewise.
931 (intel_e09): Set operand size and clean unspecified for
934 2008-01-11 Andreas Schwab <schwab@suse.de>
936 * read.c (s_space): Declare `repeat' as offsetT.
938 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
940 * config/tc-i386.c (match_template): Check processor support
943 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
945 * config/tc-i386.c (match_template): Continue if processor
948 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
950 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
951 unwind personality function address.
953 2008-01-09 Bob Wilson <bob.wilson@acm.org>
955 * dwarf2dbg.c (out_sleb128): Delete.
956 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
957 (out_fixed_inc_line_addr): Delete.
958 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
959 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
960 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
961 (process_entries): Remove calls to out_fixed_inc_line_addr. When
962 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
963 * read.h (emit_expr_fix): New prototype.
964 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
965 (emit_expr_fix): New.
967 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
969 * config/tc-i386.c (match_template): Check register size
970 only when size of operands can be encoded the canonical way.
972 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
974 * config/tc-i386.c (i386_operand): Renamed to ...
975 (i386_att_operand): This.
976 (parse_operands): Updated.
978 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
980 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
982 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
984 (md_assemble): Remove Intel mode workaround.
985 (match_template): Check support for old gcc, AT&T mnemonic
987 (md_parse_option): Don't set intel_mnemonic to 0 for
990 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
992 * config/tc-i386.h: Update copyright to 2008.
994 2008-01-04 Nick Clifton <nickc@redhat.com>
996 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
997 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
999 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1001 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
1004 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1006 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
1007 (cpu_flags_not): Likewise.
1008 (cpu_flags_match): Updated to check 64bit and arch.
1009 (set_code_flag): Remove cpu_arch_flags_not.
1010 (set_16bit_gcc_code_flag): Likewise.
1011 (set_cpu_arch): Likewise.
1012 (md_begin): Likewise.
1013 (parse_insn): Call cpu_flags_match to check 64bit and arch.
1014 (match_template): Likewise.
1016 2008-01-03 Jakub Jelinek <jakub@redhat.com>
1018 * config/tc-i386.c (process_drex): Initialize modrm_reg and
1019 modrm_regmem to 0 instead of None.
1021 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1023 * config/tc-i386.c (match_template): Use the xmmword field
1026 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1028 * config/tc-i386.c (process_suffix): Fix a typo.
1030 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1033 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1034 Check memory size in Intel mode.
1035 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1036 (intel_e09): Likewise.
1038 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1040 2008-01-02 Catherine Moore <clm@codesourcery.com>
1042 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1044 For older changes see ChangeLog-2007
1050 version-control: never