1 2008-08-08 Sterling Augustine <sterling@tensilica.com>
3 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
4 (xtensa_create_property_segments): Use it.
5 (xtensa_create_xproperty_segments): Likewise.
7 2008-08-08 Alan Modra <amodra@bigpond.net.au>
9 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
11 2008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
13 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
14 (lo16_reloc_p): New functions.
15 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
16 generalize relocation checks.
17 (matching_lo_reloc): New function.
18 (fixup_has_matching_lo_p): Use it.
19 (mips16_mark_labels): Don't clobber a symbol's visibility.
20 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
21 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
22 (md_apply_fix): Likewise.
23 (mips16_percent_op): Add %got and %call16.
24 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
25 Use matching_lo_reloc.
26 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
27 generalize relocation checks.
28 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
31 2008-08-06 DJ Delorie <dj@redhat.com>
33 * NEWS: Mention these changes.
35 * config/tc-h8300.h (H_TICK_HEX): Define.
36 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
37 (md_longopts): Add "-h-tick-hex".
38 (md_parse_option): Support it.
39 * doc/c-h8300.texi (H8/300 Options): Document it.
40 * doc/as.texinfo (Overview): Likewise.
42 * config/tc-sh.h (H_TICK_HEX): Define.
43 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
44 (md_longopts): Add "-h-tick-hex".
45 (md_parse_option): Support it.
46 * doc/c-sh.texi (SH Options): Document it.
47 * doc/c-sh64.texi (SH64 Options): Document it.
48 * doc/as.texinfo (Overview): Likewise.
50 2008-08-05 Alan Modra <amodra@bigpond.net.au>
53 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
54 debug info if we see compiler generated debug info.
55 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
57 2008-08-04 Alan Modra <amodra@bigpond.net.au>
59 * dwarf2dbg.c: Remove superfluous forward function declarations.
60 (DWARF2_FORMAT): Add section arg.
61 (out_header): New function, split out from..
62 (out_debug_line): ..here.
63 (out_debug_aranges): Use out_header.
64 (out_debug_abbrev): Add info_seg and line_seg args. Use
65 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
66 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
67 if line_seg is 64-bit.
68 (dwarf2_finish): Adjust out_debug_abbrev call.
69 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
70 * config/tc-mips.c (mips_dwarf2_format): Likewise.
72 2008-08-04 Alan Modra <amodra@bigpond.net.au>
74 * Makefile.am (POTFILES.in): Set LC_ALL=C.
75 * Makefile.in: Regenerate.
76 * po/POTFILES.in: Regenerate.
78 2008-08-01 Peter Bergner <bergner@vnet.ibm.com>
80 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
81 Handle -mvsx and -mpower7.
82 (md_show_usage): Document -mpower7 and -mvsx.
83 * doc/as.texinfo (Target PowerPC): Document -mvsx.
84 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
86 2008-07-31 Peter Bergner <bergner@vnet.ibm.com>
88 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
91 2008-07-30 Michael J. Eager <eager@eagercon.com>
93 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
94 (md_show_usage): Likewise.
96 2008-07-30 Alan Modra <amodra@bigpond.net.au>
98 * messages.c, symbols.c, write.c: Silence gcc warnings.
100 2008-07-28 Ineiev <ineiev@yahoo.co.uk>
102 * config/tc-i386.c (operand_type_check): Warning fix.
104 2008-07-26 Michael Eager <eager@eagercon.com>
106 * doc/as.texinfo: Add description of single-precision attribute.
108 2008-07-24 Jie Zhang <jie.zhang@analog.com>
110 * config/bfin-parse.y (asm_1): Error if plain symbol is used
111 as load/store offset.
113 2008-07-22 Chao-ying Fu <fu@mips.com>
115 * config/tc-mips.c (mips_ip): Reset s to argsStart.
117 2008-07-22 Jie Zhang <jie.zhang@analog.com>
119 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
121 2008-07-21 DJ Delorie <dj@redhat.com>
123 * config/tc-h8300.c (fix_operand_size): Use the default size
124 specified by the .lbranch/.sbranch pseudos.
126 2008-07-18 DJ Delorie <dj@redhat.com>
128 * config/tc-m32c.h (H_TICK_HEX): Define.
129 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
130 (md_longopts): Add support for it.
131 (md_parse_option): Likewise.
132 * doc/as.texinfo (Overview): Add new m32c options.
133 * doc/c-m32c.texi (M32C-Modifiers): Likewise
135 * as.h: (enable_h_tick_hex): New.
136 * app.c (enable_h_tick_hex): New.
138 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
139 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
140 style hex constants and convert the input stream to 0x00 style.
141 (do_scrub_chars): If a 'X style character constant is found after
142 a symbol character (like you're or X'00), warn the user.
144 2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
146 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
147 (mips_fix_adjustable): Likewise.
148 (mips_frob_file_after_relocs): Likewise.
150 2008-07-08 Nathan Sidwell <nathan@codesourcery.com>
152 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
153 about overriding an earlier setting.
155 2008-07-07 Adam Nemet <anemet@caviumnetworks.com>
157 * config/tc-mips.c (NO_ISA_COP): New macro.
158 (COP_INSN): New macro.
159 (is_opcode_valid): Use them.
160 (macro) <ld_st>: Use them. Don't accept coprocessor load store
161 insns based on the ISA if CPU is NO_ISA_COP.
162 <copz>: Likewise for coprocessor operations.
164 2008-07-07 Paul Brook <paul@codesourcery.com>
166 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
169 2008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
171 * configure.tgt: Add bfin-*-rtems*.
173 2008-07-04 Alan Modra <amodra@bigpond.net.au>
175 * config/tc-spu.c (md_apply_fix): Handle fully resolved
176 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
178 2008-06-25 Peter Bergner <bergner@vnet.ibm.com>
180 * config/tc-ppc.c (parse_cpu): Handle -m464.
181 (md_show_usage): Likewise.
183 2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
185 Add support for ATtiny13A.
186 * config/tc-avr.c (mcu_types): Add attiny13a.
187 * doc/c-avr.texi: Likewise.
189 2008-06-24 Bob Wilson <bob.wilson@acm.org>
190 Alan Modra <amodra@bigpond.net.au>
192 * write.c (relax_segment <rs_org>): Include current stretch
193 value when calculating whether .org is backwards.
195 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
197 * configure: Regenerate.
199 2008-06-17 Nick Clifton <nickc@redhat.com>
201 * app.c (do_scrub_chars): Do not UNGET an EOF value.
203 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
206 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
207 text_section. Do the "stepping backwards" test for text_section
208 using unsigned operands.
210 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
212 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
213 (ppc_insert_operand): Likewise.
214 (ppc_machine): Likewise.
215 * config/tc-ppc.h: #include "opcode/ppc.h"
216 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
217 (ppc_cpu): Update extern decl.
219 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
221 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
222 +x, +X, +p, +P, +s, +S.
225 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
227 (macro_build): Likewise.
228 (CPU_HAS_SEQ): New macro.
229 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
231 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
233 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
234 * doc/c-avr.texi: Likewise.
236 2008-06-04 Nick Clifton <nickc@redhat.com>
238 * app.c (do_scrub_chars): Do not UNGET an EOF value.
240 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
242 * config/tc-i386.c (set_sse_check): New.
243 (md_pseudo_table): Add "sse_check".
245 2008-06-03 Paul Brook <paul@codesourcery.com>
247 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
249 2008-05-30 Nick Clifton <nickc@redhat.com>
252 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
255 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
257 * config/tc-mips.c (mips_cpu_info_table): Move records for
258 ST Loongson-2E/2F processors to a better place.
260 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
263 * config/tc-i386.c (match_template): Report ambiguous operand
264 size, not invalid suffix when there is no match in Intel
267 2008-05-22 Paul Brook <paul@codesourcery.com>
269 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
271 2008-05-21 I-Jui Sung <ijsung@gmail.com>
273 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
274 compatible cores: fa526, fa626, fa626te, fa726te.
275 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
278 2008-05-14 Alan Modra <amodra@bigpond.net.au>
280 * Makefile.am: Run "make dep-am".
281 * Makefile.in: Regenerate.
282 * doc/Makefile.in: Regenerate.
283 * po/POTFILES.in: Regenerate.
285 2008-05-09 Catherine Moore <clm@codesourcery.com>
287 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
288 with non-MIPS16 relocs.
290 2008-05-09 Chao-ying Fu <fu@mips.com>
292 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
293 case that some characters append at the end of the name.
295 (s_change_sec): Likewise.
296 (md_section_align): Likewise.
298 2008-05-07 Bob Wilson <bob.wilson@acm.org>
300 * config/tc-xtensa.c (xtensa_create_property_segments): Use
301 xtensa_make_property_section instead of xtensa_get_property_section.
302 (xtensa_create_xproperty_segments): Likewise.
304 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
306 * NEWS: Mention XSAVE, EPT and MOVBE.
308 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
309 (md_show_usage): Add .movbe and .ept.
311 * doc/c-i386.texi: Add movbe and ept to -march=. Document
314 2008-04-29 David S. Miller <davem@davemloft.net>
316 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
318 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
320 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
322 (OPTION_ELF_BASE): Make room for new option macros.
323 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
324 OPTION_DOUBLE_FLOAT): New option macros.
325 (md_longopts): Add msoft-float, mhard-float, msingle-float and
327 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
328 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
329 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
331 (struct mips_set_options): New fields soft_float and single_float.
332 (mips_opts): Initialized them. Add comment for each field
334 (mips_after_parse_args): Set them based on file_mips_soft_float
335 and file_mips_single_float.
336 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
337 `.set singlefloat' and `.set doublefloat'.
338 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
339 Handle single-float and soft-float instructions here.
340 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
341 (is_opcode_valid_16): New function.
342 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
343 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
344 M_S_DOB>: Remove special-casing of r4650.
345 * doc/c-mips.texi (-march=): Add Octeon.
346 (MIPS Opts): Document -msoft-float and -mhard-float. Document
347 -msingle-float and -mdouble-float.
348 (MIPS floating-point): New section. Document `.set softfloat' and
349 `.set hardfloat'. Document `.set singlefloat' and `.set
352 2008-04-25 David S. Miller <davem@davemloft.net>
354 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
357 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
358 rather than occaisionally 'levels'. Consistently refer to Sun's
359 UNIX variant as SunOS, every version of Solaris is also SunOS.
360 Document new 'softint_clear' and 'softint_set' aliases. Clarify
361 which architecture versions support '%dcr', '%cq', and '%gl'. Add
362 section on 32-bit/64-bit opcode translations.
364 2008-04-23 Mike Frysinger <vapier@gentoo.org>
366 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
367 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
368 (obj-fdpicelf.o): Define.
369 * Makefile.in: Regenerate.
370 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
372 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
373 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
374 * config/obj-fdpicelf.c: New.
375 * config/obj-fdpicelf.h: Likewise.
376 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
377 the OBJ_FDPIC_ELF define.
378 (OPTION_NOPIC): Define.
379 (md_longopts): Add mnopic and mno-fdpic.
380 (md_parse_option): Handle OPTION_NOPIC.
382 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
384 * aclocal.m4: Regenerate.
385 * configure: Regenerate.
387 2008-04-23 David S. Miller <davem@davemloft.net>
389 * config/tc-sparc.c (v9a_asr_table): Add missing
390 'stick' and 'stick_cmpr', and document ordering rules
392 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
393 BFD_RELOC_SPARC_PC10.
394 * doc/c-sparc.texi: New section on Sparc constants.
395 Add documentation for %stick and %stick_cmpr.
397 2008-04-22 David S. Miller <davem@davemloft.net>
399 * config/obj-elf.c (obj_elf_section_type): Add prototype
400 before obj_elf_section_word and add 'warn' arg.
401 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
402 is matched, try checking for #SECTION_TYPE.
403 (obj_elf_section): Adjust for new args.
404 (obj_elf_type_name): New function.
405 (obj_elf_type): Call it, and accept STT_foo number strings
406 in .type statements as output by SunPRO compiler.
408 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
410 * config/tc-i386.c (md_assemble): Don't check SSE instructions
413 2008-04-18 David S. Miller <davem@davemloft.net>
415 * doc/c-sparc.texi: Add syntax section.
417 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
419 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
420 REG and NDS for instructions with immediate operand.
422 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
424 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
427 2008-04-16 David S. Miller <davem@davemloft.net>
429 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
430 and relocation generation.
431 (tc_gen_reloc): Likewise.
433 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
435 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
436 relocations are properly aligned, and not negative.
438 2008-04-15 Khem Raj <kraj@mvista.com>
440 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
442 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
444 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
445 accept e500mc instructions.
446 (md_show_usage): Document -me500mc.
448 2008-04-11 Nick Clifton <nickc@redhat.com>
450 * listing.c (print_timestamp): Use localtime rather than
451 localtime_r since not all build environments provide the latter.
453 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
455 * NEWS: Mention -msse-check=[none|error|warning].
457 * config/tc-i386.c (sse_check): New.
458 (OPTION_MSSE_CHECK): Likewise.
459 (md_assemble): Check SSE instructions if needed.
460 (md_longopts): Add -msse-check.
461 (md_parse_option): Handle OPTION_MSSE_CHECK.
462 (md_show_usage): Show -msse-check=[none|error|warning].
464 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
466 2008-04-10 Santiago Urueña <suruena@gmail.com>
468 * listing.c: Add -ag listing flag to show general information in
469 listings such as gas version, passed options, and time stamp.
470 (listing_general_info): New function.
471 (print_options): New function.
472 (print_single_option): New function.
473 (print_timestamp): New function.
474 (MAX_DATELEN): Define.
475 (listing_print): Add call to listing_general_info.
476 * listing.h (LISTING_GENERAL): Define.
477 (listing_print): Add new parameter.
478 * as.c (show_usage): Print new switch.
479 (parse_args): Parse new switch.
480 (main): Pass command line on to listing_print.
481 * NEWS: Mention this new feature.
482 * doc/as.texinfo: Document the new sub-option.
484 2008-04-08 Alan Modra <amodra@bigpond.net.au>
486 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
487 call. Delete out of date comment.
488 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
489 (dwarf2_emit_label): Don't emit unless there has been a previous
490 .file or we are outputting assembler generated debug.
491 dwarf2_consume_line_info after emitting line info, not before.
492 (out_debug_info): Simplify files_in_use test.
494 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
496 * config/tc-i386.c (parse_real_register): Return AVX register
497 only if AVX is enabled.
499 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
502 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
503 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
505 2008-04-04 Adrian Bunk <bunk@stusta.de>
506 Bob Wilson <bob.wilson@acm.org>
508 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
509 call to decode_reloc.
511 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
513 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
515 * config/tc-i386.c (cpu_arch): Add .pclmul.
516 (md_show_usage): Replace clmul with pclmul.
517 * doc/c-i386.texi: Likewise.
519 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
521 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
523 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
524 Document -msse2avx, .avx, .aes, .clmul and .fma.
526 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
527 (vex_prefix): Likewise.
529 (CPU_FLAGS_ARCH_MATCH): Likewise.
530 (CPU_FLAGS_64BIT_MATCH): Likewise.
531 (CPU_FLAGS_32BIT_MATCH): Likewise.
532 (CPU_FLAGS_PERFECT_MATCH): Likewise.
534 (vex_imm4): Likewise.
535 (fits_in_imm4): Likewise.
536 (build_vex_prefix): Likewise.
537 (VEX_check_operands): Likewise.
538 (bad_implicit_operand): Likewise.
539 (OPTION_MSSE2AVX): Likewise.
540 (T_YMMWORD): Likewise.
541 (_i386_insn): Add vex.
542 (cpu_arch): Add .avx, .aes, .clmul and .fma.
543 (cpu_flags_match): Changed to take a pointer to const template.
544 Enable encoding SSE instructions with VEX prefix for -msse2avx.
545 (match_mem_size): Also check ymmword.
546 (operand_type_match): Clear ymmword.
547 (md_begin): Allow '_' in mnemonic.
548 (type_names): Add OPERAND_TYPE_VEX_IMM4.
549 (process_immext): Update assert.
550 (md_assemble): Don't call process_immext if sse2avx and immext
551 are true. Call build_vex_prefix if vex is true.
552 (parse_insn): Updated for cpu_flags_match.
553 (swap_operands): Handle 5 operands.
554 (match_template): Handle 5 operands. Updated for cpu_flags_match.
555 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
556 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
557 (check_byte_reg): Check regymm.
558 (process_operands): Duplicate the destination register for
560 (build_modrm_byte): Updated for instructions with VEX encoding.
561 (output_insn): Output VEX prefix if needed.
562 (md_longopts): Add msse2avx.
563 (md_parse_option): Handle OPTION_MSSE2AVX.
564 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
565 (intel_e09): Support YMMWORD.
566 (intel_e11): Likewise.
567 (intel_get_token): Likewise.
569 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
571 * config/tc-avr.c (mcu_types): Add attiny167.
572 * doc/c-avr.texi: Likewise.
574 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
576 * config/tc-avr.c (mcu_types): Add atmega32u4.
577 * doc/c-avr.texi: Likewise.
579 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
581 * config/tc-avr.c (mcu_types): Add atmega32c1.
582 * doc/c-avr.texi: Likewise.
584 2008-03-28 Paul Brook <paul@codesourcery.com>
586 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
587 to avoid spurious symbols.
589 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
591 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
594 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
596 * config/tc-avr.c (mcu_types): Add atmega32m1.
597 * doc/c-avr.texi: Likewise.
599 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
601 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
603 (do_neon_ext): Fix sign of comparison.
605 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
607 From Jie Zhang <jie.zhang@analog.com>
608 * config/bfin-parse.y (asm_1): Check AREGS in comparison
609 instructions. And call yyerror when comparing PREG with
611 (check_macfunc_option): New.
612 (check_macfuncs): Check option by calling check_macfunc_option.
613 Fix comparison always true warnings. Both scalar instructions
614 of vector instruction must share the same mode option. Only allow
615 option mode at the end of the second instruction of the vector.
616 (asm_1): Check option by calling check_macfunc_option.
618 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
619 option for multiply and multiply-accumulate to data register
621 (check_macfuncs): Don't check if accumulator matches the data register
623 (assign_macfunc): Check if accumulator matches the
624 data register in each rule that moves to the data
627 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
628 generated for LOOP_BEGIN and LOOP_END instructions.
629 (bfin_gen_loop): Likewise.
631 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
633 * config/tc-s390.c (md_parse_option): z10 option added.
635 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
637 * aclocal.m4: Regenerate.
638 * configure: Likewise.
639 * Makefile.in: Likewise.
640 * doc/Makefile.in: Likewise.
642 2008-03-17 Adrian Bunk <bunk@stusta.de>
645 * config/tc-hppa.c (is_same_frag): Delete.
647 2008-03-14 Sterling Augustine <sterling@tensilica.com>
649 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
650 RELAX_LOOP_END_ADD_NOP.
652 2008-03-13 Evandro Menezes <evandro@yahoo.com>
655 * read.c (s_mexit): Warn if attempting to exit a macro when not
656 inside a macro definition.
658 2008-03-13 Alan Modra <amodra@bigpond.net.au>
660 * Makefile.am: Run "make dep-am".
661 * Makefile.in: Regenerate.
662 * configure: Regenerate.
664 2008-03-09 Paul Brook <paul@codesourcery.com>
666 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
667 * doc/c-arm.texi: Add cortex-a9.
669 2008-03-09 Paul Brook <paul@codesourcery.com>
671 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
672 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
673 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
674 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
675 * doc/c-arm.texi: Document new ARM FPU variants.
677 2008-03-07 Paul Brook <paul@codesourcery.com>
679 * config/tc-arm.c (md_apply_fix): Use correct offset range.
681 2008-03-07 Alan Modra <amodra@bigpond.net.au>
683 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
684 for strict ordering of powerpc_opcodes, but disable for now.
686 2008-03-04 Paul Brook <paul@codesourcery.com>
688 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
689 (arm_ext_v7m): Rename...
690 (arm_ext_m): ... to this. Include v6-M.
691 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
692 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
693 (md_assemble): Allow wide msr instructions.
694 (insns): Add classifications for v6-m instructions.
695 (arm_cpu_option_table): Add cortex-m1.
696 (arm_arch_option_table): Add armv6-m.
697 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
699 2008-03-03 Sterling Augustine <sterling@tensilica.com>
700 Bob Wilson <bob.wilson@acm.org>
702 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
703 (md_begin): Initialize it.
704 (resources_conflict): Use it.
706 2008-03-03 Sterling Augustine <sterling@tensilica.com>
708 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
710 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
711 H.J. Lu <hongjiu.lu@intel.com>
714 * read.c (pseudo_set): Don't allow global register symbol.
716 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
719 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
722 * write.c (write_object_file): Don't allow symbols which were
723 equated to register. Stop if there is an error.
725 2008-03-01 Alan Modra <amodra@bigpond.net.au>
727 * config/tc-ppc.h (struct _ppc_fix_extra): New.
729 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
730 * config/tc-ppc.c (ppu_cpu): Make global.
731 (ppc_insert_operand): Add ppu_cpu parameter.
732 (md_assemble): Adjust for above change.
733 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
735 2008-02-22 Nick Clifton <nickc@redhat.com>
737 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
738 targeted ARM ports, otherwise just skip generating the reloc.
740 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
742 * doc/c-i386.texi: Update -march= and .arch.
744 2008-02-18 Nick Clifton <nickc@redhat.com>
746 * config/tc-mn10300.c (has_known_symbol_location): New function.
747 Do not regard weak symbols as having a known location.
748 (md_estimate_size_before_relax): Use new function.
749 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
751 2008-02-18 Jan Beulich <jbeulich@novell.com>
753 * config/tc-i386.c (match_template): Disallow 'l' suffix when
754 currently selected CPU has no 32-bit support.
755 (parse_real_register): Do not return registers not available on
756 currently selected CPU.
758 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
760 * config/tc-i386.c (process_immext): Fix format.
762 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
764 * config/tc-i386.c (inoutportreg): New.
765 (process_immext): New.
766 (md_assemble): Use it.
767 (update_imm): Use imm16 and imm32s.
768 (i386_att_operand): Use inoutportreg.
770 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
772 * config/tc-i386.c (operand_type_all_zero): New.
773 (operand_type_set): Likewise.
774 (operand_type_equal): Likewise.
775 (cpu_flags_all_zero): Likewise.
776 (cpu_flags_set): Likewise.
777 (cpu_flags_equal): Likewise.
778 (UINTS_ALL_ZERO): Removed.
779 (UINTS_SET): Likewise.
780 (UINTS_CLEAR): Likewise.
781 (UINTS_EQUAL): Likewise.
782 (cpu_flags_match): Updated.
783 (smallest_imm_type): Likewise.
784 (set_cpu_arch): Likewise.
785 (md_assemble): Likewise.
786 (optimize_imm): Likewise.
787 (match_template): Likewise.
788 (process_suffix): Likewise.
789 (update_imm): Likewise.
790 (process_drex): Likewise.
791 (process_operands): Likewise.
792 (build_modrm_byte): Likewise.
793 (i386_immediate): Likewise.
794 (i386_displacement): Likewise.
795 (i386_att_operand): Likewise.
796 (parse_real_register): Likewise.
797 (md_parse_option): Likewise.
798 (i386_target_format): Likewise.
800 2008-02-14 Dimitry Andric <dimitry@andric.com>
803 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
804 pointer past the comma after parsing a floating point register
807 2008-02-14 Hakan Ardo <hakan@debian.org>
810 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
812 (avr_operand): Disallow post-increment addressing in the lpm
813 instruction for the attiny26.
815 2008-02-13 Jan Beulich <jbeulich@novell.com>
817 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
818 if not in Intel mode.
819 (i386_intel_operand): Ignore segment overrides in immediate and
821 (intel_e11): Range-check i.mem_operands before use as array
822 index. Filter out FLAT for uses other than as segment override.
823 (intel_get_token): Remove broken promotion of "FLAT:" to mean
826 2008-02-13 Jan Beulich <jbeulich@novell.com>
828 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
830 2008-02-13 Jan Beulich <jbeulich@novell.com>
832 * config/tc-i386.c (allow_pseudo_reg): New.
833 (parse_real_register): Check for NULL just once. Allow all
834 register table entries when allow_pseudo_reg is non-zero.
835 Don't allow any registers without type when allow_pseudo_reg
837 (tc_x86_regname_to_dw2regnum): Replace with ...
838 (tc_x86_parse_to_dw2regnum): ... this.
839 (tc_x86_frame_initial_instructions): Adjust for above change.
840 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
841 (tc_parse_to_dw2regnum): New.
842 (tc_x86_regname_to_dw2regnum): Replace with ...
843 (tc_x86_parse_to_dw2regnum): ... this.
844 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
845 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
848 2008-02-12 Nick Clifton <nickc@redhat.com>
850 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
852 (tic4x_insn_add): Likewise.
853 (md_begin): Drop cast that was discarding a const qualifier.
854 * config/tc-d30v.c (get_reloc): Add const qualifier to op
856 (build_insn): Drop cast that was discarding a const qualifier.
858 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
860 * config/tc-i386.c (cpu_arch): Add .xsave.
861 (md_show_usage): Add .xsave.
863 * doc/c-i386.texi: Add xsave to -march=.
865 2008-02-07 Alan Modra <amodra@bigpond.net.au>
867 * read.c (s_weakref): Don't pass unadorned NULL to concat.
868 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
870 2008-02-05 Sterling Augustine <sterling@tensilica.com>
872 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
873 checks into assertions. When relaxation produces an operation that
874 does not fit in the current FLIX instruction, make sure that the
875 operation is relaxed as needed to account for being placed following
876 the current instruction.
878 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
881 * configure: Regenerated.
883 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
885 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
887 2008-01-31 Marc Gauthier <marc@tensilica.com>
889 * configure.tgt (xtensa*-*-*): Recognize processor variants.
891 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
893 * read.c: (emit_expr): Correct for mingw use of printf size
896 2008-01-24 Bob Wilson <bob.wilson@acm.org>
898 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
899 can only be encoded in FLIX instructions but are not specified as such.
900 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
903 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
905 * NEWS: Mention new command line options for x86 targets.
907 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
909 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
911 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
913 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
915 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
917 * config/tc-i386.c (md_show_usage): Show more processors for
920 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
922 * config/tc-i386.c (i386_target_format): Remove cpummx2.
924 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
926 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
927 (XXX_MNEM_SUFFIX): Likewise.
928 (END_OF_INSN): Likewise.
929 (templates): Likewise.
930 (modrm_byte): Likewise.
931 (rex_byte): Likewise.
932 (DREX_XXX): Likewise.
933 (drex_byte): Likewise.
934 (sib_byte): Likewise.
935 (processor_type): Likewise.
936 (arch_entry): Likewise.
937 (cpu_sub_arch_name): Remove const.
938 (cpu_arch): Add .vmx and .smx.
939 (set_cpu_arch): Append cpu_sub_arch_name.
940 (md_parse_option): Support -march=CPU[,+EXTENSION...].
941 (md_show_usage): Updated.
943 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
944 (XXX_MNEM_SUFFIX): Likewise.
945 (END_OF_INSN): Likewise.
946 (templates): Likewise.
947 (modrm_byte): Likewise.
948 (rex_byte): Likewise.
949 (DREX_XXX): Likewise.
950 (drex_byte): Likewise.
951 (sib_byte): Likewise.
952 (processor_type): Likewise.
953 (arch_entry): Likewise.
955 * doc/as.texinfo: Update i386 -march option.
957 * doc/c-i386.texi: Update -march= for ISA.
959 2008-01-18 Bob Wilson <bob.wilson@acm.org>
961 * config/tc-xtensa.c (xtensa_leb128): New function.
962 (md_pseudo_table): Use it for sleb128 and uleb128.
963 (is_leb128_expr): New internal flag.
964 (xtensa_symbol_new_hook): Check new flag.
966 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
968 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
969 at90usb82, at90usb162.
970 * doc/c-avr.texi: Change architecture grouping for at90usb82,
972 These changes support the new avr35 architecture group in gcc.
974 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
976 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
977 suffix for AT&T syntax.
979 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
981 * config/tc-i386.c (match_reg_size): New.
982 (match_mem_size): Likewise.
983 (operand_size_match): Likewise.
984 (operand_type_match): Also clear all size fields.
985 (match_template): Skip Intel syntax when in AT&T syntax.
986 Call operand_size_match to check operand size.
987 (i386_att_operand): Set the mem field to 1 for memory
989 (i386_intel_operand): Likewise.
991 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
994 * config/tc-i386.c (_i386_insn): Update comment.
995 (operand_type_match): Also clear unspecified.
996 (operand_type_register_match): Likewise.
997 (parse_operands): Initialize unspecified.
998 (i386_intel_operand): Likewise.
999 (match_template): Check memory and accumulator operand size.
1000 (i386_att_operand): Clear unspecified on register operand.
1001 (intel_e11): Likewise.
1002 (intel_e09): Set operand size and clean unspecified for
1005 2008-01-11 Andreas Schwab <schwab@suse.de>
1007 * read.c (s_space): Declare `repeat' as offsetT.
1009 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1011 * config/tc-i386.c (match_template): Check processor support
1014 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
1016 * config/tc-i386.c (match_template): Continue if processor
1019 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
1021 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
1022 unwind personality function address.
1024 2008-01-09 Bob Wilson <bob.wilson@acm.org>
1026 * dwarf2dbg.c (out_sleb128): Delete.
1027 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
1028 (out_fixed_inc_line_addr): Delete.
1029 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
1030 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
1031 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
1032 (process_entries): Remove calls to out_fixed_inc_line_addr. When
1033 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
1034 * read.h (emit_expr_fix): New prototype.
1035 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
1036 (emit_expr_fix): New.
1038 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
1040 * config/tc-i386.c (match_template): Check register size
1041 only when size of operands can be encoded the canonical way.
1043 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
1045 * config/tc-i386.c (i386_operand): Renamed to ...
1046 (i386_att_operand): This.
1047 (parse_operands): Updated.
1049 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
1051 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
1053 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
1055 (md_assemble): Remove Intel mode workaround.
1056 (match_template): Check support for old gcc, AT&T mnemonic
1058 (md_parse_option): Don't set intel_mnemonic to 0 for
1061 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
1063 * config/tc-i386.h: Update copyright to 2008.
1065 2008-01-04 Nick Clifton <nickc@redhat.com>
1067 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
1068 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
1070 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1072 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
1075 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1077 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
1078 (cpu_flags_not): Likewise.
1079 (cpu_flags_match): Updated to check 64bit and arch.
1080 (set_code_flag): Remove cpu_arch_flags_not.
1081 (set_16bit_gcc_code_flag): Likewise.
1082 (set_cpu_arch): Likewise.
1083 (md_begin): Likewise.
1084 (parse_insn): Call cpu_flags_match to check 64bit and arch.
1085 (match_template): Likewise.
1087 2008-01-03 Jakub Jelinek <jakub@redhat.com>
1089 * config/tc-i386.c (process_drex): Initialize modrm_reg and
1090 modrm_regmem to 0 instead of None.
1092 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
1094 * config/tc-i386.c (match_template): Use the xmmword field
1097 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1099 * config/tc-i386.c (process_suffix): Fix a typo.
1101 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1104 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1105 Check memory size in Intel mode.
1106 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1107 (intel_e09): Likewise.
1109 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1111 2008-01-02 Catherine Moore <clm@codesourcery.com>
1113 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1115 For older changes see ChangeLog-2007
1121 version-control: never