1 2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
3 Add support for ATtiny13A.
4 * config/tc-avr.c (mcu_types): Add attiny13a.
5 * doc/c-avr.texi: Likewise.
7 2008-06-24 Bob Wilson <bob.wilson@acm.org>
8 Alan Modra <amodra@bigpond.net.au>
10 * write.c (relax_segment <rs_org>): Include current stretch
11 value when calculating whether .org is backwards.
13 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 * configure: Regenerate.
17 2008-06-17 Nick Clifton <nickc@redhat.com>
19 * app.c (do_scrub_chars): Do not UNGET an EOF value.
21 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
24 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
25 text_section. Do the "stepping backwards" test for text_section
26 using unsigned operands.
28 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
30 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
31 (ppc_insert_operand): Likewise.
32 (ppc_machine): Likewise.
33 * config/tc-ppc.h: #include "opcode/ppc.h"
34 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
35 (ppc_cpu): Update extern decl.
37 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
39 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
40 +x, +X, +p, +P, +s, +S.
43 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
45 (macro_build): Likewise.
46 (CPU_HAS_SEQ): New macro.
47 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
49 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
51 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
52 * doc/c-avr.texi: Likewise.
54 2008-06-04 Nick Clifton <nickc@redhat.com>
56 * app.c (do_scrub_chars): Do not UNGET an EOF value.
58 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
60 * config/tc-i386.c (set_sse_check): New.
61 (md_pseudo_table): Add "sse_check".
63 2008-06-03 Paul Brook <paul@codesourcery.com>
65 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
67 2008-05-30 Nick Clifton <nickc@redhat.com>
70 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
73 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
75 * config/tc-mips.c (mips_cpu_info_table): Move records for
76 ST Loongson-2E/2F processors to a better place.
78 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
81 * config/tc-i386.c (match_template): Report ambiguous operand
82 size, not invalid suffix when there is no match in Intel
85 2008-05-22 Paul Brook <paul@codesourcery.com>
87 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
89 2008-05-21 I-Jui Sung <ijsung@gmail.com>
91 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
92 compatible cores: fa526, fa626, fa626te, fa726te.
93 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
96 2008-05-14 Alan Modra <amodra@bigpond.net.au>
98 * Makefile.am: Run "make dep-am".
99 * Makefile.in: Regenerate.
100 * doc/Makefile.in: Regenerate.
101 * po/POTFILES.in: Regenerate.
103 2008-05-09 Catherine Moore <clm@codesourcery.com>
105 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
106 with non-MIPS16 relocs.
108 2008-05-09 Chao-ying Fu <fu@mips.com>
110 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
111 case that some characters append at the end of the name.
113 (s_change_sec): Likewise.
114 (md_section_align): Likewise.
116 2008-05-07 Bob Wilson <bob.wilson@acm.org>
118 * config/tc-xtensa.c (xtensa_create_property_segments): Use
119 xtensa_make_property_section instead of xtensa_get_property_section.
120 (xtensa_create_xproperty_segments): Likewise.
122 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
124 * NEWS: Mention XSAVE, EPT and MOVBE.
126 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
127 (md_show_usage): Add .movbe and .ept.
129 * doc/c-i386.texi: Add movbe and ept to -march=. Document
132 2008-04-29 David S. Miller <davem@davemloft.net>
134 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
136 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
138 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
140 (OPTION_ELF_BASE): Make room for new option macros.
141 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
142 OPTION_DOUBLE_FLOAT): New option macros.
143 (md_longopts): Add msoft-float, mhard-float, msingle-float and
145 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
146 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
147 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
149 (struct mips_set_options): New fields soft_float and single_float.
150 (mips_opts): Initialized them. Add comment for each field
152 (mips_after_parse_args): Set them based on file_mips_soft_float
153 and file_mips_single_float.
154 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
155 `.set singlefloat' and `.set doublefloat'.
156 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
157 Handle single-float and soft-float instructions here.
158 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
159 (is_opcode_valid_16): New function.
160 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
161 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
162 M_S_DOB>: Remove special-casing of r4650.
163 * doc/c-mips.texi (-march=): Add Octeon.
164 (MIPS Opts): Document -msoft-float and -mhard-float. Document
165 -msingle-float and -mdouble-float.
166 (MIPS floating-point): New section. Document `.set softfloat' and
167 `.set hardfloat'. Document `.set singlefloat' and `.set
170 2008-04-25 David S. Miller <davem@davemloft.net>
172 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
175 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
176 rather than occaisionally 'levels'. Consistently refer to Sun's
177 UNIX variant as SunOS, every version of Solaris is also SunOS.
178 Document new 'softint_clear' and 'softint_set' aliases. Clarify
179 which architecture versions support '%dcr', '%cq', and '%gl'. Add
180 section on 32-bit/64-bit opcode translations.
182 2008-04-23 Mike Frysinger <vapier@gentoo.org>
184 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
185 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
186 (obj-fdpicelf.o): Define.
187 * Makefile.in: Regenerate.
188 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
190 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
191 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
192 * config/obj-fdpicelf.c: New.
193 * config/obj-fdpicelf.h: Likewise.
194 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
195 the OBJ_FDPIC_ELF define.
196 (OPTION_NOPIC): Define.
197 (md_longopts): Add mnopic and mno-fdpic.
198 (md_parse_option): Handle OPTION_NOPIC.
200 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
202 * aclocal.m4: Regenerate.
203 * configure: Regenerate.
205 2008-04-23 David S. Miller <davem@davemloft.net>
207 * config/tc-sparc.c (v9a_asr_table): Add missing
208 'stick' and 'stick_cmpr', and document ordering rules
210 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
211 BFD_RELOC_SPARC_PC10.
212 * doc/c-sparc.texi: New section on Sparc constants.
213 Add documentation for %stick and %stick_cmpr.
215 2008-04-22 David S. Miller <davem@davemloft.net>
217 * config/obj-elf.c (obj_elf_section_type): Add prototype
218 before obj_elf_section_word and add 'warn' arg.
219 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
220 is matched, try checking for #SECTION_TYPE.
221 (obj_elf_section): Adjust for new args.
222 (obj_elf_type_name): New function.
223 (obj_elf_type): Call it, and accept STT_foo number strings
224 in .type statements as output by SunPRO compiler.
226 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
228 * config/tc-i386.c (md_assemble): Don't check SSE instructions
231 2008-04-18 David S. Miller <davem@davemloft.net>
233 * doc/c-sparc.texi: Add syntax section.
235 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
237 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
238 REG and NDS for instructions with immediate operand.
240 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
242 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
245 2008-04-16 David S. Miller <davem@davemloft.net>
247 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
248 and relocation generation.
249 (tc_gen_reloc): Likewise.
251 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
253 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
254 relocations are properly aligned, and not negative.
256 2008-04-15 Khem Raj <kraj@mvista.com>
258 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
260 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
262 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
263 accept e500mc instructions.
264 (md_show_usage): Document -me500mc.
266 2008-04-11 Nick Clifton <nickc@redhat.com>
268 * listing.c (print_timestamp): Use localtime rather than
269 localtime_r since not all build environments provide the latter.
271 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
273 * NEWS: Mention -msse-check=[none|error|warning].
275 * config/tc-i386.c (sse_check): New.
276 (OPTION_MSSE_CHECK): Likewise.
277 (md_assemble): Check SSE instructions if needed.
278 (md_longopts): Add -msse-check.
279 (md_parse_option): Handle OPTION_MSSE_CHECK.
280 (md_show_usage): Show -msse-check=[none|error|warning].
282 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
284 2008-04-10 Santiago Urueña <suruena@gmail.com>
286 * listing.c: Add -ag listing flag to show general information in
287 listings such as gas version, passed options, and time stamp.
288 (listing_general_info): New function.
289 (print_options): New function.
290 (print_single_option): New function.
291 (print_timestamp): New function.
292 (MAX_DATELEN): Define.
293 (listing_print): Add call to listing_general_info.
294 * listing.h (LISTING_GENERAL): Define.
295 (listing_print): Add new parameter.
296 * as.c (show_usage): Print new switch.
297 (parse_args): Parse new switch.
298 (main): Pass command line on to listing_print.
299 * NEWS: Mention this new feature.
300 * doc/as.texinfo: Document the new sub-option.
302 2008-04-08 Alan Modra <amodra@bigpond.net.au>
304 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
305 call. Delete out of date comment.
306 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
307 (dwarf2_emit_label): Don't emit unless there has been a previous
308 .file or we are outputting assembler generated debug.
309 dwarf2_consume_line_info after emitting line info, not before.
310 (out_debug_info): Simplify files_in_use test.
312 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
314 * config/tc-i386.c (parse_real_register): Return AVX register
315 only if AVX is enabled.
317 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
320 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
321 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
323 2008-04-04 Adrian Bunk <bunk@stusta.de>
324 Bob Wilson <bob.wilson@acm.org>
326 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
327 call to decode_reloc.
329 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
331 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
333 * config/tc-i386.c (cpu_arch): Add .pclmul.
334 (md_show_usage): Replace clmul with pclmul.
335 * doc/c-i386.texi: Likewise.
337 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
339 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
341 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
342 Document -msse2avx, .avx, .aes, .clmul and .fma.
344 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
345 (vex_prefix): Likewise.
347 (CPU_FLAGS_ARCH_MATCH): Likewise.
348 (CPU_FLAGS_64BIT_MATCH): Likewise.
349 (CPU_FLAGS_32BIT_MATCH): Likewise.
350 (CPU_FLAGS_PERFECT_MATCH): Likewise.
352 (vex_imm4): Likewise.
353 (fits_in_imm4): Likewise.
354 (build_vex_prefix): Likewise.
355 (VEX_check_operands): Likewise.
356 (bad_implicit_operand): Likewise.
357 (OPTION_MSSE2AVX): Likewise.
358 (T_YMMWORD): Likewise.
359 (_i386_insn): Add vex.
360 (cpu_arch): Add .avx, .aes, .clmul and .fma.
361 (cpu_flags_match): Changed to take a pointer to const template.
362 Enable encoding SSE instructions with VEX prefix for -msse2avx.
363 (match_mem_size): Also check ymmword.
364 (operand_type_match): Clear ymmword.
365 (md_begin): Allow '_' in mnemonic.
366 (type_names): Add OPERAND_TYPE_VEX_IMM4.
367 (process_immext): Update assert.
368 (md_assemble): Don't call process_immext if sse2avx and immext
369 are true. Call build_vex_prefix if vex is true.
370 (parse_insn): Updated for cpu_flags_match.
371 (swap_operands): Handle 5 operands.
372 (match_template): Handle 5 operands. Updated for cpu_flags_match.
373 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
374 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
375 (check_byte_reg): Check regymm.
376 (process_operands): Duplicate the destination register for
378 (build_modrm_byte): Updated for instructions with VEX encoding.
379 (output_insn): Output VEX prefix if needed.
380 (md_longopts): Add msse2avx.
381 (md_parse_option): Handle OPTION_MSSE2AVX.
382 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
383 (intel_e09): Support YMMWORD.
384 (intel_e11): Likewise.
385 (intel_get_token): Likewise.
387 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
389 * config/tc-avr.c (mcu_types): Add attiny167.
390 * doc/c-avr.texi: Likewise.
392 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
394 * config/tc-avr.c (mcu_types): Add atmega32u4.
395 * doc/c-avr.texi: Likewise.
397 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
399 * config/tc-avr.c (mcu_types): Add atmega32c1.
400 * doc/c-avr.texi: Likewise.
402 2008-03-28 Paul Brook <paul@codesourcery.com>
404 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
405 to avoid spurious symbols.
407 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
409 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
412 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
414 * config/tc-avr.c (mcu_types): Add atmega32m1.
415 * doc/c-avr.texi: Likewise.
417 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
419 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
421 (do_neon_ext): Fix sign of comparison.
423 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
425 From Jie Zhang <jie.zhang@analog.com>
426 * config/bfin-parse.y (asm_1): Check AREGS in comparison
427 instructions. And call yyerror when comparing PREG with
429 (check_macfunc_option): New.
430 (check_macfuncs): Check option by calling check_macfunc_option.
431 Fix comparison always true warnings. Both scalar instructions
432 of vector instruction must share the same mode option. Only allow
433 option mode at the end of the second instruction of the vector.
434 (asm_1): Check option by calling check_macfunc_option.
436 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
437 option for multiply and multiply-accumulate to data register
439 (check_macfuncs): Don't check if accumulator matches the data register
441 (assign_macfunc): Check if accumulator matches the
442 data register in each rule that moves to the data
445 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
446 generated for LOOP_BEGIN and LOOP_END instructions.
447 (bfin_gen_loop): Likewise.
449 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
451 * config/tc-s390.c (md_parse_option): z10 option added.
453 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
455 * aclocal.m4: Regenerate.
456 * configure: Likewise.
457 * Makefile.in: Likewise.
458 * doc/Makefile.in: Likewise.
460 2008-03-17 Adrian Bunk <bunk@stusta.de>
463 * config/tc-hppa.c (is_same_frag): Delete.
465 2008-03-14 Sterling Augustine <sterling@tensilica.com>
467 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
468 RELAX_LOOP_END_ADD_NOP.
470 2008-03-13 Evandro Menezes <evandro@yahoo.com>
473 * read.c (s_mexit): Warn if attempting to exit a macro when not
474 inside a macro definition.
476 2008-03-13 Alan Modra <amodra@bigpond.net.au>
478 * Makefile.am: Run "make dep-am".
479 * Makefile.in: Regenerate.
480 * configure: Regenerate.
482 2008-03-09 Paul Brook <paul@codesourcery.com>
484 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
485 * doc/c-arm.texi: Add cortex-a9.
487 2008-03-09 Paul Brook <paul@codesourcery.com>
489 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
490 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
491 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
492 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
493 * doc/c-arm.texi: Document new ARM FPU variants.
495 2008-03-07 Paul Brook <paul@codesourcery.com>
497 * config/tc-arm.c (md_apply_fix): Use correct offset range.
499 2008-03-07 Alan Modra <amodra@bigpond.net.au>
501 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
502 for strict ordering of powerpc_opcodes, but disable for now.
504 2008-03-04 Paul Brook <paul@codesourcery.com>
506 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
507 (arm_ext_v7m): Rename...
508 (arm_ext_m): ... to this. Include v6-M.
509 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
510 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
511 (md_assemble): Allow wide msr instructions.
512 (insns): Add classifications for v6-m instructions.
513 (arm_cpu_option_table): Add cortex-m1.
514 (arm_arch_option_table): Add armv6-m.
515 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
517 2008-03-03 Sterling Augustine <sterling@tensilica.com>
518 Bob Wilson <bob.wilson@acm.org>
520 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
521 (md_begin): Initialize it.
522 (resources_conflict): Use it.
524 2008-03-03 Sterling Augustine <sterling@tensilica.com>
526 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
528 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
529 H.J. Lu <hongjiu.lu@intel.com>
532 * read.c (pseudo_set): Don't allow global register symbol.
534 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
537 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
540 * write.c (write_object_file): Don't allow symbols which were
541 equated to register. Stop if there is an error.
543 2008-03-01 Alan Modra <amodra@bigpond.net.au>
545 * config/tc-ppc.h (struct _ppc_fix_extra): New.
547 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
548 * config/tc-ppc.c (ppu_cpu): Make global.
549 (ppc_insert_operand): Add ppu_cpu parameter.
550 (md_assemble): Adjust for above change.
551 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
553 2008-02-22 Nick Clifton <nickc@redhat.com>
555 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
556 targeted ARM ports, otherwise just skip generating the reloc.
558 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
560 * doc/c-i386.texi: Update -march= and .arch.
562 2008-02-18 Nick Clifton <nickc@redhat.com>
564 * config/tc-mn10300.c (has_known_symbol_location): New function.
565 Do not regard weak symbols as having a known location.
566 (md_estimate_size_before_relax): Use new function.
567 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
569 2008-02-18 Jan Beulich <jbeulich@novell.com>
571 * config/tc-i386.c (match_template): Disallow 'l' suffix when
572 currently selected CPU has no 32-bit support.
573 (parse_real_register): Do not return registers not available on
574 currently selected CPU.
576 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
578 * config/tc-i386.c (process_immext): Fix format.
580 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
582 * config/tc-i386.c (inoutportreg): New.
583 (process_immext): New.
584 (md_assemble): Use it.
585 (update_imm): Use imm16 and imm32s.
586 (i386_att_operand): Use inoutportreg.
588 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
590 * config/tc-i386.c (operand_type_all_zero): New.
591 (operand_type_set): Likewise.
592 (operand_type_equal): Likewise.
593 (cpu_flags_all_zero): Likewise.
594 (cpu_flags_set): Likewise.
595 (cpu_flags_equal): Likewise.
596 (UINTS_ALL_ZERO): Removed.
597 (UINTS_SET): Likewise.
598 (UINTS_CLEAR): Likewise.
599 (UINTS_EQUAL): Likewise.
600 (cpu_flags_match): Updated.
601 (smallest_imm_type): Likewise.
602 (set_cpu_arch): Likewise.
603 (md_assemble): Likewise.
604 (optimize_imm): Likewise.
605 (match_template): Likewise.
606 (process_suffix): Likewise.
607 (update_imm): Likewise.
608 (process_drex): Likewise.
609 (process_operands): Likewise.
610 (build_modrm_byte): Likewise.
611 (i386_immediate): Likewise.
612 (i386_displacement): Likewise.
613 (i386_att_operand): Likewise.
614 (parse_real_register): Likewise.
615 (md_parse_option): Likewise.
616 (i386_target_format): Likewise.
618 2008-02-14 Dimitry Andric <dimitry@andric.com>
621 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
622 pointer past the comma after parsing a floating point register
625 2008-02-14 Hakan Ardo <hakan@debian.org>
628 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
630 (avr_operand): Disallow post-increment addressing in the lpm
631 instruction for the attiny26.
633 2008-02-13 Jan Beulich <jbeulich@novell.com>
635 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
636 if not in Intel mode.
637 (i386_intel_operand): Ignore segment overrides in immediate and
639 (intel_e11): Range-check i.mem_operands before use as array
640 index. Filter out FLAT for uses other than as segment override.
641 (intel_get_token): Remove broken promotion of "FLAT:" to mean
644 2008-02-13 Jan Beulich <jbeulich@novell.com>
646 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
648 2008-02-13 Jan Beulich <jbeulich@novell.com>
650 * config/tc-i386.c (allow_pseudo_reg): New.
651 (parse_real_register): Check for NULL just once. Allow all
652 register table entries when allow_pseudo_reg is non-zero.
653 Don't allow any registers without type when allow_pseudo_reg
655 (tc_x86_regname_to_dw2regnum): Replace with ...
656 (tc_x86_parse_to_dw2regnum): ... this.
657 (tc_x86_frame_initial_instructions): Adjust for above change.
658 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
659 (tc_parse_to_dw2regnum): New.
660 (tc_x86_regname_to_dw2regnum): Replace with ...
661 (tc_x86_parse_to_dw2regnum): ... this.
662 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
663 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
666 2008-02-12 Nick Clifton <nickc@redhat.com>
668 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
670 (tic4x_insn_add): Likewise.
671 (md_begin): Drop cast that was discarding a const qualifier.
672 * config/tc-d30v.c (get_reloc): Add const qualifier to op
674 (build_insn): Drop cast that was discarding a const qualifier.
676 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
678 * config/tc-i386.c (cpu_arch): Add .xsave.
679 (md_show_usage): Add .xsave.
681 * doc/c-i386.texi: Add xsave to -march=.
683 2008-02-07 Alan Modra <amodra@bigpond.net.au>
685 * read.c (s_weakref): Don't pass unadorned NULL to concat.
686 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
688 2008-02-05 Sterling Augustine <sterling@tensilica.com>
690 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
691 checks into assertions. When relaxation produces an operation that
692 does not fit in the current FLIX instruction, make sure that the
693 operation is relaxed as needed to account for being placed following
694 the current instruction.
696 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
699 * configure: Regenerated.
701 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
703 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
705 2008-01-31 Marc Gauthier <marc@tensilica.com>
707 * configure.tgt (xtensa*-*-*): Recognize processor variants.
709 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
711 * read.c: (emit_expr): Correct for mingw use of printf size
714 2008-01-24 Bob Wilson <bob.wilson@acm.org>
716 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
717 can only be encoded in FLIX instructions but are not specified as such.
718 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
721 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
723 * NEWS: Mention new command line options for x86 targets.
725 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
727 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
729 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
731 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
733 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
735 * config/tc-i386.c (md_show_usage): Show more processors for
738 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
740 * config/tc-i386.c (i386_target_format): Remove cpummx2.
742 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
744 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
745 (XXX_MNEM_SUFFIX): Likewise.
746 (END_OF_INSN): Likewise.
747 (templates): Likewise.
748 (modrm_byte): Likewise.
749 (rex_byte): Likewise.
750 (DREX_XXX): Likewise.
751 (drex_byte): Likewise.
752 (sib_byte): Likewise.
753 (processor_type): Likewise.
754 (arch_entry): Likewise.
755 (cpu_sub_arch_name): Remove const.
756 (cpu_arch): Add .vmx and .smx.
757 (set_cpu_arch): Append cpu_sub_arch_name.
758 (md_parse_option): Support -march=CPU[,+EXTENSION...].
759 (md_show_usage): Updated.
761 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
762 (XXX_MNEM_SUFFIX): Likewise.
763 (END_OF_INSN): Likewise.
764 (templates): Likewise.
765 (modrm_byte): Likewise.
766 (rex_byte): Likewise.
767 (DREX_XXX): Likewise.
768 (drex_byte): Likewise.
769 (sib_byte): Likewise.
770 (processor_type): Likewise.
771 (arch_entry): Likewise.
773 * doc/as.texinfo: Update i386 -march option.
775 * doc/c-i386.texi: Update -march= for ISA.
777 2008-01-18 Bob Wilson <bob.wilson@acm.org>
779 * config/tc-xtensa.c (xtensa_leb128): New function.
780 (md_pseudo_table): Use it for sleb128 and uleb128.
781 (is_leb128_expr): New internal flag.
782 (xtensa_symbol_new_hook): Check new flag.
784 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
786 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
787 at90usb82, at90usb162.
788 * doc/c-avr.texi: Change architecture grouping for at90usb82,
790 These changes support the new avr35 architecture group in gcc.
792 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
794 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
795 suffix for AT&T syntax.
797 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
799 * config/tc-i386.c (match_reg_size): New.
800 (match_mem_size): Likewise.
801 (operand_size_match): Likewise.
802 (operand_type_match): Also clear all size fields.
803 (match_template): Skip Intel syntax when in AT&T syntax.
804 Call operand_size_match to check operand size.
805 (i386_att_operand): Set the mem field to 1 for memory
807 (i386_intel_operand): Likewise.
809 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
812 * config/tc-i386.c (_i386_insn): Update comment.
813 (operand_type_match): Also clear unspecified.
814 (operand_type_register_match): Likewise.
815 (parse_operands): Initialize unspecified.
816 (i386_intel_operand): Likewise.
817 (match_template): Check memory and accumulator operand size.
818 (i386_att_operand): Clear unspecified on register operand.
819 (intel_e11): Likewise.
820 (intel_e09): Set operand size and clean unspecified for
823 2008-01-11 Andreas Schwab <schwab@suse.de>
825 * read.c (s_space): Declare `repeat' as offsetT.
827 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
829 * config/tc-i386.c (match_template): Check processor support
832 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
834 * config/tc-i386.c (match_template): Continue if processor
837 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
839 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
840 unwind personality function address.
842 2008-01-09 Bob Wilson <bob.wilson@acm.org>
844 * dwarf2dbg.c (out_sleb128): Delete.
845 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
846 (out_fixed_inc_line_addr): Delete.
847 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
848 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
849 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
850 (process_entries): Remove calls to out_fixed_inc_line_addr. When
851 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
852 * read.h (emit_expr_fix): New prototype.
853 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
854 (emit_expr_fix): New.
856 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
858 * config/tc-i386.c (match_template): Check register size
859 only when size of operands can be encoded the canonical way.
861 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
863 * config/tc-i386.c (i386_operand): Renamed to ...
864 (i386_att_operand): This.
865 (parse_operands): Updated.
867 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
869 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
871 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
873 (md_assemble): Remove Intel mode workaround.
874 (match_template): Check support for old gcc, AT&T mnemonic
876 (md_parse_option): Don't set intel_mnemonic to 0 for
879 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
881 * config/tc-i386.h: Update copyright to 2008.
883 2008-01-04 Nick Clifton <nickc@redhat.com>
885 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
886 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
888 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
890 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
893 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
895 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
896 (cpu_flags_not): Likewise.
897 (cpu_flags_match): Updated to check 64bit and arch.
898 (set_code_flag): Remove cpu_arch_flags_not.
899 (set_16bit_gcc_code_flag): Likewise.
900 (set_cpu_arch): Likewise.
901 (md_begin): Likewise.
902 (parse_insn): Call cpu_flags_match to check 64bit and arch.
903 (match_template): Likewise.
905 2008-01-03 Jakub Jelinek <jakub@redhat.com>
907 * config/tc-i386.c (process_drex): Initialize modrm_reg and
908 modrm_regmem to 0 instead of None.
910 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
912 * config/tc-i386.c (match_template): Use the xmmword field
915 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
917 * config/tc-i386.c (process_suffix): Fix a typo.
919 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
922 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
923 Check memory size in Intel mode.
924 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
925 (intel_e09): Likewise.
927 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
929 2008-01-02 Catherine Moore <clm@codesourcery.com>
931 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
933 For older changes see ChangeLog-2007
939 version-control: never