1 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
3 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
4 +x, +X, +p, +P, +s, +S.
7 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
9 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
10 * doc/c-avr.texi: Likewise.
12 2008-06-04 Nick Clifton <nickc@redhat.com>
14 * app.c (do_scrub_chars): Do not UNGET an EOF value.
16 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
18 * config/tc-i386.c (set_sse_check): New.
19 (md_pseudo_table): Add "sse_check".
21 2008-06-03 Paul Brook <paul@codesourcery.com>
23 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
25 2008-05-30 Nick Clifton <nickc@redhat.com>
28 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
31 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
33 * config/tc-mips.c (mips_cpu_info_table): Move records for
34 ST Loongson-2E/2F processors to a better place.
36 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
39 * config/tc-i386.c (match_template): Report ambiguous operand
40 size, not invalid suffix when there is no match in Intel
43 2008-05-22 Paul Brook <paul@codesourcery.com>
45 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
47 2008-05-21 I-Jui Sung <ijsung@gmail.com>
49 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
50 compatible cores: fa526, fa626, fa626te, fa726te.
51 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
54 2008-05-14 Alan Modra <amodra@bigpond.net.au>
56 * Makefile.am: Run "make dep-am".
57 * Makefile.in: Regenerate.
58 * doc/Makefile.in: Regenerate.
59 * po/POTFILES.in: Regenerate.
61 2008-05-09 Catherine Moore <clm@codesourcery.com>
63 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
64 with non-MIPS16 relocs.
66 2008-05-09 Chao-ying Fu <fu@mips.com>
68 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
69 case that some characters append at the end of the name.
71 (s_change_sec): Likewise.
72 (md_section_align): Likewise.
74 2008-05-07 Bob Wilson <bob.wilson@acm.org>
76 * config/tc-xtensa.c (xtensa_create_property_segments): Use
77 xtensa_make_property_section instead of xtensa_get_property_section.
78 (xtensa_create_xproperty_segments): Likewise.
80 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
82 * NEWS: Mention XSAVE, EPT and MOVBE.
84 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
85 (md_show_usage): Add .movbe and .ept.
87 * doc/c-i386.texi: Add movbe and ept to -march=. Document
90 2008-04-29 David S. Miller <davem@davemloft.net>
92 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
94 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
96 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
98 (OPTION_ELF_BASE): Make room for new option macros.
99 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
100 OPTION_DOUBLE_FLOAT): New option macros.
101 (md_longopts): Add msoft-float, mhard-float, msingle-float and
103 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
104 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
105 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
107 (struct mips_set_options): New fields soft_float and single_float.
108 (mips_opts): Initialized them. Add comment for each field
110 (mips_after_parse_args): Set them based on file_mips_soft_float
111 and file_mips_single_float.
112 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
113 `.set singlefloat' and `.set doublefloat'.
114 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
115 Handle single-float and soft-float instructions here.
116 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
117 (is_opcode_valid_16): New function.
118 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
119 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
120 M_S_DOB>: Remove special-casing of r4650.
121 * doc/c-mips.texi (-march=): Add Octeon.
122 (MIPS Opts): Document -msoft-float and -mhard-float. Document
123 -msingle-float and -mdouble-float.
124 (MIPS floating-point): New section. Document `.set softfloat' and
125 `.set hardfloat'. Document `.set singlefloat' and `.set
128 2008-04-25 David S. Miller <davem@davemloft.net>
130 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
133 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
134 rather than occaisionally 'levels'. Consistently refer to Sun's
135 UNIX variant as SunOS, every version of Solaris is also SunOS.
136 Document new 'softint_clear' and 'softint_set' aliases. Clarify
137 which architecture versions support '%dcr', '%cq', and '%gl'. Add
138 section on 32-bit/64-bit opcode translations.
140 2008-04-23 Mike Frysinger <vapier@gentoo.org>
142 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
143 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
144 (obj-fdpicelf.o): Define.
145 * Makefile.in: Regenerate.
146 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
148 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
149 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
150 * config/obj-fdpicelf.c: New.
151 * config/obj-fdpicelf.h: Likewise.
152 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
153 the OBJ_FDPIC_ELF define.
154 (OPTION_NOPIC): Define.
155 (md_longopts): Add mnopic and mno-fdpic.
156 (md_parse_option): Handle OPTION_NOPIC.
158 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
160 * aclocal.m4: Regenerate.
161 * configure: Regenerate.
163 2008-04-23 David S. Miller <davem@davemloft.net>
165 * config/tc-sparc.c (v9a_asr_table): Add missing
166 'stick' and 'stick_cmpr', and document ordering rules
168 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
169 BFD_RELOC_SPARC_PC10.
170 * doc/c-sparc.texi: New section on Sparc constants.
171 Add documentation for %stick and %stick_cmpr.
173 2008-04-22 David S. Miller <davem@davemloft.net>
175 * config/obj-elf.c (obj_elf_section_type): Add prototype
176 before obj_elf_section_word and add 'warn' arg.
177 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
178 is matched, try checking for #SECTION_TYPE.
179 (obj_elf_section): Adjust for new args.
180 (obj_elf_type_name): New function.
181 (obj_elf_type): Call it, and accept STT_foo number strings
182 in .type statements as output by SunPRO compiler.
184 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
186 * config/tc-i386.c (md_assemble): Don't check SSE instructions
189 2008-04-18 David S. Miller <davem@davemloft.net>
191 * doc/c-sparc.texi: Add syntax section.
193 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
195 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
196 REG and NDS for instructions with immediate operand.
198 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
200 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
203 2008-04-16 David S. Miller <davem@davemloft.net>
205 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
206 and relocation generation.
207 (tc_gen_reloc): Likewise.
209 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
211 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
212 relocations are properly aligned, and not negative.
214 2008-04-15 Khem Raj <kraj@mvista.com>
216 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
218 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
220 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
221 accept e500mc instructions.
222 (md_show_usage): Document -me500mc.
224 2008-04-11 Nick Clifton <nickc@redhat.com>
226 * listing.c (print_timestamp): Use localtime rather than
227 localtime_r since not all build environments provide the latter.
229 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
231 * NEWS: Mention -msse-check=[none|error|warning].
233 * config/tc-i386.c (sse_check): New.
234 (OPTION_MSSE_CHECK): Likewise.
235 (md_assemble): Check SSE instructions if needed.
236 (md_longopts): Add -msse-check.
237 (md_parse_option): Handle OPTION_MSSE_CHECK.
238 (md_show_usage): Show -msse-check=[none|error|warning].
240 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
242 2008-04-10 Santiago UrueƱa <suruena@gmail.com>
244 * listing.c: Add -ag listing flag to show general information in
245 listings such as gas version, passed options, and time stamp.
246 (listing_general_info): New function.
247 (print_options): New function.
248 (print_single_option): New function.
249 (print_timestamp): New function.
250 (MAX_DATELEN): Define.
251 (listing_print): Add call to listing_general_info.
252 * listing.h (LISTING_GENERAL): Define.
253 (listing_print): Add new parameter.
254 * as.c (show_usage): Print new switch.
255 (parse_args): Parse new switch.
256 (main): Pass command line on to listing_print.
257 * NEWS: Mention this new feature.
258 * doc/as.texinfo: Document the new sub-option.
260 2008-04-08 Alan Modra <amodra@bigpond.net.au>
262 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
263 call. Delete out of date comment.
264 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
265 (dwarf2_emit_label): Don't emit unless there has been a previous
266 .file or we are outputting assembler generated debug.
267 dwarf2_consume_line_info after emitting line info, not before.
268 (out_debug_info): Simplify files_in_use test.
270 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
272 * config/tc-i386.c (parse_real_register): Return AVX register
273 only if AVX is enabled.
275 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
278 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
279 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
281 2008-04-04 Adrian Bunk <bunk@stusta.de>
282 Bob Wilson <bob.wilson@acm.org>
284 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
285 call to decode_reloc.
287 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
289 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
291 * config/tc-i386.c (cpu_arch): Add .pclmul.
292 (md_show_usage): Replace clmul with pclmul.
293 * doc/c-i386.texi: Likewise.
295 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
297 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
299 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
300 Document -msse2avx, .avx, .aes, .clmul and .fma.
302 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
303 (vex_prefix): Likewise.
305 (CPU_FLAGS_ARCH_MATCH): Likewise.
306 (CPU_FLAGS_64BIT_MATCH): Likewise.
307 (CPU_FLAGS_32BIT_MATCH): Likewise.
308 (CPU_FLAGS_PERFECT_MATCH): Likewise.
310 (vex_imm4): Likewise.
311 (fits_in_imm4): Likewise.
312 (build_vex_prefix): Likewise.
313 (VEX_check_operands): Likewise.
314 (bad_implicit_operand): Likewise.
315 (OPTION_MSSE2AVX): Likewise.
316 (T_YMMWORD): Likewise.
317 (_i386_insn): Add vex.
318 (cpu_arch): Add .avx, .aes, .clmul and .fma.
319 (cpu_flags_match): Changed to take a pointer to const template.
320 Enable encoding SSE instructions with VEX prefix for -msse2avx.
321 (match_mem_size): Also check ymmword.
322 (operand_type_match): Clear ymmword.
323 (md_begin): Allow '_' in mnemonic.
324 (type_names): Add OPERAND_TYPE_VEX_IMM4.
325 (process_immext): Update assert.
326 (md_assemble): Don't call process_immext if sse2avx and immext
327 are true. Call build_vex_prefix if vex is true.
328 (parse_insn): Updated for cpu_flags_match.
329 (swap_operands): Handle 5 operands.
330 (match_template): Handle 5 operands. Updated for cpu_flags_match.
331 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
332 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
333 (check_byte_reg): Check regymm.
334 (process_operands): Duplicate the destination register for
336 (build_modrm_byte): Updated for instructions with VEX encoding.
337 (output_insn): Output VEX prefix if needed.
338 (md_longopts): Add msse2avx.
339 (md_parse_option): Handle OPTION_MSSE2AVX.
340 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
341 (intel_e09): Support YMMWORD.
342 (intel_e11): Likewise.
343 (intel_get_token): Likewise.
345 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
347 * config/tc-avr.c (mcu_types): Add attiny167.
348 * doc/c-avr.texi: Likewise.
350 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
352 * config/tc-avr.c (mcu_types): Add atmega32u4.
353 * doc/c-avr.texi: Likewise.
355 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
357 * config/tc-avr.c (mcu_types): Add atmega32c1.
358 * doc/c-avr.texi: Likewise.
360 2008-03-28 Paul Brook <paul@codesourcery.com>
362 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
363 to avoid spurious symbols.
365 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
367 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
370 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
372 * config/tc-avr.c (mcu_types): Add atmega32m1.
373 * doc/c-avr.texi: Likewise.
375 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
377 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
379 (do_neon_ext): Fix sign of comparison.
381 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
383 From Jie Zhang <jie.zhang@analog.com>
384 * config/bfin-parse.y (asm_1): Check AREGS in comparison
385 instructions. And call yyerror when comparing PREG with
387 (check_macfunc_option): New.
388 (check_macfuncs): Check option by calling check_macfunc_option.
389 Fix comparison always true warnings. Both scalar instructions
390 of vector instruction must share the same mode option. Only allow
391 option mode at the end of the second instruction of the vector.
392 (asm_1): Check option by calling check_macfunc_option.
394 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
395 option for multiply and multiply-accumulate to data register
397 (check_macfuncs): Don't check if accumulator matches the data register
399 (assign_macfunc): Check if accumulator matches the
400 data register in each rule that moves to the data
403 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
404 generated for LOOP_BEGIN and LOOP_END instructions.
405 (bfin_gen_loop): Likewise.
407 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
409 * config/tc-s390.c (md_parse_option): z10 option added.
411 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
413 * aclocal.m4: Regenerate.
414 * configure: Likewise.
415 * Makefile.in: Likewise.
416 * doc/Makefile.in: Likewise.
418 2008-03-17 Adrian Bunk <bunk@stusta.de>
421 * config/tc-hppa.c (is_same_frag): Delete.
423 2008-03-14 Sterling Augustine <sterling@tensilica.com>
425 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
426 RELAX_LOOP_END_ADD_NOP.
428 2008-03-13 Evandro Menezes <evandro@yahoo.com>
431 * read.c (s_mexit): Warn if attempting to exit a macro when not
432 inside a macro definition.
434 2008-03-13 Alan Modra <amodra@bigpond.net.au>
436 * Makefile.am: Run "make dep-am".
437 * Makefile.in: Regenerate.
438 * configure: Regenerate.
440 2008-03-09 Paul Brook <paul@codesourcery.com>
442 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
443 * doc/c-arm.texi: Add cortex-a9.
445 2008-03-09 Paul Brook <paul@codesourcery.com>
447 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
448 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
449 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
450 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
451 * doc/c-arm.texi: Document new ARM FPU variants.
453 2008-03-07 Paul Brook <paul@codesourcery.com>
455 * config/tc-arm.c (md_apply_fix): Use correct offset range.
457 2008-03-07 Alan Modra <amodra@bigpond.net.au>
459 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
460 for strict ordering of powerpc_opcodes, but disable for now.
462 2008-03-04 Paul Brook <paul@codesourcery.com>
464 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
465 (arm_ext_v7m): Rename...
466 (arm_ext_m): ... to this. Include v6-M.
467 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
468 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
469 (md_assemble): Allow wide msr instructions.
470 (insns): Add classifications for v6-m instructions.
471 (arm_cpu_option_table): Add cortex-m1.
472 (arm_arch_option_table): Add armv6-m.
473 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
475 2008-03-03 Sterling Augustine <sterling@tensilica.com>
476 Bob Wilson <bob.wilson@acm.org>
478 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
479 (md_begin): Initialize it.
480 (resources_conflict): Use it.
482 2008-03-03 Sterling Augustine <sterling@tensilica.com>
484 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
486 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
487 H.J. Lu <hongjiu.lu@intel.com>
490 * read.c (pseudo_set): Don't allow global register symbol.
492 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
495 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
498 * write.c (write_object_file): Don't allow symbols which were
499 equated to register. Stop if there is an error.
501 2008-03-01 Alan Modra <amodra@bigpond.net.au>
503 * config/tc-ppc.h (struct _ppc_fix_extra): New.
505 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
506 * config/tc-ppc.c (ppu_cpu): Make global.
507 (ppc_insert_operand): Add ppu_cpu parameter.
508 (md_assemble): Adjust for above change.
509 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
511 2008-02-22 Nick Clifton <nickc@redhat.com>
513 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
514 targeted ARM ports, otherwise just skip generating the reloc.
516 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
518 * doc/c-i386.texi: Update -march= and .arch.
520 2008-02-18 Nick Clifton <nickc@redhat.com>
522 * config/tc-mn10300.c (has_known_symbol_location): New function.
523 Do not regard weak symbols as having a known location.
524 (md_estimate_size_before_relax): Use new function.
525 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
527 2008-02-18 Jan Beulich <jbeulich@novell.com>
529 * config/tc-i386.c (match_template): Disallow 'l' suffix when
530 currently selected CPU has no 32-bit support.
531 (parse_real_register): Do not return registers not available on
532 currently selected CPU.
534 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
536 * config/tc-i386.c (process_immext): Fix format.
538 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
540 * config/tc-i386.c (inoutportreg): New.
541 (process_immext): New.
542 (md_assemble): Use it.
543 (update_imm): Use imm16 and imm32s.
544 (i386_att_operand): Use inoutportreg.
546 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
548 * config/tc-i386.c (operand_type_all_zero): New.
549 (operand_type_set): Likewise.
550 (operand_type_equal): Likewise.
551 (cpu_flags_all_zero): Likewise.
552 (cpu_flags_set): Likewise.
553 (cpu_flags_equal): Likewise.
554 (UINTS_ALL_ZERO): Removed.
555 (UINTS_SET): Likewise.
556 (UINTS_CLEAR): Likewise.
557 (UINTS_EQUAL): Likewise.
558 (cpu_flags_match): Updated.
559 (smallest_imm_type): Likewise.
560 (set_cpu_arch): Likewise.
561 (md_assemble): Likewise.
562 (optimize_imm): Likewise.
563 (match_template): Likewise.
564 (process_suffix): Likewise.
565 (update_imm): Likewise.
566 (process_drex): Likewise.
567 (process_operands): Likewise.
568 (build_modrm_byte): Likewise.
569 (i386_immediate): Likewise.
570 (i386_displacement): Likewise.
571 (i386_att_operand): Likewise.
572 (parse_real_register): Likewise.
573 (md_parse_option): Likewise.
574 (i386_target_format): Likewise.
576 2008-02-14 Dimitry Andric <dimitry@andric.com>
579 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
580 pointer past the comma after parsing a floating point register
583 2008-02-14 Hakan Ardo <hakan@debian.org>
586 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
588 (avr_operand): Disallow post-increment addressing in the lpm
589 instruction for the attiny26.
591 2008-02-13 Jan Beulich <jbeulich@novell.com>
593 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
594 if not in Intel mode.
595 (i386_intel_operand): Ignore segment overrides in immediate and
597 (intel_e11): Range-check i.mem_operands before use as array
598 index. Filter out FLAT for uses other than as segment override.
599 (intel_get_token): Remove broken promotion of "FLAT:" to mean
602 2008-02-13 Jan Beulich <jbeulich@novell.com>
604 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
606 2008-02-13 Jan Beulich <jbeulich@novell.com>
608 * config/tc-i386.c (allow_pseudo_reg): New.
609 (parse_real_register): Check for NULL just once. Allow all
610 register table entries when allow_pseudo_reg is non-zero.
611 Don't allow any registers without type when allow_pseudo_reg
613 (tc_x86_regname_to_dw2regnum): Replace with ...
614 (tc_x86_parse_to_dw2regnum): ... this.
615 (tc_x86_frame_initial_instructions): Adjust for above change.
616 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
617 (tc_parse_to_dw2regnum): New.
618 (tc_x86_regname_to_dw2regnum): Replace with ...
619 (tc_x86_parse_to_dw2regnum): ... this.
620 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
621 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
624 2008-02-12 Nick Clifton <nickc@redhat.com>
626 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
628 (tic4x_insn_add): Likewise.
629 (md_begin): Drop cast that was discarding a const qualifier.
630 * config/tc-d30v.c (get_reloc): Add const qualifier to op
632 (build_insn): Drop cast that was discarding a const qualifier.
634 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
636 * config/tc-i386.c (cpu_arch): Add .xsave.
637 (md_show_usage): Add .xsave.
639 * doc/c-i386.texi: Add xsave to -march=.
641 2008-02-07 Alan Modra <amodra@bigpond.net.au>
643 * read.c (s_weakref): Don't pass unadorned NULL to concat.
644 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
646 2008-02-05 Sterling Augustine <sterling@tensilica.com>
648 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
649 checks into assertions. When relaxation produces an operation that
650 does not fit in the current FLIX instruction, make sure that the
651 operation is relaxed as needed to account for being placed following
652 the current instruction.
654 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
657 * configure: Regenerated.
659 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
661 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
663 2008-01-31 Marc Gauthier <marc@tensilica.com>
665 * configure.tgt (xtensa*-*-*): Recognize processor variants.
667 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
669 * read.c: (emit_expr): Correct for mingw use of printf size
672 2008-01-24 Bob Wilson <bob.wilson@acm.org>
674 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
675 can only be encoded in FLIX instructions but are not specified as such.
676 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
679 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
681 * NEWS: Mention new command line options for x86 targets.
683 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
685 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
687 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
689 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
691 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
693 * config/tc-i386.c (md_show_usage): Show more processors for
696 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
698 * config/tc-i386.c (i386_target_format): Remove cpummx2.
700 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
702 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
703 (XXX_MNEM_SUFFIX): Likewise.
704 (END_OF_INSN): Likewise.
705 (templates): Likewise.
706 (modrm_byte): Likewise.
707 (rex_byte): Likewise.
708 (DREX_XXX): Likewise.
709 (drex_byte): Likewise.
710 (sib_byte): Likewise.
711 (processor_type): Likewise.
712 (arch_entry): Likewise.
713 (cpu_sub_arch_name): Remove const.
714 (cpu_arch): Add .vmx and .smx.
715 (set_cpu_arch): Append cpu_sub_arch_name.
716 (md_parse_option): Support -march=CPU[,+EXTENSION...].
717 (md_show_usage): Updated.
719 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
720 (XXX_MNEM_SUFFIX): Likewise.
721 (END_OF_INSN): Likewise.
722 (templates): Likewise.
723 (modrm_byte): Likewise.
724 (rex_byte): Likewise.
725 (DREX_XXX): Likewise.
726 (drex_byte): Likewise.
727 (sib_byte): Likewise.
728 (processor_type): Likewise.
729 (arch_entry): Likewise.
731 * doc/as.texinfo: Update i386 -march option.
733 * doc/c-i386.texi: Update -march= for ISA.
735 2008-01-18 Bob Wilson <bob.wilson@acm.org>
737 * config/tc-xtensa.c (xtensa_leb128): New function.
738 (md_pseudo_table): Use it for sleb128 and uleb128.
739 (is_leb128_expr): New internal flag.
740 (xtensa_symbol_new_hook): Check new flag.
742 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
744 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
745 at90usb82, at90usb162.
746 * doc/c-avr.texi: Change architecture grouping for at90usb82,
748 These changes support the new avr35 architecture group in gcc.
750 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
752 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
753 suffix for AT&T syntax.
755 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
757 * config/tc-i386.c (match_reg_size): New.
758 (match_mem_size): Likewise.
759 (operand_size_match): Likewise.
760 (operand_type_match): Also clear all size fields.
761 (match_template): Skip Intel syntax when in AT&T syntax.
762 Call operand_size_match to check operand size.
763 (i386_att_operand): Set the mem field to 1 for memory
765 (i386_intel_operand): Likewise.
767 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
770 * config/tc-i386.c (_i386_insn): Update comment.
771 (operand_type_match): Also clear unspecified.
772 (operand_type_register_match): Likewise.
773 (parse_operands): Initialize unspecified.
774 (i386_intel_operand): Likewise.
775 (match_template): Check memory and accumulator operand size.
776 (i386_att_operand): Clear unspecified on register operand.
777 (intel_e11): Likewise.
778 (intel_e09): Set operand size and clean unspecified for
781 2008-01-11 Andreas Schwab <schwab@suse.de>
783 * read.c (s_space): Declare `repeat' as offsetT.
785 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
787 * config/tc-i386.c (match_template): Check processor support
790 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
792 * config/tc-i386.c (match_template): Continue if processor
795 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
797 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
798 unwind personality function address.
800 2008-01-09 Bob Wilson <bob.wilson@acm.org>
802 * dwarf2dbg.c (out_sleb128): Delete.
803 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
804 (out_fixed_inc_line_addr): Delete.
805 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
806 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
807 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
808 (process_entries): Remove calls to out_fixed_inc_line_addr. When
809 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
810 * read.h (emit_expr_fix): New prototype.
811 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
812 (emit_expr_fix): New.
814 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
816 * config/tc-i386.c (match_template): Check register size
817 only when size of operands can be encoded the canonical way.
819 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
821 * config/tc-i386.c (i386_operand): Renamed to ...
822 (i386_att_operand): This.
823 (parse_operands): Updated.
825 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
827 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
829 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
831 (md_assemble): Remove Intel mode workaround.
832 (match_template): Check support for old gcc, AT&T mnemonic
834 (md_parse_option): Don't set intel_mnemonic to 0 for
837 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
839 * config/tc-i386.h: Update copyright to 2008.
841 2008-01-04 Nick Clifton <nickc@redhat.com>
843 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
844 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
846 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
848 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
851 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
853 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
854 (cpu_flags_not): Likewise.
855 (cpu_flags_match): Updated to check 64bit and arch.
856 (set_code_flag): Remove cpu_arch_flags_not.
857 (set_16bit_gcc_code_flag): Likewise.
858 (set_cpu_arch): Likewise.
859 (md_begin): Likewise.
860 (parse_insn): Call cpu_flags_match to check 64bit and arch.
861 (match_template): Likewise.
863 2008-01-03 Jakub Jelinek <jakub@redhat.com>
865 * config/tc-i386.c (process_drex): Initialize modrm_reg and
866 modrm_regmem to 0 instead of None.
868 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
870 * config/tc-i386.c (match_template): Use the xmmword field
873 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
875 * config/tc-i386.c (process_suffix): Fix a typo.
877 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
880 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
881 Check memory size in Intel mode.
882 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
883 (intel_e09): Likewise.
885 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
887 2008-01-02 Catherine Moore <clm@codesourcery.com>
889 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
891 For older changes see ChangeLog-2007
897 version-control: never