1 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
4 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
5 text_section. Do the "stepping backwards" test for text_section
6 using unsigned operands.
8 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
10 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
11 (ppc_insert_operand): Likewise.
12 (ppc_machine): Likewise.
13 * config/tc-ppc.h: #include "opcode/ppc.h"
14 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
15 (ppc_cpu): Update extern decl.
17 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
19 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
20 +x, +X, +p, +P, +s, +S.
23 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
25 (macro_build): Likewise.
26 (CPU_HAS_SEQ): New macro.
27 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
29 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
31 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
32 * doc/c-avr.texi: Likewise.
34 2008-06-04 Nick Clifton <nickc@redhat.com>
36 * app.c (do_scrub_chars): Do not UNGET an EOF value.
38 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
40 * config/tc-i386.c (set_sse_check): New.
41 (md_pseudo_table): Add "sse_check".
43 2008-06-03 Paul Brook <paul@codesourcery.com>
45 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
47 2008-05-30 Nick Clifton <nickc@redhat.com>
50 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
53 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
55 * config/tc-mips.c (mips_cpu_info_table): Move records for
56 ST Loongson-2E/2F processors to a better place.
58 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
61 * config/tc-i386.c (match_template): Report ambiguous operand
62 size, not invalid suffix when there is no match in Intel
65 2008-05-22 Paul Brook <paul@codesourcery.com>
67 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
69 2008-05-21 I-Jui Sung <ijsung@gmail.com>
71 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
72 compatible cores: fa526, fa626, fa626te, fa726te.
73 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
76 2008-05-14 Alan Modra <amodra@bigpond.net.au>
78 * Makefile.am: Run "make dep-am".
79 * Makefile.in: Regenerate.
80 * doc/Makefile.in: Regenerate.
81 * po/POTFILES.in: Regenerate.
83 2008-05-09 Catherine Moore <clm@codesourcery.com>
85 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
86 with non-MIPS16 relocs.
88 2008-05-09 Chao-ying Fu <fu@mips.com>
90 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
91 case that some characters append at the end of the name.
93 (s_change_sec): Likewise.
94 (md_section_align): Likewise.
96 2008-05-07 Bob Wilson <bob.wilson@acm.org>
98 * config/tc-xtensa.c (xtensa_create_property_segments): Use
99 xtensa_make_property_section instead of xtensa_get_property_section.
100 (xtensa_create_xproperty_segments): Likewise.
102 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
104 * NEWS: Mention XSAVE, EPT and MOVBE.
106 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
107 (md_show_usage): Add .movbe and .ept.
109 * doc/c-i386.texi: Add movbe and ept to -march=. Document
112 2008-04-29 David S. Miller <davem@davemloft.net>
114 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
116 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
118 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
120 (OPTION_ELF_BASE): Make room for new option macros.
121 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
122 OPTION_DOUBLE_FLOAT): New option macros.
123 (md_longopts): Add msoft-float, mhard-float, msingle-float and
125 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
126 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
127 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
129 (struct mips_set_options): New fields soft_float and single_float.
130 (mips_opts): Initialized them. Add comment for each field
132 (mips_after_parse_args): Set them based on file_mips_soft_float
133 and file_mips_single_float.
134 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
135 `.set singlefloat' and `.set doublefloat'.
136 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
137 Handle single-float and soft-float instructions here.
138 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
139 (is_opcode_valid_16): New function.
140 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
141 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
142 M_S_DOB>: Remove special-casing of r4650.
143 * doc/c-mips.texi (-march=): Add Octeon.
144 (MIPS Opts): Document -msoft-float and -mhard-float. Document
145 -msingle-float and -mdouble-float.
146 (MIPS floating-point): New section. Document `.set softfloat' and
147 `.set hardfloat'. Document `.set singlefloat' and `.set
150 2008-04-25 David S. Miller <davem@davemloft.net>
152 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
155 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
156 rather than occaisionally 'levels'. Consistently refer to Sun's
157 UNIX variant as SunOS, every version of Solaris is also SunOS.
158 Document new 'softint_clear' and 'softint_set' aliases. Clarify
159 which architecture versions support '%dcr', '%cq', and '%gl'. Add
160 section on 32-bit/64-bit opcode translations.
162 2008-04-23 Mike Frysinger <vapier@gentoo.org>
164 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
165 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
166 (obj-fdpicelf.o): Define.
167 * Makefile.in: Regenerate.
168 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
170 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
171 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
172 * config/obj-fdpicelf.c: New.
173 * config/obj-fdpicelf.h: Likewise.
174 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
175 the OBJ_FDPIC_ELF define.
176 (OPTION_NOPIC): Define.
177 (md_longopts): Add mnopic and mno-fdpic.
178 (md_parse_option): Handle OPTION_NOPIC.
180 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
182 * aclocal.m4: Regenerate.
183 * configure: Regenerate.
185 2008-04-23 David S. Miller <davem@davemloft.net>
187 * config/tc-sparc.c (v9a_asr_table): Add missing
188 'stick' and 'stick_cmpr', and document ordering rules
190 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
191 BFD_RELOC_SPARC_PC10.
192 * doc/c-sparc.texi: New section on Sparc constants.
193 Add documentation for %stick and %stick_cmpr.
195 2008-04-22 David S. Miller <davem@davemloft.net>
197 * config/obj-elf.c (obj_elf_section_type): Add prototype
198 before obj_elf_section_word and add 'warn' arg.
199 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
200 is matched, try checking for #SECTION_TYPE.
201 (obj_elf_section): Adjust for new args.
202 (obj_elf_type_name): New function.
203 (obj_elf_type): Call it, and accept STT_foo number strings
204 in .type statements as output by SunPRO compiler.
206 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
208 * config/tc-i386.c (md_assemble): Don't check SSE instructions
211 2008-04-18 David S. Miller <davem@davemloft.net>
213 * doc/c-sparc.texi: Add syntax section.
215 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
217 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
218 REG and NDS for instructions with immediate operand.
220 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
222 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
225 2008-04-16 David S. Miller <davem@davemloft.net>
227 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
228 and relocation generation.
229 (tc_gen_reloc): Likewise.
231 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
233 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
234 relocations are properly aligned, and not negative.
236 2008-04-15 Khem Raj <kraj@mvista.com>
238 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
240 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
242 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
243 accept e500mc instructions.
244 (md_show_usage): Document -me500mc.
246 2008-04-11 Nick Clifton <nickc@redhat.com>
248 * listing.c (print_timestamp): Use localtime rather than
249 localtime_r since not all build environments provide the latter.
251 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
253 * NEWS: Mention -msse-check=[none|error|warning].
255 * config/tc-i386.c (sse_check): New.
256 (OPTION_MSSE_CHECK): Likewise.
257 (md_assemble): Check SSE instructions if needed.
258 (md_longopts): Add -msse-check.
259 (md_parse_option): Handle OPTION_MSSE_CHECK.
260 (md_show_usage): Show -msse-check=[none|error|warning].
262 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
264 2008-04-10 Santiago Urueña <suruena@gmail.com>
266 * listing.c: Add -ag listing flag to show general information in
267 listings such as gas version, passed options, and time stamp.
268 (listing_general_info): New function.
269 (print_options): New function.
270 (print_single_option): New function.
271 (print_timestamp): New function.
272 (MAX_DATELEN): Define.
273 (listing_print): Add call to listing_general_info.
274 * listing.h (LISTING_GENERAL): Define.
275 (listing_print): Add new parameter.
276 * as.c (show_usage): Print new switch.
277 (parse_args): Parse new switch.
278 (main): Pass command line on to listing_print.
279 * NEWS: Mention this new feature.
280 * doc/as.texinfo: Document the new sub-option.
282 2008-04-08 Alan Modra <amodra@bigpond.net.au>
284 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
285 call. Delete out of date comment.
286 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
287 (dwarf2_emit_label): Don't emit unless there has been a previous
288 .file or we are outputting assembler generated debug.
289 dwarf2_consume_line_info after emitting line info, not before.
290 (out_debug_info): Simplify files_in_use test.
292 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
294 * config/tc-i386.c (parse_real_register): Return AVX register
295 only if AVX is enabled.
297 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
300 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
301 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
303 2008-04-04 Adrian Bunk <bunk@stusta.de>
304 Bob Wilson <bob.wilson@acm.org>
306 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
307 call to decode_reloc.
309 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
311 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
313 * config/tc-i386.c (cpu_arch): Add .pclmul.
314 (md_show_usage): Replace clmul with pclmul.
315 * doc/c-i386.texi: Likewise.
317 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
319 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
321 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
322 Document -msse2avx, .avx, .aes, .clmul and .fma.
324 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
325 (vex_prefix): Likewise.
327 (CPU_FLAGS_ARCH_MATCH): Likewise.
328 (CPU_FLAGS_64BIT_MATCH): Likewise.
329 (CPU_FLAGS_32BIT_MATCH): Likewise.
330 (CPU_FLAGS_PERFECT_MATCH): Likewise.
332 (vex_imm4): Likewise.
333 (fits_in_imm4): Likewise.
334 (build_vex_prefix): Likewise.
335 (VEX_check_operands): Likewise.
336 (bad_implicit_operand): Likewise.
337 (OPTION_MSSE2AVX): Likewise.
338 (T_YMMWORD): Likewise.
339 (_i386_insn): Add vex.
340 (cpu_arch): Add .avx, .aes, .clmul and .fma.
341 (cpu_flags_match): Changed to take a pointer to const template.
342 Enable encoding SSE instructions with VEX prefix for -msse2avx.
343 (match_mem_size): Also check ymmword.
344 (operand_type_match): Clear ymmword.
345 (md_begin): Allow '_' in mnemonic.
346 (type_names): Add OPERAND_TYPE_VEX_IMM4.
347 (process_immext): Update assert.
348 (md_assemble): Don't call process_immext if sse2avx and immext
349 are true. Call build_vex_prefix if vex is true.
350 (parse_insn): Updated for cpu_flags_match.
351 (swap_operands): Handle 5 operands.
352 (match_template): Handle 5 operands. Updated for cpu_flags_match.
353 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
354 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
355 (check_byte_reg): Check regymm.
356 (process_operands): Duplicate the destination register for
358 (build_modrm_byte): Updated for instructions with VEX encoding.
359 (output_insn): Output VEX prefix if needed.
360 (md_longopts): Add msse2avx.
361 (md_parse_option): Handle OPTION_MSSE2AVX.
362 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
363 (intel_e09): Support YMMWORD.
364 (intel_e11): Likewise.
365 (intel_get_token): Likewise.
367 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
369 * config/tc-avr.c (mcu_types): Add attiny167.
370 * doc/c-avr.texi: Likewise.
372 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
374 * config/tc-avr.c (mcu_types): Add atmega32u4.
375 * doc/c-avr.texi: Likewise.
377 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
379 * config/tc-avr.c (mcu_types): Add atmega32c1.
380 * doc/c-avr.texi: Likewise.
382 2008-03-28 Paul Brook <paul@codesourcery.com>
384 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
385 to avoid spurious symbols.
387 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
389 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
392 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
394 * config/tc-avr.c (mcu_types): Add atmega32m1.
395 * doc/c-avr.texi: Likewise.
397 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
399 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
401 (do_neon_ext): Fix sign of comparison.
403 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
405 From Jie Zhang <jie.zhang@analog.com>
406 * config/bfin-parse.y (asm_1): Check AREGS in comparison
407 instructions. And call yyerror when comparing PREG with
409 (check_macfunc_option): New.
410 (check_macfuncs): Check option by calling check_macfunc_option.
411 Fix comparison always true warnings. Both scalar instructions
412 of vector instruction must share the same mode option. Only allow
413 option mode at the end of the second instruction of the vector.
414 (asm_1): Check option by calling check_macfunc_option.
416 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
417 option for multiply and multiply-accumulate to data register
419 (check_macfuncs): Don't check if accumulator matches the data register
421 (assign_macfunc): Check if accumulator matches the
422 data register in each rule that moves to the data
425 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
426 generated for LOOP_BEGIN and LOOP_END instructions.
427 (bfin_gen_loop): Likewise.
429 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
431 * config/tc-s390.c (md_parse_option): z10 option added.
433 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
435 * aclocal.m4: Regenerate.
436 * configure: Likewise.
437 * Makefile.in: Likewise.
438 * doc/Makefile.in: Likewise.
440 2008-03-17 Adrian Bunk <bunk@stusta.de>
443 * config/tc-hppa.c (is_same_frag): Delete.
445 2008-03-14 Sterling Augustine <sterling@tensilica.com>
447 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
448 RELAX_LOOP_END_ADD_NOP.
450 2008-03-13 Evandro Menezes <evandro@yahoo.com>
453 * read.c (s_mexit): Warn if attempting to exit a macro when not
454 inside a macro definition.
456 2008-03-13 Alan Modra <amodra@bigpond.net.au>
458 * Makefile.am: Run "make dep-am".
459 * Makefile.in: Regenerate.
460 * configure: Regenerate.
462 2008-03-09 Paul Brook <paul@codesourcery.com>
464 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
465 * doc/c-arm.texi: Add cortex-a9.
467 2008-03-09 Paul Brook <paul@codesourcery.com>
469 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
470 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
471 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
472 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
473 * doc/c-arm.texi: Document new ARM FPU variants.
475 2008-03-07 Paul Brook <paul@codesourcery.com>
477 * config/tc-arm.c (md_apply_fix): Use correct offset range.
479 2008-03-07 Alan Modra <amodra@bigpond.net.au>
481 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
482 for strict ordering of powerpc_opcodes, but disable for now.
484 2008-03-04 Paul Brook <paul@codesourcery.com>
486 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
487 (arm_ext_v7m): Rename...
488 (arm_ext_m): ... to this. Include v6-M.
489 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
490 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
491 (md_assemble): Allow wide msr instructions.
492 (insns): Add classifications for v6-m instructions.
493 (arm_cpu_option_table): Add cortex-m1.
494 (arm_arch_option_table): Add armv6-m.
495 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
497 2008-03-03 Sterling Augustine <sterling@tensilica.com>
498 Bob Wilson <bob.wilson@acm.org>
500 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
501 (md_begin): Initialize it.
502 (resources_conflict): Use it.
504 2008-03-03 Sterling Augustine <sterling@tensilica.com>
506 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
508 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
509 H.J. Lu <hongjiu.lu@intel.com>
512 * read.c (pseudo_set): Don't allow global register symbol.
514 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
517 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
520 * write.c (write_object_file): Don't allow symbols which were
521 equated to register. Stop if there is an error.
523 2008-03-01 Alan Modra <amodra@bigpond.net.au>
525 * config/tc-ppc.h (struct _ppc_fix_extra): New.
527 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
528 * config/tc-ppc.c (ppu_cpu): Make global.
529 (ppc_insert_operand): Add ppu_cpu parameter.
530 (md_assemble): Adjust for above change.
531 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
533 2008-02-22 Nick Clifton <nickc@redhat.com>
535 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
536 targeted ARM ports, otherwise just skip generating the reloc.
538 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
540 * doc/c-i386.texi: Update -march= and .arch.
542 2008-02-18 Nick Clifton <nickc@redhat.com>
544 * config/tc-mn10300.c (has_known_symbol_location): New function.
545 Do not regard weak symbols as having a known location.
546 (md_estimate_size_before_relax): Use new function.
547 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
549 2008-02-18 Jan Beulich <jbeulich@novell.com>
551 * config/tc-i386.c (match_template): Disallow 'l' suffix when
552 currently selected CPU has no 32-bit support.
553 (parse_real_register): Do not return registers not available on
554 currently selected CPU.
556 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
558 * config/tc-i386.c (process_immext): Fix format.
560 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
562 * config/tc-i386.c (inoutportreg): New.
563 (process_immext): New.
564 (md_assemble): Use it.
565 (update_imm): Use imm16 and imm32s.
566 (i386_att_operand): Use inoutportreg.
568 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
570 * config/tc-i386.c (operand_type_all_zero): New.
571 (operand_type_set): Likewise.
572 (operand_type_equal): Likewise.
573 (cpu_flags_all_zero): Likewise.
574 (cpu_flags_set): Likewise.
575 (cpu_flags_equal): Likewise.
576 (UINTS_ALL_ZERO): Removed.
577 (UINTS_SET): Likewise.
578 (UINTS_CLEAR): Likewise.
579 (UINTS_EQUAL): Likewise.
580 (cpu_flags_match): Updated.
581 (smallest_imm_type): Likewise.
582 (set_cpu_arch): Likewise.
583 (md_assemble): Likewise.
584 (optimize_imm): Likewise.
585 (match_template): Likewise.
586 (process_suffix): Likewise.
587 (update_imm): Likewise.
588 (process_drex): Likewise.
589 (process_operands): Likewise.
590 (build_modrm_byte): Likewise.
591 (i386_immediate): Likewise.
592 (i386_displacement): Likewise.
593 (i386_att_operand): Likewise.
594 (parse_real_register): Likewise.
595 (md_parse_option): Likewise.
596 (i386_target_format): Likewise.
598 2008-02-14 Dimitry Andric <dimitry@andric.com>
601 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
602 pointer past the comma after parsing a floating point register
605 2008-02-14 Hakan Ardo <hakan@debian.org>
608 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
610 (avr_operand): Disallow post-increment addressing in the lpm
611 instruction for the attiny26.
613 2008-02-13 Jan Beulich <jbeulich@novell.com>
615 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
616 if not in Intel mode.
617 (i386_intel_operand): Ignore segment overrides in immediate and
619 (intel_e11): Range-check i.mem_operands before use as array
620 index. Filter out FLAT for uses other than as segment override.
621 (intel_get_token): Remove broken promotion of "FLAT:" to mean
624 2008-02-13 Jan Beulich <jbeulich@novell.com>
626 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
628 2008-02-13 Jan Beulich <jbeulich@novell.com>
630 * config/tc-i386.c (allow_pseudo_reg): New.
631 (parse_real_register): Check for NULL just once. Allow all
632 register table entries when allow_pseudo_reg is non-zero.
633 Don't allow any registers without type when allow_pseudo_reg
635 (tc_x86_regname_to_dw2regnum): Replace with ...
636 (tc_x86_parse_to_dw2regnum): ... this.
637 (tc_x86_frame_initial_instructions): Adjust for above change.
638 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
639 (tc_parse_to_dw2regnum): New.
640 (tc_x86_regname_to_dw2regnum): Replace with ...
641 (tc_x86_parse_to_dw2regnum): ... this.
642 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
643 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
646 2008-02-12 Nick Clifton <nickc@redhat.com>
648 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
650 (tic4x_insn_add): Likewise.
651 (md_begin): Drop cast that was discarding a const qualifier.
652 * config/tc-d30v.c (get_reloc): Add const qualifier to op
654 (build_insn): Drop cast that was discarding a const qualifier.
656 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
658 * config/tc-i386.c (cpu_arch): Add .xsave.
659 (md_show_usage): Add .xsave.
661 * doc/c-i386.texi: Add xsave to -march=.
663 2008-02-07 Alan Modra <amodra@bigpond.net.au>
665 * read.c (s_weakref): Don't pass unadorned NULL to concat.
666 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
668 2008-02-05 Sterling Augustine <sterling@tensilica.com>
670 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
671 checks into assertions. When relaxation produces an operation that
672 does not fit in the current FLIX instruction, make sure that the
673 operation is relaxed as needed to account for being placed following
674 the current instruction.
676 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
679 * configure: Regenerated.
681 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
683 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
685 2008-01-31 Marc Gauthier <marc@tensilica.com>
687 * configure.tgt (xtensa*-*-*): Recognize processor variants.
689 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
691 * read.c: (emit_expr): Correct for mingw use of printf size
694 2008-01-24 Bob Wilson <bob.wilson@acm.org>
696 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
697 can only be encoded in FLIX instructions but are not specified as such.
698 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
701 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
703 * NEWS: Mention new command line options for x86 targets.
705 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
707 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
709 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
711 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
713 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
715 * config/tc-i386.c (md_show_usage): Show more processors for
718 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
720 * config/tc-i386.c (i386_target_format): Remove cpummx2.
722 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
724 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
725 (XXX_MNEM_SUFFIX): Likewise.
726 (END_OF_INSN): Likewise.
727 (templates): Likewise.
728 (modrm_byte): Likewise.
729 (rex_byte): Likewise.
730 (DREX_XXX): Likewise.
731 (drex_byte): Likewise.
732 (sib_byte): Likewise.
733 (processor_type): Likewise.
734 (arch_entry): Likewise.
735 (cpu_sub_arch_name): Remove const.
736 (cpu_arch): Add .vmx and .smx.
737 (set_cpu_arch): Append cpu_sub_arch_name.
738 (md_parse_option): Support -march=CPU[,+EXTENSION...].
739 (md_show_usage): Updated.
741 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
742 (XXX_MNEM_SUFFIX): Likewise.
743 (END_OF_INSN): Likewise.
744 (templates): Likewise.
745 (modrm_byte): Likewise.
746 (rex_byte): Likewise.
747 (DREX_XXX): Likewise.
748 (drex_byte): Likewise.
749 (sib_byte): Likewise.
750 (processor_type): Likewise.
751 (arch_entry): Likewise.
753 * doc/as.texinfo: Update i386 -march option.
755 * doc/c-i386.texi: Update -march= for ISA.
757 2008-01-18 Bob Wilson <bob.wilson@acm.org>
759 * config/tc-xtensa.c (xtensa_leb128): New function.
760 (md_pseudo_table): Use it for sleb128 and uleb128.
761 (is_leb128_expr): New internal flag.
762 (xtensa_symbol_new_hook): Check new flag.
764 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
766 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
767 at90usb82, at90usb162.
768 * doc/c-avr.texi: Change architecture grouping for at90usb82,
770 These changes support the new avr35 architecture group in gcc.
772 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
774 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
775 suffix for AT&T syntax.
777 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
779 * config/tc-i386.c (match_reg_size): New.
780 (match_mem_size): Likewise.
781 (operand_size_match): Likewise.
782 (operand_type_match): Also clear all size fields.
783 (match_template): Skip Intel syntax when in AT&T syntax.
784 Call operand_size_match to check operand size.
785 (i386_att_operand): Set the mem field to 1 for memory
787 (i386_intel_operand): Likewise.
789 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
792 * config/tc-i386.c (_i386_insn): Update comment.
793 (operand_type_match): Also clear unspecified.
794 (operand_type_register_match): Likewise.
795 (parse_operands): Initialize unspecified.
796 (i386_intel_operand): Likewise.
797 (match_template): Check memory and accumulator operand size.
798 (i386_att_operand): Clear unspecified on register operand.
799 (intel_e11): Likewise.
800 (intel_e09): Set operand size and clean unspecified for
803 2008-01-11 Andreas Schwab <schwab@suse.de>
805 * read.c (s_space): Declare `repeat' as offsetT.
807 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
809 * config/tc-i386.c (match_template): Check processor support
812 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
814 * config/tc-i386.c (match_template): Continue if processor
817 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
819 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
820 unwind personality function address.
822 2008-01-09 Bob Wilson <bob.wilson@acm.org>
824 * dwarf2dbg.c (out_sleb128): Delete.
825 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
826 (out_fixed_inc_line_addr): Delete.
827 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
828 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
829 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
830 (process_entries): Remove calls to out_fixed_inc_line_addr. When
831 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
832 * read.h (emit_expr_fix): New prototype.
833 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
834 (emit_expr_fix): New.
836 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
838 * config/tc-i386.c (match_template): Check register size
839 only when size of operands can be encoded the canonical way.
841 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
843 * config/tc-i386.c (i386_operand): Renamed to ...
844 (i386_att_operand): This.
845 (parse_operands): Updated.
847 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
849 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
851 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
853 (md_assemble): Remove Intel mode workaround.
854 (match_template): Check support for old gcc, AT&T mnemonic
856 (md_parse_option): Don't set intel_mnemonic to 0 for
859 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
861 * config/tc-i386.h: Update copyright to 2008.
863 2008-01-04 Nick Clifton <nickc@redhat.com>
865 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
866 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
868 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
870 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
873 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
875 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
876 (cpu_flags_not): Likewise.
877 (cpu_flags_match): Updated to check 64bit and arch.
878 (set_code_flag): Remove cpu_arch_flags_not.
879 (set_16bit_gcc_code_flag): Likewise.
880 (set_cpu_arch): Likewise.
881 (md_begin): Likewise.
882 (parse_insn): Call cpu_flags_match to check 64bit and arch.
883 (match_template): Likewise.
885 2008-01-03 Jakub Jelinek <jakub@redhat.com>
887 * config/tc-i386.c (process_drex): Initialize modrm_reg and
888 modrm_regmem to 0 instead of None.
890 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
892 * config/tc-i386.c (match_template): Use the xmmword field
895 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
897 * config/tc-i386.c (process_suffix): Fix a typo.
899 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
902 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
903 Check memory size in Intel mode.
904 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
905 (intel_e09): Likewise.
907 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
909 2008-01-02 Catherine Moore <clm@codesourcery.com>
911 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
913 For older changes see ChangeLog-2007
919 version-control: never