3 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
8 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
9 (md_show_usage): Likewise.
13 * messages.c, symbols.c, write.c: Silence gcc warnings.
17 * config/tc-i386.c (operand_type_check): Warning fix.
21 * doc/as.texinfo: Add description of single-precision attribute.
25 * config/bfin-parse.y (asm_1): Error if plain symbol is used
30 * config/tc-mips.c (mips_ip): Reset s to argsStart.
34 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
38 * config/tc-h8300.c (fix_operand_size): Use the default size
39 specified by the .lbranch/.sbranch pseudos.
43 * config/tc-m32c.h (H_TICK_HEX): Define.
44 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
45 (md_longopts): Add support for it.
46 (md_parse_option): Likewise.
47 * doc/as.texinfo (Overview): Add new m32c options.
48 * doc/c-m32c.texi (M32C-Modifiers): Likewise
50 * as.h: (enable_h_tick_hex): New.
51 * app.c (enable_h_tick_hex): New.
53 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
54 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
55 style hex constants and convert the input stream to 0x00 style.
56 (do_scrub_chars): If a 'X style character constant is found after
57 a symbol character (like you're or X'00), warn the user.
61 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
62 (mips_fix_adjustable): Likewise.
63 (mips_frob_file_after_relocs): Likewise.
67 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
68 about overriding an earlier setting.
72 * config/tc-mips.c (NO_ISA_COP): New macro.
73 (COP_INSN): New macro.
74 (is_opcode_valid): Use them.
75 (macro) <ld_st>: Use them. Don't accept coprocessor load store
76 insns based on the ISA if CPU is NO_ISA_COP.
77 <copz>: Likewise for coprocessor operations.
81 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
86 * configure.tgt: Add bfin-*-rtems*.
90 * config/tc-spu.c (md_apply_fix): Handle fully resolved
91 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
95 * config/tc-ppc.c (parse_cpu): Handle -m464.
96 (md_show_usage): Likewise.
100 Add support for ATtiny13A.
101 * config/tc-avr.c (mcu_types): Add attiny13a.
102 * doc/c-avr.texi: Likewise.
107 * write.c (relax_segment <rs_org>): Include current stretch
108 value when calculating whether .org is backwards.
112 * configure: Regenerate.
116 * app.c (do_scrub_chars): Do not UNGET an EOF value.
121 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
122 text_section. Do the "stepping backwards" test for text_section
123 using unsigned operands.
127 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
128 (ppc_insert_operand): Likewise.
129 (ppc_machine): Likewise.
130 * config/tc-ppc.h: #include "opcode/ppc.h"
131 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
132 (ppc_cpu): Update extern decl.
136 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
137 +x, +X, +p, +P, +s, +S.
140 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
142 (macro_build): Likewise.
143 (CPU_HAS_SEQ): New macro.
144 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
148 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
149 * doc/c-avr.texi: Likewise.
153 * app.c (do_scrub_chars): Do not UNGET an EOF value.
157 * config/tc-i386.c (set_sse_check): New.
158 (md_pseudo_table): Add "sse_check".
162 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
167 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
172 * config/tc-mips.c (mips_cpu_info_table): Move records for
173 ST Loongson-2E/2F processors to a better place.
178 * config/tc-i386.c (match_template): Report ambiguous operand
179 size, not invalid suffix when there is no match in Intel
184 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
188 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
189 compatible cores: fa526, fa626, fa626te, fa726te.
190 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
195 * Makefile.am: Run "make dep-am".
196 * Makefile.in: Regenerate.
197 * doc/Makefile.in: Regenerate.
198 * po/POTFILES.in: Regenerate.
202 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
203 with non-MIPS16 relocs.
207 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
208 case that some characters append at the end of the name.
210 (s_change_sec): Likewise.
211 (md_section_align): Likewise.
215 * config/tc-xtensa.c (xtensa_create_property_segments): Use
216 xtensa_make_property_section instead of xtensa_get_property_section.
217 (xtensa_create_xproperty_segments): Likewise.
221 * NEWS: Mention XSAVE, EPT and MOVBE.
223 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
224 (md_show_usage): Add .movbe and .ept.
226 * doc/c-i386.texi: Add movbe and ept to -march=. Document
231 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
235 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
237 (OPTION_ELF_BASE): Make room for new option macros.
238 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
239 OPTION_DOUBLE_FLOAT): New option macros.
240 (md_longopts): Add msoft-float, mhard-float, msingle-float and
242 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
243 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
244 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
246 (struct mips_set_options): New fields soft_float and single_float.
247 (mips_opts): Initialized them. Add comment for each field
249 (mips_after_parse_args): Set them based on file_mips_soft_float
250 and file_mips_single_float.
251 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
252 `.set singlefloat' and `.set doublefloat'.
253 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
254 Handle single-float and soft-float instructions here.
255 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
256 (is_opcode_valid_16): New function.
257 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
258 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
259 M_S_DOB>: Remove special-casing of r4650.
260 * doc/c-mips.texi (-march=): Add Octeon.
261 (MIPS Opts): Document -msoft-float and -mhard-float. Document
262 -msingle-float and -mdouble-float.
263 (MIPS floating-point): New section. Document `.set softfloat' and
264 `.set hardfloat'. Document `.set singlefloat' and `.set
269 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
272 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
273 rather than occaisionally 'levels'. Consistently refer to Sun's
274 UNIX variant as SunOS, every version of Solaris is also SunOS.
275 Document new 'softint_clear' and 'softint_set' aliases. Clarify
276 which architecture versions support '%dcr', '%cq', and '%gl'. Add
277 section on 32-bit/64-bit opcode translations.
281 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
282 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
283 (obj-fdpicelf.o): Define.
284 * Makefile.in: Regenerate.
285 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
287 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
288 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
289 * config/obj-fdpicelf.c: New.
290 * config/obj-fdpicelf.h: Likewise.
291 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
292 the OBJ_FDPIC_ELF define.
293 (OPTION_NOPIC): Define.
294 (md_longopts): Add mnopic and mno-fdpic.
295 (md_parse_option): Handle OPTION_NOPIC.
299 * aclocal.m4: Regenerate.
300 * configure: Regenerate.
304 * config/tc-sparc.c (v9a_asr_table): Add missing
305 'stick' and 'stick_cmpr', and document ordering rules
307 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
308 BFD_RELOC_SPARC_PC10.
309 * doc/c-sparc.texi: New section on Sparc constants.
310 Add documentation for %stick and %stick_cmpr.
314 * config/obj-elf.c (obj_elf_section_type): Add prototype
315 before obj_elf_section_word and add 'warn' arg.
316 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
317 is matched, try checking for #SECTION_TYPE.
318 (obj_elf_section): Adjust for new args.
319 (obj_elf_type_name): New function.
320 (obj_elf_type): Call it, and accept STT_foo number strings
321 in .type statements as output by SunPRO compiler.
325 * config/tc-i386.c (md_assemble): Don't check SSE instructions
330 * doc/c-sparc.texi: Add syntax section.
334 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
335 REG and NDS for instructions with immediate operand.
339 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
344 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
345 and relocation generation.
346 (tc_gen_reloc): Likewise.
350 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
351 relocations are properly aligned, and not negative.
355 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
359 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
360 accept e500mc instructions.
361 (md_show_usage): Document -me500mc.
365 * listing.c (print_timestamp): Use localtime rather than
366 localtime_r since not all build environments provide the latter.
370 * NEWS: Mention -msse-check=[none|error|warning].
372 * config/tc-i386.c (sse_check): New.
373 (OPTION_MSSE_CHECK): Likewise.
374 (md_assemble): Check SSE instructions if needed.
375 (md_longopts): Add -msse-check.
376 (md_parse_option): Handle OPTION_MSSE_CHECK.
377 (md_show_usage): Show -msse-check=[none|error|warning].
379 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
383 * listing.c: Add -ag listing flag to show general information in
384 listings such as gas version, passed options, and time stamp.
385 (listing_general_info): New function.
386 (print_options): New function.
387 (print_single_option): New function.
388 (print_timestamp): New function.
389 (MAX_DATELEN): Define.
390 (listing_print): Add call to listing_general_info.
391 * listing.h (LISTING_GENERAL): Define.
392 (listing_print): Add new parameter.
393 * as.c (show_usage): Print new switch.
394 (parse_args): Parse new switch.
395 (main): Pass command line on to listing_print.
396 * NEWS: Mention this new feature.
397 * doc/as.texinfo: Document the new sub-option.
401 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
402 call. Delete out of date comment.
403 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
404 (dwarf2_emit_label): Don't emit unless there has been a previous
405 .file or we are outputting assembler generated debug.
406 dwarf2_consume_line_info after emitting line info, not before.
407 (out_debug_info): Simplify files_in_use test.
411 * config/tc-i386.c (parse_real_register): Return AVX register
412 only if AVX is enabled.
417 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
418 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
423 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
424 call to decode_reloc.
428 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
430 * config/tc-i386.c (cpu_arch): Add .pclmul.
431 (md_show_usage): Replace clmul with pclmul.
432 * doc/c-i386.texi: Likewise.
436 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
438 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
439 Document -msse2avx, .avx, .aes, .clmul and .fma.
441 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
442 (vex_prefix): Likewise.
444 (CPU_FLAGS_ARCH_MATCH): Likewise.
445 (CPU_FLAGS_64BIT_MATCH): Likewise.
446 (CPU_FLAGS_32BIT_MATCH): Likewise.
447 (CPU_FLAGS_PERFECT_MATCH): Likewise.
449 (vex_imm4): Likewise.
450 (fits_in_imm4): Likewise.
451 (build_vex_prefix): Likewise.
452 (VEX_check_operands): Likewise.
453 (bad_implicit_operand): Likewise.
454 (OPTION_MSSE2AVX): Likewise.
455 (T_YMMWORD): Likewise.
456 (_i386_insn): Add vex.
457 (cpu_arch): Add .avx, .aes, .clmul and .fma.
458 (cpu_flags_match): Changed to take a pointer to const template.
459 Enable encoding SSE instructions with VEX prefix for -msse2avx.
460 (match_mem_size): Also check ymmword.
461 (operand_type_match): Clear ymmword.
462 (md_begin): Allow '_' in mnemonic.
463 (type_names): Add OPERAND_TYPE_VEX_IMM4.
464 (process_immext): Update assert.
465 (md_assemble): Don't call process_immext if sse2avx and immext
466 are true. Call build_vex_prefix if vex is true.
467 (parse_insn): Updated for cpu_flags_match.
468 (swap_operands): Handle 5 operands.
469 (match_template): Handle 5 operands. Updated for cpu_flags_match.
470 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
471 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
472 (check_byte_reg): Check regymm.
473 (process_operands): Duplicate the destination register for
475 (build_modrm_byte): Updated for instructions with VEX encoding.
476 (output_insn): Output VEX prefix if needed.
477 (md_longopts): Add msse2avx.
478 (md_parse_option): Handle OPTION_MSSE2AVX.
479 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
480 (intel_e09): Support YMMWORD.
481 (intel_e11): Likewise.
482 (intel_get_token): Likewise.
486 * config/tc-avr.c (mcu_types): Add attiny167.
487 * doc/c-avr.texi: Likewise.
491 * config/tc-avr.c (mcu_types): Add atmega32u4.
492 * doc/c-avr.texi: Likewise.
496 * config/tc-avr.c (mcu_types): Add atmega32c1.
497 * doc/c-avr.texi: Likewise.
501 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
502 to avoid spurious symbols.
506 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
511 * config/tc-avr.c (mcu_types): Add atmega32m1.
512 * doc/c-avr.texi: Likewise.
516 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
518 (do_neon_ext): Fix sign of comparison.
523 * config/bfin-parse.y (asm_1): Check AREGS in comparison
524 instructions. And call yyerror when comparing PREG with
526 (check_macfunc_option): New.
527 (check_macfuncs): Check option by calling check_macfunc_option.
528 Fix comparison always true warnings. Both scalar instructions
529 of vector instruction must share the same mode option. Only allow
530 option mode at the end of the second instruction of the vector.
531 (asm_1): Check option by calling check_macfunc_option.
533 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
534 option for multiply and multiply-accumulate to data register
536 (check_macfuncs): Don't check if accumulator matches the data register
538 (assign_macfunc): Check if accumulator matches the
539 data register in each rule that moves to the data
542 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
543 generated for LOOP_BEGIN and LOOP_END instructions.
544 (bfin_gen_loop): Likewise.
548 * config/tc-s390.c (md_parse_option): z10 option added.
552 * aclocal.m4: Regenerate.
553 * configure: Likewise.
554 * Makefile.in: Likewise.
555 * doc/Makefile.in: Likewise.
560 * config/tc-hppa.c (is_same_frag): Delete.
564 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
565 RELAX_LOOP_END_ADD_NOP.
570 * read.c (s_mexit): Warn if attempting to exit a macro when not
571 inside a macro definition.
575 * Makefile.am: Run "make dep-am".
576 * Makefile.in: Regenerate.
577 * configure: Regenerate.
581 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
582 * doc/c-arm.texi: Add cortex-a9.
586 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
587 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
588 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
589 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
590 * doc/c-arm.texi: Document new ARM FPU variants.
594 * config/tc-arm.c (md_apply_fix): Use correct offset range.
598 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
599 for strict ordering of powerpc_opcodes, but disable for now.
603 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
604 (arm_ext_v7m): Rename...
605 (arm_ext_m): ... to this. Include v6-M.
606 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
607 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
608 (md_assemble): Allow wide msr instructions.
609 (insns): Add classifications for v6-m instructions.
610 (arm_cpu_option_table): Add cortex-m1.
611 (arm_arch_option_table): Add armv6-m.
612 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
617 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
618 (md_begin): Initialize it.
619 (resources_conflict): Use it.
623 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
629 * read.c (pseudo_set): Don't allow global register symbol.
631 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
637 * write.c (write_object_file): Don't allow symbols which were
638 equated to register. Stop if there is an error.
642 * config/tc-ppc.h (struct _ppc_fix_extra): New.
644 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
645 * config/tc-ppc.c (ppu_cpu): Make global.
646 (ppc_insert_operand): Add ppu_cpu parameter.
647 (md_assemble): Adjust for above change.
648 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
652 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
653 targeted ARM ports, otherwise just skip generating the reloc.
657 * doc/c-i386.texi: Update -march= and .arch.
661 * config/tc-mn10300.c (has_known_symbol_location): New function.
662 Do not regard weak symbols as having a known location.
663 (md_estimate_size_before_relax): Use new function.
664 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
668 * config/tc-i386.c (match_template): Disallow 'l' suffix when
669 currently selected CPU has no 32-bit support.
670 (parse_real_register): Do not return registers not available on
671 currently selected CPU.
675 * config/tc-i386.c (process_immext): Fix format.
679 * config/tc-i386.c (inoutportreg): New.
680 (process_immext): New.
681 (md_assemble): Use it.
682 (update_imm): Use imm16 and imm32s.
683 (i386_att_operand): Use inoutportreg.
687 * config/tc-i386.c (operand_type_all_zero): New.
688 (operand_type_set): Likewise.
689 (operand_type_equal): Likewise.
690 (cpu_flags_all_zero): Likewise.
691 (cpu_flags_set): Likewise.
692 (cpu_flags_equal): Likewise.
693 (UINTS_ALL_ZERO): Removed.
694 (UINTS_SET): Likewise.
695 (UINTS_CLEAR): Likewise.
696 (UINTS_EQUAL): Likewise.
697 (cpu_flags_match): Updated.
698 (smallest_imm_type): Likewise.
699 (set_cpu_arch): Likewise.
700 (md_assemble): Likewise.
701 (optimize_imm): Likewise.
702 (match_template): Likewise.
703 (process_suffix): Likewise.
704 (update_imm): Likewise.
705 (process_drex): Likewise.
706 (process_operands): Likewise.
707 (build_modrm_byte): Likewise.
708 (i386_immediate): Likewise.
709 (i386_displacement): Likewise.
710 (i386_att_operand): Likewise.
711 (parse_real_register): Likewise.
712 (md_parse_option): Likewise.
713 (i386_target_format): Likewise.
718 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
719 pointer past the comma after parsing a floating point register
725 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
727 (avr_operand): Disallow post-increment addressing in the lpm
728 instruction for the attiny26.
732 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
733 if not in Intel mode.
734 (i386_intel_operand): Ignore segment overrides in immediate and
736 (intel_e11): Range-check i.mem_operands before use as array
737 index. Filter out FLAT for uses other than as segment override.
738 (intel_get_token): Remove broken promotion of "FLAT:" to mean
743 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
747 * config/tc-i386.c (allow_pseudo_reg): New.
748 (parse_real_register): Check for NULL just once. Allow all
749 register table entries when allow_pseudo_reg is non-zero.
750 Don't allow any registers without type when allow_pseudo_reg
752 (tc_x86_regname_to_dw2regnum): Replace with ...
753 (tc_x86_parse_to_dw2regnum): ... this.
754 (tc_x86_frame_initial_instructions): Adjust for above change.
755 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
756 (tc_parse_to_dw2regnum): New.
757 (tc_x86_regname_to_dw2regnum): Replace with ...
758 (tc_x86_parse_to_dw2regnum): ... this.
759 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
760 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
765 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
767 (tic4x_insn_add): Likewise.
768 (md_begin): Drop cast that was discarding a const qualifier.
769 * config/tc-d30v.c (get_reloc): Add const qualifier to op
771 (build_insn): Drop cast that was discarding a const qualifier.
775 * config/tc-i386.c (cpu_arch): Add .xsave.
776 (md_show_usage): Add .xsave.
778 * doc/c-i386.texi: Add xsave to -march=.
782 * read.c (s_weakref): Don't pass unadorned NULL to concat.
783 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
787 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
788 checks into assertions. When relaxation produces an operation that
789 does not fit in the current FLIX instruction, make sure that the
790 operation is relaxed as needed to account for being placed following
791 the current instruction.
796 * configure: Regenerated.
800 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
804 * configure.tgt (xtensa*-*-*): Recognize processor variants.
808 * read.c: (emit_expr): Correct for mingw use of printf size
813 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
814 can only be encoded in FLIX instructions but are not specified as such.
815 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
820 * NEWS: Mention new command line options for x86 targets.
824 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
828 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
832 * config/tc-i386.c (md_show_usage): Show more processors for
837 * config/tc-i386.c (i386_target_format): Remove cpummx2.
841 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
842 (XXX_MNEM_SUFFIX): Likewise.
843 (END_OF_INSN): Likewise.
844 (templates): Likewise.
845 (modrm_byte): Likewise.
846 (rex_byte): Likewise.
847 (DREX_XXX): Likewise.
848 (drex_byte): Likewise.
849 (sib_byte): Likewise.
850 (processor_type): Likewise.
851 (arch_entry): Likewise.
852 (cpu_sub_arch_name): Remove const.
853 (cpu_arch): Add .vmx and .smx.
854 (set_cpu_arch): Append cpu_sub_arch_name.
855 (md_parse_option): Support -march=CPU[,+EXTENSION...].
856 (md_show_usage): Updated.
858 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
859 (XXX_MNEM_SUFFIX): Likewise.
860 (END_OF_INSN): Likewise.
861 (templates): Likewise.
862 (modrm_byte): Likewise.
863 (rex_byte): Likewise.
864 (DREX_XXX): Likewise.
865 (drex_byte): Likewise.
866 (sib_byte): Likewise.
867 (processor_type): Likewise.
868 (arch_entry): Likewise.
870 * doc/as.texinfo: Update i386 -march option.
872 * doc/c-i386.texi: Update -march= for ISA.
876 * config/tc-xtensa.c (xtensa_leb128): New function.
877 (md_pseudo_table): Use it for sleb128 and uleb128.
878 (is_leb128_expr): New internal flag.
879 (xtensa_symbol_new_hook): Check new flag.
883 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
884 at90usb82, at90usb162.
885 * doc/c-avr.texi: Change architecture grouping for at90usb82,
887 These changes support the new avr35 architecture group in gcc.
891 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
892 suffix for AT&T syntax.
896 * config/tc-i386.c (match_reg_size): New.
897 (match_mem_size): Likewise.
898 (operand_size_match): Likewise.
899 (operand_type_match): Also clear all size fields.
900 (match_template): Skip Intel syntax when in AT&T syntax.
901 Call operand_size_match to check operand size.
902 (i386_att_operand): Set the mem field to 1 for memory
904 (i386_intel_operand): Likewise.
909 * config/tc-i386.c (_i386_insn): Update comment.
910 (operand_type_match): Also clear unspecified.
911 (operand_type_register_match): Likewise.
912 (parse_operands): Initialize unspecified.
913 (i386_intel_operand): Likewise.
914 (match_template): Check memory and accumulator operand size.
915 (i386_att_operand): Clear unspecified on register operand.
916 (intel_e11): Likewise.
917 (intel_e09): Set operand size and clean unspecified for
922 * read.c (s_space): Declare `repeat' as offsetT.
926 * config/tc-i386.c (match_template): Check processor support
931 * config/tc-i386.c (match_template): Continue if processor
936 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
937 unwind personality function address.
941 * dwarf2dbg.c (out_sleb128): Delete.
942 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
943 (out_fixed_inc_line_addr): Delete.
944 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
945 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
946 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
947 (process_entries): Remove calls to out_fixed_inc_line_addr. When
948 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
949 * read.h (emit_expr_fix): New prototype.
950 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
951 (emit_expr_fix): New.
955 * config/tc-i386.c (match_template): Check register size
956 only when size of operands can be encoded the canonical way.
960 * config/tc-i386.c (i386_operand): Renamed to ...
961 (i386_att_operand): This.
962 (parse_operands): Updated.
966 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
968 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
970 (md_assemble): Remove Intel mode workaround.
971 (match_template): Check support for old gcc, AT&T mnemonic
973 (md_parse_option): Don't set intel_mnemonic to 0 for
978 * config/tc-i386.h: Update copyright to 2008.
982 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
983 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
987 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
992 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
993 (cpu_flags_not): Likewise.
994 (cpu_flags_match): Updated to check 64bit and arch.
995 (set_code_flag): Remove cpu_arch_flags_not.
996 (set_16bit_gcc_code_flag): Likewise.
997 (set_cpu_arch): Likewise.
998 (md_begin): Likewise.
999 (parse_insn): Call cpu_flags_match to check 64bit and arch.
1000 (match_template): Likewise.
1004 * config/tc-i386.c (process_drex): Initialize modrm_reg and
1005 modrm_regmem to 0 instead of None.
1009 * config/tc-i386.c (match_template): Use the xmmword field
1014 * config/tc-i386.c (process_suffix): Fix a typo.
1019 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1020 Check memory size in Intel mode.
1021 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1022 (intel_e09): Likewise.
1024 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1028 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1030 For older changes see ChangeLog-2007
1036 version-control: never