1 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 * configure: Regenerate.
5 2008-06-17 Nick Clifton <nickc@redhat.com>
7 * app.c (do_scrub_chars): Do not UNGET an EOF value.
9 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
12 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
13 text_section. Do the "stepping backwards" test for text_section
14 using unsigned operands.
16 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
18 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
19 (ppc_insert_operand): Likewise.
20 (ppc_machine): Likewise.
21 * config/tc-ppc.h: #include "opcode/ppc.h"
22 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
23 (ppc_cpu): Update extern decl.
25 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
27 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
28 +x, +X, +p, +P, +s, +S.
31 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
33 (macro_build): Likewise.
34 (CPU_HAS_SEQ): New macro.
35 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
37 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
39 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
40 * doc/c-avr.texi: Likewise.
42 2008-06-04 Nick Clifton <nickc@redhat.com>
44 * app.c (do_scrub_chars): Do not UNGET an EOF value.
46 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
48 * config/tc-i386.c (set_sse_check): New.
49 (md_pseudo_table): Add "sse_check".
51 2008-06-03 Paul Brook <paul@codesourcery.com>
53 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
55 2008-05-30 Nick Clifton <nickc@redhat.com>
58 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
61 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
63 * config/tc-mips.c (mips_cpu_info_table): Move records for
64 ST Loongson-2E/2F processors to a better place.
66 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
69 * config/tc-i386.c (match_template): Report ambiguous operand
70 size, not invalid suffix when there is no match in Intel
73 2008-05-22 Paul Brook <paul@codesourcery.com>
75 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
77 2008-05-21 I-Jui Sung <ijsung@gmail.com>
79 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
80 compatible cores: fa526, fa626, fa626te, fa726te.
81 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
84 2008-05-14 Alan Modra <amodra@bigpond.net.au>
86 * Makefile.am: Run "make dep-am".
87 * Makefile.in: Regenerate.
88 * doc/Makefile.in: Regenerate.
89 * po/POTFILES.in: Regenerate.
91 2008-05-09 Catherine Moore <clm@codesourcery.com>
93 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
94 with non-MIPS16 relocs.
96 2008-05-09 Chao-ying Fu <fu@mips.com>
98 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
99 case that some characters append at the end of the name.
101 (s_change_sec): Likewise.
102 (md_section_align): Likewise.
104 2008-05-07 Bob Wilson <bob.wilson@acm.org>
106 * config/tc-xtensa.c (xtensa_create_property_segments): Use
107 xtensa_make_property_section instead of xtensa_get_property_section.
108 (xtensa_create_xproperty_segments): Likewise.
110 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
112 * NEWS: Mention XSAVE, EPT and MOVBE.
114 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
115 (md_show_usage): Add .movbe and .ept.
117 * doc/c-i386.texi: Add movbe and ept to -march=. Document
120 2008-04-29 David S. Miller <davem@davemloft.net>
122 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
124 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
126 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
128 (OPTION_ELF_BASE): Make room for new option macros.
129 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
130 OPTION_DOUBLE_FLOAT): New option macros.
131 (md_longopts): Add msoft-float, mhard-float, msingle-float and
133 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
134 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
135 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
137 (struct mips_set_options): New fields soft_float and single_float.
138 (mips_opts): Initialized them. Add comment for each field
140 (mips_after_parse_args): Set them based on file_mips_soft_float
141 and file_mips_single_float.
142 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
143 `.set singlefloat' and `.set doublefloat'.
144 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
145 Handle single-float and soft-float instructions here.
146 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
147 (is_opcode_valid_16): New function.
148 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
149 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
150 M_S_DOB>: Remove special-casing of r4650.
151 * doc/c-mips.texi (-march=): Add Octeon.
152 (MIPS Opts): Document -msoft-float and -mhard-float. Document
153 -msingle-float and -mdouble-float.
154 (MIPS floating-point): New section. Document `.set softfloat' and
155 `.set hardfloat'. Document `.set singlefloat' and `.set
158 2008-04-25 David S. Miller <davem@davemloft.net>
160 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
163 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
164 rather than occaisionally 'levels'. Consistently refer to Sun's
165 UNIX variant as SunOS, every version of Solaris is also SunOS.
166 Document new 'softint_clear' and 'softint_set' aliases. Clarify
167 which architecture versions support '%dcr', '%cq', and '%gl'. Add
168 section on 32-bit/64-bit opcode translations.
170 2008-04-23 Mike Frysinger <vapier@gentoo.org>
172 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
173 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
174 (obj-fdpicelf.o): Define.
175 * Makefile.in: Regenerate.
176 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
178 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
179 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
180 * config/obj-fdpicelf.c: New.
181 * config/obj-fdpicelf.h: Likewise.
182 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
183 the OBJ_FDPIC_ELF define.
184 (OPTION_NOPIC): Define.
185 (md_longopts): Add mnopic and mno-fdpic.
186 (md_parse_option): Handle OPTION_NOPIC.
188 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
190 * aclocal.m4: Regenerate.
191 * configure: Regenerate.
193 2008-04-23 David S. Miller <davem@davemloft.net>
195 * config/tc-sparc.c (v9a_asr_table): Add missing
196 'stick' and 'stick_cmpr', and document ordering rules
198 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
199 BFD_RELOC_SPARC_PC10.
200 * doc/c-sparc.texi: New section on Sparc constants.
201 Add documentation for %stick and %stick_cmpr.
203 2008-04-22 David S. Miller <davem@davemloft.net>
205 * config/obj-elf.c (obj_elf_section_type): Add prototype
206 before obj_elf_section_word and add 'warn' arg.
207 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
208 is matched, try checking for #SECTION_TYPE.
209 (obj_elf_section): Adjust for new args.
210 (obj_elf_type_name): New function.
211 (obj_elf_type): Call it, and accept STT_foo number strings
212 in .type statements as output by SunPRO compiler.
214 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
216 * config/tc-i386.c (md_assemble): Don't check SSE instructions
219 2008-04-18 David S. Miller <davem@davemloft.net>
221 * doc/c-sparc.texi: Add syntax section.
223 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
225 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
226 REG and NDS for instructions with immediate operand.
228 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
230 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
233 2008-04-16 David S. Miller <davem@davemloft.net>
235 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
236 and relocation generation.
237 (tc_gen_reloc): Likewise.
239 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
241 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
242 relocations are properly aligned, and not negative.
244 2008-04-15 Khem Raj <kraj@mvista.com>
246 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
248 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
250 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
251 accept e500mc instructions.
252 (md_show_usage): Document -me500mc.
254 2008-04-11 Nick Clifton <nickc@redhat.com>
256 * listing.c (print_timestamp): Use localtime rather than
257 localtime_r since not all build environments provide the latter.
259 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
261 * NEWS: Mention -msse-check=[none|error|warning].
263 * config/tc-i386.c (sse_check): New.
264 (OPTION_MSSE_CHECK): Likewise.
265 (md_assemble): Check SSE instructions if needed.
266 (md_longopts): Add -msse-check.
267 (md_parse_option): Handle OPTION_MSSE_CHECK.
268 (md_show_usage): Show -msse-check=[none|error|warning].
270 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
272 2008-04-10 Santiago Urueña <suruena@gmail.com>
274 * listing.c: Add -ag listing flag to show general information in
275 listings such as gas version, passed options, and time stamp.
276 (listing_general_info): New function.
277 (print_options): New function.
278 (print_single_option): New function.
279 (print_timestamp): New function.
280 (MAX_DATELEN): Define.
281 (listing_print): Add call to listing_general_info.
282 * listing.h (LISTING_GENERAL): Define.
283 (listing_print): Add new parameter.
284 * as.c (show_usage): Print new switch.
285 (parse_args): Parse new switch.
286 (main): Pass command line on to listing_print.
287 * NEWS: Mention this new feature.
288 * doc/as.texinfo: Document the new sub-option.
290 2008-04-08 Alan Modra <amodra@bigpond.net.au>
292 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
293 call. Delete out of date comment.
294 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
295 (dwarf2_emit_label): Don't emit unless there has been a previous
296 .file or we are outputting assembler generated debug.
297 dwarf2_consume_line_info after emitting line info, not before.
298 (out_debug_info): Simplify files_in_use test.
300 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
302 * config/tc-i386.c (parse_real_register): Return AVX register
303 only if AVX is enabled.
305 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
308 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
309 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
311 2008-04-04 Adrian Bunk <bunk@stusta.de>
312 Bob Wilson <bob.wilson@acm.org>
314 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
315 call to decode_reloc.
317 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
319 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
321 * config/tc-i386.c (cpu_arch): Add .pclmul.
322 (md_show_usage): Replace clmul with pclmul.
323 * doc/c-i386.texi: Likewise.
325 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
327 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
329 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
330 Document -msse2avx, .avx, .aes, .clmul and .fma.
332 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
333 (vex_prefix): Likewise.
335 (CPU_FLAGS_ARCH_MATCH): Likewise.
336 (CPU_FLAGS_64BIT_MATCH): Likewise.
337 (CPU_FLAGS_32BIT_MATCH): Likewise.
338 (CPU_FLAGS_PERFECT_MATCH): Likewise.
340 (vex_imm4): Likewise.
341 (fits_in_imm4): Likewise.
342 (build_vex_prefix): Likewise.
343 (VEX_check_operands): Likewise.
344 (bad_implicit_operand): Likewise.
345 (OPTION_MSSE2AVX): Likewise.
346 (T_YMMWORD): Likewise.
347 (_i386_insn): Add vex.
348 (cpu_arch): Add .avx, .aes, .clmul and .fma.
349 (cpu_flags_match): Changed to take a pointer to const template.
350 Enable encoding SSE instructions with VEX prefix for -msse2avx.
351 (match_mem_size): Also check ymmword.
352 (operand_type_match): Clear ymmword.
353 (md_begin): Allow '_' in mnemonic.
354 (type_names): Add OPERAND_TYPE_VEX_IMM4.
355 (process_immext): Update assert.
356 (md_assemble): Don't call process_immext if sse2avx and immext
357 are true. Call build_vex_prefix if vex is true.
358 (parse_insn): Updated for cpu_flags_match.
359 (swap_operands): Handle 5 operands.
360 (match_template): Handle 5 operands. Updated for cpu_flags_match.
361 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
362 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
363 (check_byte_reg): Check regymm.
364 (process_operands): Duplicate the destination register for
366 (build_modrm_byte): Updated for instructions with VEX encoding.
367 (output_insn): Output VEX prefix if needed.
368 (md_longopts): Add msse2avx.
369 (md_parse_option): Handle OPTION_MSSE2AVX.
370 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
371 (intel_e09): Support YMMWORD.
372 (intel_e11): Likewise.
373 (intel_get_token): Likewise.
375 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
377 * config/tc-avr.c (mcu_types): Add attiny167.
378 * doc/c-avr.texi: Likewise.
380 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
382 * config/tc-avr.c (mcu_types): Add atmega32u4.
383 * doc/c-avr.texi: Likewise.
385 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
387 * config/tc-avr.c (mcu_types): Add atmega32c1.
388 * doc/c-avr.texi: Likewise.
390 2008-03-28 Paul Brook <paul@codesourcery.com>
392 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
393 to avoid spurious symbols.
395 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
397 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
400 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
402 * config/tc-avr.c (mcu_types): Add atmega32m1.
403 * doc/c-avr.texi: Likewise.
405 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
407 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
409 (do_neon_ext): Fix sign of comparison.
411 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
413 From Jie Zhang <jie.zhang@analog.com>
414 * config/bfin-parse.y (asm_1): Check AREGS in comparison
415 instructions. And call yyerror when comparing PREG with
417 (check_macfunc_option): New.
418 (check_macfuncs): Check option by calling check_macfunc_option.
419 Fix comparison always true warnings. Both scalar instructions
420 of vector instruction must share the same mode option. Only allow
421 option mode at the end of the second instruction of the vector.
422 (asm_1): Check option by calling check_macfunc_option.
424 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
425 option for multiply and multiply-accumulate to data register
427 (check_macfuncs): Don't check if accumulator matches the data register
429 (assign_macfunc): Check if accumulator matches the
430 data register in each rule that moves to the data
433 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
434 generated for LOOP_BEGIN and LOOP_END instructions.
435 (bfin_gen_loop): Likewise.
437 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
439 * config/tc-s390.c (md_parse_option): z10 option added.
441 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
443 * aclocal.m4: Regenerate.
444 * configure: Likewise.
445 * Makefile.in: Likewise.
446 * doc/Makefile.in: Likewise.
448 2008-03-17 Adrian Bunk <bunk@stusta.de>
451 * config/tc-hppa.c (is_same_frag): Delete.
453 2008-03-14 Sterling Augustine <sterling@tensilica.com>
455 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
456 RELAX_LOOP_END_ADD_NOP.
458 2008-03-13 Evandro Menezes <evandro@yahoo.com>
461 * read.c (s_mexit): Warn if attempting to exit a macro when not
462 inside a macro definition.
464 2008-03-13 Alan Modra <amodra@bigpond.net.au>
466 * Makefile.am: Run "make dep-am".
467 * Makefile.in: Regenerate.
468 * configure: Regenerate.
470 2008-03-09 Paul Brook <paul@codesourcery.com>
472 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
473 * doc/c-arm.texi: Add cortex-a9.
475 2008-03-09 Paul Brook <paul@codesourcery.com>
477 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
478 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
479 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
480 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
481 * doc/c-arm.texi: Document new ARM FPU variants.
483 2008-03-07 Paul Brook <paul@codesourcery.com>
485 * config/tc-arm.c (md_apply_fix): Use correct offset range.
487 2008-03-07 Alan Modra <amodra@bigpond.net.au>
489 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
490 for strict ordering of powerpc_opcodes, but disable for now.
492 2008-03-04 Paul Brook <paul@codesourcery.com>
494 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
495 (arm_ext_v7m): Rename...
496 (arm_ext_m): ... to this. Include v6-M.
497 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
498 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
499 (md_assemble): Allow wide msr instructions.
500 (insns): Add classifications for v6-m instructions.
501 (arm_cpu_option_table): Add cortex-m1.
502 (arm_arch_option_table): Add armv6-m.
503 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
505 2008-03-03 Sterling Augustine <sterling@tensilica.com>
506 Bob Wilson <bob.wilson@acm.org>
508 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
509 (md_begin): Initialize it.
510 (resources_conflict): Use it.
512 2008-03-03 Sterling Augustine <sterling@tensilica.com>
514 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
516 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
517 H.J. Lu <hongjiu.lu@intel.com>
520 * read.c (pseudo_set): Don't allow global register symbol.
522 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
525 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
528 * write.c (write_object_file): Don't allow symbols which were
529 equated to register. Stop if there is an error.
531 2008-03-01 Alan Modra <amodra@bigpond.net.au>
533 * config/tc-ppc.h (struct _ppc_fix_extra): New.
535 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
536 * config/tc-ppc.c (ppu_cpu): Make global.
537 (ppc_insert_operand): Add ppu_cpu parameter.
538 (md_assemble): Adjust for above change.
539 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
541 2008-02-22 Nick Clifton <nickc@redhat.com>
543 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
544 targeted ARM ports, otherwise just skip generating the reloc.
546 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
548 * doc/c-i386.texi: Update -march= and .arch.
550 2008-02-18 Nick Clifton <nickc@redhat.com>
552 * config/tc-mn10300.c (has_known_symbol_location): New function.
553 Do not regard weak symbols as having a known location.
554 (md_estimate_size_before_relax): Use new function.
555 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
557 2008-02-18 Jan Beulich <jbeulich@novell.com>
559 * config/tc-i386.c (match_template): Disallow 'l' suffix when
560 currently selected CPU has no 32-bit support.
561 (parse_real_register): Do not return registers not available on
562 currently selected CPU.
564 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
566 * config/tc-i386.c (process_immext): Fix format.
568 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
570 * config/tc-i386.c (inoutportreg): New.
571 (process_immext): New.
572 (md_assemble): Use it.
573 (update_imm): Use imm16 and imm32s.
574 (i386_att_operand): Use inoutportreg.
576 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
578 * config/tc-i386.c (operand_type_all_zero): New.
579 (operand_type_set): Likewise.
580 (operand_type_equal): Likewise.
581 (cpu_flags_all_zero): Likewise.
582 (cpu_flags_set): Likewise.
583 (cpu_flags_equal): Likewise.
584 (UINTS_ALL_ZERO): Removed.
585 (UINTS_SET): Likewise.
586 (UINTS_CLEAR): Likewise.
587 (UINTS_EQUAL): Likewise.
588 (cpu_flags_match): Updated.
589 (smallest_imm_type): Likewise.
590 (set_cpu_arch): Likewise.
591 (md_assemble): Likewise.
592 (optimize_imm): Likewise.
593 (match_template): Likewise.
594 (process_suffix): Likewise.
595 (update_imm): Likewise.
596 (process_drex): Likewise.
597 (process_operands): Likewise.
598 (build_modrm_byte): Likewise.
599 (i386_immediate): Likewise.
600 (i386_displacement): Likewise.
601 (i386_att_operand): Likewise.
602 (parse_real_register): Likewise.
603 (md_parse_option): Likewise.
604 (i386_target_format): Likewise.
606 2008-02-14 Dimitry Andric <dimitry@andric.com>
609 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
610 pointer past the comma after parsing a floating point register
613 2008-02-14 Hakan Ardo <hakan@debian.org>
616 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
618 (avr_operand): Disallow post-increment addressing in the lpm
619 instruction for the attiny26.
621 2008-02-13 Jan Beulich <jbeulich@novell.com>
623 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
624 if not in Intel mode.
625 (i386_intel_operand): Ignore segment overrides in immediate and
627 (intel_e11): Range-check i.mem_operands before use as array
628 index. Filter out FLAT for uses other than as segment override.
629 (intel_get_token): Remove broken promotion of "FLAT:" to mean
632 2008-02-13 Jan Beulich <jbeulich@novell.com>
634 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
636 2008-02-13 Jan Beulich <jbeulich@novell.com>
638 * config/tc-i386.c (allow_pseudo_reg): New.
639 (parse_real_register): Check for NULL just once. Allow all
640 register table entries when allow_pseudo_reg is non-zero.
641 Don't allow any registers without type when allow_pseudo_reg
643 (tc_x86_regname_to_dw2regnum): Replace with ...
644 (tc_x86_parse_to_dw2regnum): ... this.
645 (tc_x86_frame_initial_instructions): Adjust for above change.
646 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
647 (tc_parse_to_dw2regnum): New.
648 (tc_x86_regname_to_dw2regnum): Replace with ...
649 (tc_x86_parse_to_dw2regnum): ... this.
650 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
651 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
654 2008-02-12 Nick Clifton <nickc@redhat.com>
656 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
658 (tic4x_insn_add): Likewise.
659 (md_begin): Drop cast that was discarding a const qualifier.
660 * config/tc-d30v.c (get_reloc): Add const qualifier to op
662 (build_insn): Drop cast that was discarding a const qualifier.
664 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
666 * config/tc-i386.c (cpu_arch): Add .xsave.
667 (md_show_usage): Add .xsave.
669 * doc/c-i386.texi: Add xsave to -march=.
671 2008-02-07 Alan Modra <amodra@bigpond.net.au>
673 * read.c (s_weakref): Don't pass unadorned NULL to concat.
674 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
676 2008-02-05 Sterling Augustine <sterling@tensilica.com>
678 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
679 checks into assertions. When relaxation produces an operation that
680 does not fit in the current FLIX instruction, make sure that the
681 operation is relaxed as needed to account for being placed following
682 the current instruction.
684 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
687 * configure: Regenerated.
689 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
691 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
693 2008-01-31 Marc Gauthier <marc@tensilica.com>
695 * configure.tgt (xtensa*-*-*): Recognize processor variants.
697 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
699 * read.c: (emit_expr): Correct for mingw use of printf size
702 2008-01-24 Bob Wilson <bob.wilson@acm.org>
704 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
705 can only be encoded in FLIX instructions but are not specified as such.
706 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
709 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
711 * NEWS: Mention new command line options for x86 targets.
713 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
715 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
717 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
719 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
721 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
723 * config/tc-i386.c (md_show_usage): Show more processors for
726 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
728 * config/tc-i386.c (i386_target_format): Remove cpummx2.
730 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
732 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
733 (XXX_MNEM_SUFFIX): Likewise.
734 (END_OF_INSN): Likewise.
735 (templates): Likewise.
736 (modrm_byte): Likewise.
737 (rex_byte): Likewise.
738 (DREX_XXX): Likewise.
739 (drex_byte): Likewise.
740 (sib_byte): Likewise.
741 (processor_type): Likewise.
742 (arch_entry): Likewise.
743 (cpu_sub_arch_name): Remove const.
744 (cpu_arch): Add .vmx and .smx.
745 (set_cpu_arch): Append cpu_sub_arch_name.
746 (md_parse_option): Support -march=CPU[,+EXTENSION...].
747 (md_show_usage): Updated.
749 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
750 (XXX_MNEM_SUFFIX): Likewise.
751 (END_OF_INSN): Likewise.
752 (templates): Likewise.
753 (modrm_byte): Likewise.
754 (rex_byte): Likewise.
755 (DREX_XXX): Likewise.
756 (drex_byte): Likewise.
757 (sib_byte): Likewise.
758 (processor_type): Likewise.
759 (arch_entry): Likewise.
761 * doc/as.texinfo: Update i386 -march option.
763 * doc/c-i386.texi: Update -march= for ISA.
765 2008-01-18 Bob Wilson <bob.wilson@acm.org>
767 * config/tc-xtensa.c (xtensa_leb128): New function.
768 (md_pseudo_table): Use it for sleb128 and uleb128.
769 (is_leb128_expr): New internal flag.
770 (xtensa_symbol_new_hook): Check new flag.
772 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
774 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
775 at90usb82, at90usb162.
776 * doc/c-avr.texi: Change architecture grouping for at90usb82,
778 These changes support the new avr35 architecture group in gcc.
780 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
782 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
783 suffix for AT&T syntax.
785 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
787 * config/tc-i386.c (match_reg_size): New.
788 (match_mem_size): Likewise.
789 (operand_size_match): Likewise.
790 (operand_type_match): Also clear all size fields.
791 (match_template): Skip Intel syntax when in AT&T syntax.
792 Call operand_size_match to check operand size.
793 (i386_att_operand): Set the mem field to 1 for memory
795 (i386_intel_operand): Likewise.
797 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
800 * config/tc-i386.c (_i386_insn): Update comment.
801 (operand_type_match): Also clear unspecified.
802 (operand_type_register_match): Likewise.
803 (parse_operands): Initialize unspecified.
804 (i386_intel_operand): Likewise.
805 (match_template): Check memory and accumulator operand size.
806 (i386_att_operand): Clear unspecified on register operand.
807 (intel_e11): Likewise.
808 (intel_e09): Set operand size and clean unspecified for
811 2008-01-11 Andreas Schwab <schwab@suse.de>
813 * read.c (s_space): Declare `repeat' as offsetT.
815 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
817 * config/tc-i386.c (match_template): Check processor support
820 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
822 * config/tc-i386.c (match_template): Continue if processor
825 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
827 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
828 unwind personality function address.
830 2008-01-09 Bob Wilson <bob.wilson@acm.org>
832 * dwarf2dbg.c (out_sleb128): Delete.
833 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
834 (out_fixed_inc_line_addr): Delete.
835 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
836 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
837 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
838 (process_entries): Remove calls to out_fixed_inc_line_addr. When
839 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
840 * read.h (emit_expr_fix): New prototype.
841 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
842 (emit_expr_fix): New.
844 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
846 * config/tc-i386.c (match_template): Check register size
847 only when size of operands can be encoded the canonical way.
849 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
851 * config/tc-i386.c (i386_operand): Renamed to ...
852 (i386_att_operand): This.
853 (parse_operands): Updated.
855 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
857 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
859 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
861 (md_assemble): Remove Intel mode workaround.
862 (match_template): Check support for old gcc, AT&T mnemonic
864 (md_parse_option): Don't set intel_mnemonic to 0 for
867 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
869 * config/tc-i386.h: Update copyright to 2008.
871 2008-01-04 Nick Clifton <nickc@redhat.com>
873 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
874 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
876 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
878 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
881 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
883 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
884 (cpu_flags_not): Likewise.
885 (cpu_flags_match): Updated to check 64bit and arch.
886 (set_code_flag): Remove cpu_arch_flags_not.
887 (set_16bit_gcc_code_flag): Likewise.
888 (set_cpu_arch): Likewise.
889 (md_begin): Likewise.
890 (parse_insn): Call cpu_flags_match to check 64bit and arch.
891 (match_template): Likewise.
893 2008-01-03 Jakub Jelinek <jakub@redhat.com>
895 * config/tc-i386.c (process_drex): Initialize modrm_reg and
896 modrm_regmem to 0 instead of None.
898 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
900 * config/tc-i386.c (match_template): Use the xmmword field
903 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
905 * config/tc-i386.c (process_suffix): Fix a typo.
907 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
910 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
911 Check memory size in Intel mode.
912 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
913 (intel_e09): Likewise.
915 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
917 2008-01-02 Catherine Moore <clm@codesourcery.com>
919 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
921 For older changes see ChangeLog-2007
927 version-control: never