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 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
9 (macro_build): Likewise.
10 (CPU_HAS_SEQ): New macro.
11 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
13 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
15 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
16 * doc/c-avr.texi: Likewise.
18 2008-06-04 Nick Clifton <nickc@redhat.com>
20 * app.c (do_scrub_chars): Do not UNGET an EOF value.
22 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
24 * config/tc-i386.c (set_sse_check): New.
25 (md_pseudo_table): Add "sse_check".
27 2008-06-03 Paul Brook <paul@codesourcery.com>
29 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
31 2008-05-30 Nick Clifton <nickc@redhat.com>
34 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
37 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
39 * config/tc-mips.c (mips_cpu_info_table): Move records for
40 ST Loongson-2E/2F processors to a better place.
42 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
45 * config/tc-i386.c (match_template): Report ambiguous operand
46 size, not invalid suffix when there is no match in Intel
49 2008-05-22 Paul Brook <paul@codesourcery.com>
51 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
53 2008-05-21 I-Jui Sung <ijsung@gmail.com>
55 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
56 compatible cores: fa526, fa626, fa626te, fa726te.
57 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
60 2008-05-14 Alan Modra <amodra@bigpond.net.au>
62 * Makefile.am: Run "make dep-am".
63 * Makefile.in: Regenerate.
64 * doc/Makefile.in: Regenerate.
65 * po/POTFILES.in: Regenerate.
67 2008-05-09 Catherine Moore <clm@codesourcery.com>
69 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
70 with non-MIPS16 relocs.
72 2008-05-09 Chao-ying Fu <fu@mips.com>
74 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
75 case that some characters append at the end of the name.
77 (s_change_sec): Likewise.
78 (md_section_align): Likewise.
80 2008-05-07 Bob Wilson <bob.wilson@acm.org>
82 * config/tc-xtensa.c (xtensa_create_property_segments): Use
83 xtensa_make_property_section instead of xtensa_get_property_section.
84 (xtensa_create_xproperty_segments): Likewise.
86 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
88 * NEWS: Mention XSAVE, EPT and MOVBE.
90 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
91 (md_show_usage): Add .movbe and .ept.
93 * doc/c-i386.texi: Add movbe and ept to -march=. Document
96 2008-04-29 David S. Miller <davem@davemloft.net>
98 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
100 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
102 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
104 (OPTION_ELF_BASE): Make room for new option macros.
105 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
106 OPTION_DOUBLE_FLOAT): New option macros.
107 (md_longopts): Add msoft-float, mhard-float, msingle-float and
109 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
110 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
111 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
113 (struct mips_set_options): New fields soft_float and single_float.
114 (mips_opts): Initialized them. Add comment for each field
116 (mips_after_parse_args): Set them based on file_mips_soft_float
117 and file_mips_single_float.
118 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
119 `.set singlefloat' and `.set doublefloat'.
120 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
121 Handle single-float and soft-float instructions here.
122 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
123 (is_opcode_valid_16): New function.
124 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
125 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
126 M_S_DOB>: Remove special-casing of r4650.
127 * doc/c-mips.texi (-march=): Add Octeon.
128 (MIPS Opts): Document -msoft-float and -mhard-float. Document
129 -msingle-float and -mdouble-float.
130 (MIPS floating-point): New section. Document `.set softfloat' and
131 `.set hardfloat'. Document `.set singlefloat' and `.set
134 2008-04-25 David S. Miller <davem@davemloft.net>
136 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
139 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
140 rather than occaisionally 'levels'. Consistently refer to Sun's
141 UNIX variant as SunOS, every version of Solaris is also SunOS.
142 Document new 'softint_clear' and 'softint_set' aliases. Clarify
143 which architecture versions support '%dcr', '%cq', and '%gl'. Add
144 section on 32-bit/64-bit opcode translations.
146 2008-04-23 Mike Frysinger <vapier@gentoo.org>
148 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
149 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
150 (obj-fdpicelf.o): Define.
151 * Makefile.in: Regenerate.
152 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
154 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
155 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
156 * config/obj-fdpicelf.c: New.
157 * config/obj-fdpicelf.h: Likewise.
158 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
159 the OBJ_FDPIC_ELF define.
160 (OPTION_NOPIC): Define.
161 (md_longopts): Add mnopic and mno-fdpic.
162 (md_parse_option): Handle OPTION_NOPIC.
164 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
166 * aclocal.m4: Regenerate.
167 * configure: Regenerate.
169 2008-04-23 David S. Miller <davem@davemloft.net>
171 * config/tc-sparc.c (v9a_asr_table): Add missing
172 'stick' and 'stick_cmpr', and document ordering rules
174 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
175 BFD_RELOC_SPARC_PC10.
176 * doc/c-sparc.texi: New section on Sparc constants.
177 Add documentation for %stick and %stick_cmpr.
179 2008-04-22 David S. Miller <davem@davemloft.net>
181 * config/obj-elf.c (obj_elf_section_type): Add prototype
182 before obj_elf_section_word and add 'warn' arg.
183 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
184 is matched, try checking for #SECTION_TYPE.
185 (obj_elf_section): Adjust for new args.
186 (obj_elf_type_name): New function.
187 (obj_elf_type): Call it, and accept STT_foo number strings
188 in .type statements as output by SunPRO compiler.
190 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
192 * config/tc-i386.c (md_assemble): Don't check SSE instructions
195 2008-04-18 David S. Miller <davem@davemloft.net>
197 * doc/c-sparc.texi: Add syntax section.
199 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
201 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
202 REG and NDS for instructions with immediate operand.
204 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
206 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
209 2008-04-16 David S. Miller <davem@davemloft.net>
211 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
212 and relocation generation.
213 (tc_gen_reloc): Likewise.
215 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
217 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
218 relocations are properly aligned, and not negative.
220 2008-04-15 Khem Raj <kraj@mvista.com>
222 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
224 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
226 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
227 accept e500mc instructions.
228 (md_show_usage): Document -me500mc.
230 2008-04-11 Nick Clifton <nickc@redhat.com>
232 * listing.c (print_timestamp): Use localtime rather than
233 localtime_r since not all build environments provide the latter.
235 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
237 * NEWS: Mention -msse-check=[none|error|warning].
239 * config/tc-i386.c (sse_check): New.
240 (OPTION_MSSE_CHECK): Likewise.
241 (md_assemble): Check SSE instructions if needed.
242 (md_longopts): Add -msse-check.
243 (md_parse_option): Handle OPTION_MSSE_CHECK.
244 (md_show_usage): Show -msse-check=[none|error|warning].
246 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
248 2008-04-10 Santiago UrueƱa <suruena@gmail.com>
250 * listing.c: Add -ag listing flag to show general information in
251 listings such as gas version, passed options, and time stamp.
252 (listing_general_info): New function.
253 (print_options): New function.
254 (print_single_option): New function.
255 (print_timestamp): New function.
256 (MAX_DATELEN): Define.
257 (listing_print): Add call to listing_general_info.
258 * listing.h (LISTING_GENERAL): Define.
259 (listing_print): Add new parameter.
260 * as.c (show_usage): Print new switch.
261 (parse_args): Parse new switch.
262 (main): Pass command line on to listing_print.
263 * NEWS: Mention this new feature.
264 * doc/as.texinfo: Document the new sub-option.
266 2008-04-08 Alan Modra <amodra@bigpond.net.au>
268 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
269 call. Delete out of date comment.
270 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
271 (dwarf2_emit_label): Don't emit unless there has been a previous
272 .file or we are outputting assembler generated debug.
273 dwarf2_consume_line_info after emitting line info, not before.
274 (out_debug_info): Simplify files_in_use test.
276 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
278 * config/tc-i386.c (parse_real_register): Return AVX register
279 only if AVX is enabled.
281 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
284 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
285 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
287 2008-04-04 Adrian Bunk <bunk@stusta.de>
288 Bob Wilson <bob.wilson@acm.org>
290 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
291 call to decode_reloc.
293 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
295 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
297 * config/tc-i386.c (cpu_arch): Add .pclmul.
298 (md_show_usage): Replace clmul with pclmul.
299 * doc/c-i386.texi: Likewise.
301 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
303 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
305 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
306 Document -msse2avx, .avx, .aes, .clmul and .fma.
308 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
309 (vex_prefix): Likewise.
311 (CPU_FLAGS_ARCH_MATCH): Likewise.
312 (CPU_FLAGS_64BIT_MATCH): Likewise.
313 (CPU_FLAGS_32BIT_MATCH): Likewise.
314 (CPU_FLAGS_PERFECT_MATCH): Likewise.
316 (vex_imm4): Likewise.
317 (fits_in_imm4): Likewise.
318 (build_vex_prefix): Likewise.
319 (VEX_check_operands): Likewise.
320 (bad_implicit_operand): Likewise.
321 (OPTION_MSSE2AVX): Likewise.
322 (T_YMMWORD): Likewise.
323 (_i386_insn): Add vex.
324 (cpu_arch): Add .avx, .aes, .clmul and .fma.
325 (cpu_flags_match): Changed to take a pointer to const template.
326 Enable encoding SSE instructions with VEX prefix for -msse2avx.
327 (match_mem_size): Also check ymmword.
328 (operand_type_match): Clear ymmword.
329 (md_begin): Allow '_' in mnemonic.
330 (type_names): Add OPERAND_TYPE_VEX_IMM4.
331 (process_immext): Update assert.
332 (md_assemble): Don't call process_immext if sse2avx and immext
333 are true. Call build_vex_prefix if vex is true.
334 (parse_insn): Updated for cpu_flags_match.
335 (swap_operands): Handle 5 operands.
336 (match_template): Handle 5 operands. Updated for cpu_flags_match.
337 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
338 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
339 (check_byte_reg): Check regymm.
340 (process_operands): Duplicate the destination register for
342 (build_modrm_byte): Updated for instructions with VEX encoding.
343 (output_insn): Output VEX prefix if needed.
344 (md_longopts): Add msse2avx.
345 (md_parse_option): Handle OPTION_MSSE2AVX.
346 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
347 (intel_e09): Support YMMWORD.
348 (intel_e11): Likewise.
349 (intel_get_token): Likewise.
351 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
353 * config/tc-avr.c (mcu_types): Add attiny167.
354 * doc/c-avr.texi: Likewise.
356 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
358 * config/tc-avr.c (mcu_types): Add atmega32u4.
359 * doc/c-avr.texi: Likewise.
361 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
363 * config/tc-avr.c (mcu_types): Add atmega32c1.
364 * doc/c-avr.texi: Likewise.
366 2008-03-28 Paul Brook <paul@codesourcery.com>
368 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
369 to avoid spurious symbols.
371 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
373 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
376 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
378 * config/tc-avr.c (mcu_types): Add atmega32m1.
379 * doc/c-avr.texi: Likewise.
381 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
383 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
385 (do_neon_ext): Fix sign of comparison.
387 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
389 From Jie Zhang <jie.zhang@analog.com>
390 * config/bfin-parse.y (asm_1): Check AREGS in comparison
391 instructions. And call yyerror when comparing PREG with
393 (check_macfunc_option): New.
394 (check_macfuncs): Check option by calling check_macfunc_option.
395 Fix comparison always true warnings. Both scalar instructions
396 of vector instruction must share the same mode option. Only allow
397 option mode at the end of the second instruction of the vector.
398 (asm_1): Check option by calling check_macfunc_option.
400 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
401 option for multiply and multiply-accumulate to data register
403 (check_macfuncs): Don't check if accumulator matches the data register
405 (assign_macfunc): Check if accumulator matches the
406 data register in each rule that moves to the data
409 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
410 generated for LOOP_BEGIN and LOOP_END instructions.
411 (bfin_gen_loop): Likewise.
413 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
415 * config/tc-s390.c (md_parse_option): z10 option added.
417 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
419 * aclocal.m4: Regenerate.
420 * configure: Likewise.
421 * Makefile.in: Likewise.
422 * doc/Makefile.in: Likewise.
424 2008-03-17 Adrian Bunk <bunk@stusta.de>
427 * config/tc-hppa.c (is_same_frag): Delete.
429 2008-03-14 Sterling Augustine <sterling@tensilica.com>
431 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
432 RELAX_LOOP_END_ADD_NOP.
434 2008-03-13 Evandro Menezes <evandro@yahoo.com>
437 * read.c (s_mexit): Warn if attempting to exit a macro when not
438 inside a macro definition.
440 2008-03-13 Alan Modra <amodra@bigpond.net.au>
442 * Makefile.am: Run "make dep-am".
443 * Makefile.in: Regenerate.
444 * configure: Regenerate.
446 2008-03-09 Paul Brook <paul@codesourcery.com>
448 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
449 * doc/c-arm.texi: Add cortex-a9.
451 2008-03-09 Paul Brook <paul@codesourcery.com>
453 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
454 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
455 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
456 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
457 * doc/c-arm.texi: Document new ARM FPU variants.
459 2008-03-07 Paul Brook <paul@codesourcery.com>
461 * config/tc-arm.c (md_apply_fix): Use correct offset range.
463 2008-03-07 Alan Modra <amodra@bigpond.net.au>
465 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
466 for strict ordering of powerpc_opcodes, but disable for now.
468 2008-03-04 Paul Brook <paul@codesourcery.com>
470 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
471 (arm_ext_v7m): Rename...
472 (arm_ext_m): ... to this. Include v6-M.
473 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
474 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
475 (md_assemble): Allow wide msr instructions.
476 (insns): Add classifications for v6-m instructions.
477 (arm_cpu_option_table): Add cortex-m1.
478 (arm_arch_option_table): Add armv6-m.
479 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
481 2008-03-03 Sterling Augustine <sterling@tensilica.com>
482 Bob Wilson <bob.wilson@acm.org>
484 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
485 (md_begin): Initialize it.
486 (resources_conflict): Use it.
488 2008-03-03 Sterling Augustine <sterling@tensilica.com>
490 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
492 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
493 H.J. Lu <hongjiu.lu@intel.com>
496 * read.c (pseudo_set): Don't allow global register symbol.
498 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
501 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
504 * write.c (write_object_file): Don't allow symbols which were
505 equated to register. Stop if there is an error.
507 2008-03-01 Alan Modra <amodra@bigpond.net.au>
509 * config/tc-ppc.h (struct _ppc_fix_extra): New.
511 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
512 * config/tc-ppc.c (ppu_cpu): Make global.
513 (ppc_insert_operand): Add ppu_cpu parameter.
514 (md_assemble): Adjust for above change.
515 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
517 2008-02-22 Nick Clifton <nickc@redhat.com>
519 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
520 targeted ARM ports, otherwise just skip generating the reloc.
522 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
524 * doc/c-i386.texi: Update -march= and .arch.
526 2008-02-18 Nick Clifton <nickc@redhat.com>
528 * config/tc-mn10300.c (has_known_symbol_location): New function.
529 Do not regard weak symbols as having a known location.
530 (md_estimate_size_before_relax): Use new function.
531 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
533 2008-02-18 Jan Beulich <jbeulich@novell.com>
535 * config/tc-i386.c (match_template): Disallow 'l' suffix when
536 currently selected CPU has no 32-bit support.
537 (parse_real_register): Do not return registers not available on
538 currently selected CPU.
540 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
542 * config/tc-i386.c (process_immext): Fix format.
544 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
546 * config/tc-i386.c (inoutportreg): New.
547 (process_immext): New.
548 (md_assemble): Use it.
549 (update_imm): Use imm16 and imm32s.
550 (i386_att_operand): Use inoutportreg.
552 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
554 * config/tc-i386.c (operand_type_all_zero): New.
555 (operand_type_set): Likewise.
556 (operand_type_equal): Likewise.
557 (cpu_flags_all_zero): Likewise.
558 (cpu_flags_set): Likewise.
559 (cpu_flags_equal): Likewise.
560 (UINTS_ALL_ZERO): Removed.
561 (UINTS_SET): Likewise.
562 (UINTS_CLEAR): Likewise.
563 (UINTS_EQUAL): Likewise.
564 (cpu_flags_match): Updated.
565 (smallest_imm_type): Likewise.
566 (set_cpu_arch): Likewise.
567 (md_assemble): Likewise.
568 (optimize_imm): Likewise.
569 (match_template): Likewise.
570 (process_suffix): Likewise.
571 (update_imm): Likewise.
572 (process_drex): Likewise.
573 (process_operands): Likewise.
574 (build_modrm_byte): Likewise.
575 (i386_immediate): Likewise.
576 (i386_displacement): Likewise.
577 (i386_att_operand): Likewise.
578 (parse_real_register): Likewise.
579 (md_parse_option): Likewise.
580 (i386_target_format): Likewise.
582 2008-02-14 Dimitry Andric <dimitry@andric.com>
585 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
586 pointer past the comma after parsing a floating point register
589 2008-02-14 Hakan Ardo <hakan@debian.org>
592 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
594 (avr_operand): Disallow post-increment addressing in the lpm
595 instruction for the attiny26.
597 2008-02-13 Jan Beulich <jbeulich@novell.com>
599 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
600 if not in Intel mode.
601 (i386_intel_operand): Ignore segment overrides in immediate and
603 (intel_e11): Range-check i.mem_operands before use as array
604 index. Filter out FLAT for uses other than as segment override.
605 (intel_get_token): Remove broken promotion of "FLAT:" to mean
608 2008-02-13 Jan Beulich <jbeulich@novell.com>
610 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
612 2008-02-13 Jan Beulich <jbeulich@novell.com>
614 * config/tc-i386.c (allow_pseudo_reg): New.
615 (parse_real_register): Check for NULL just once. Allow all
616 register table entries when allow_pseudo_reg is non-zero.
617 Don't allow any registers without type when allow_pseudo_reg
619 (tc_x86_regname_to_dw2regnum): Replace with ...
620 (tc_x86_parse_to_dw2regnum): ... this.
621 (tc_x86_frame_initial_instructions): Adjust for above change.
622 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
623 (tc_parse_to_dw2regnum): New.
624 (tc_x86_regname_to_dw2regnum): Replace with ...
625 (tc_x86_parse_to_dw2regnum): ... this.
626 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
627 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
630 2008-02-12 Nick Clifton <nickc@redhat.com>
632 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
634 (tic4x_insn_add): Likewise.
635 (md_begin): Drop cast that was discarding a const qualifier.
636 * config/tc-d30v.c (get_reloc): Add const qualifier to op
638 (build_insn): Drop cast that was discarding a const qualifier.
640 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
642 * config/tc-i386.c (cpu_arch): Add .xsave.
643 (md_show_usage): Add .xsave.
645 * doc/c-i386.texi: Add xsave to -march=.
647 2008-02-07 Alan Modra <amodra@bigpond.net.au>
649 * read.c (s_weakref): Don't pass unadorned NULL to concat.
650 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
652 2008-02-05 Sterling Augustine <sterling@tensilica.com>
654 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
655 checks into assertions. When relaxation produces an operation that
656 does not fit in the current FLIX instruction, make sure that the
657 operation is relaxed as needed to account for being placed following
658 the current instruction.
660 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
663 * configure: Regenerated.
665 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
667 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
669 2008-01-31 Marc Gauthier <marc@tensilica.com>
671 * configure.tgt (xtensa*-*-*): Recognize processor variants.
673 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
675 * read.c: (emit_expr): Correct for mingw use of printf size
678 2008-01-24 Bob Wilson <bob.wilson@acm.org>
680 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
681 can only be encoded in FLIX instructions but are not specified as such.
682 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
685 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
687 * NEWS: Mention new command line options for x86 targets.
689 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
691 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
693 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
695 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
697 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
699 * config/tc-i386.c (md_show_usage): Show more processors for
702 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
704 * config/tc-i386.c (i386_target_format): Remove cpummx2.
706 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
708 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
709 (XXX_MNEM_SUFFIX): Likewise.
710 (END_OF_INSN): Likewise.
711 (templates): Likewise.
712 (modrm_byte): Likewise.
713 (rex_byte): Likewise.
714 (DREX_XXX): Likewise.
715 (drex_byte): Likewise.
716 (sib_byte): Likewise.
717 (processor_type): Likewise.
718 (arch_entry): Likewise.
719 (cpu_sub_arch_name): Remove const.
720 (cpu_arch): Add .vmx and .smx.
721 (set_cpu_arch): Append cpu_sub_arch_name.
722 (md_parse_option): Support -march=CPU[,+EXTENSION...].
723 (md_show_usage): Updated.
725 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
726 (XXX_MNEM_SUFFIX): Likewise.
727 (END_OF_INSN): Likewise.
728 (templates): Likewise.
729 (modrm_byte): Likewise.
730 (rex_byte): Likewise.
731 (DREX_XXX): Likewise.
732 (drex_byte): Likewise.
733 (sib_byte): Likewise.
734 (processor_type): Likewise.
735 (arch_entry): Likewise.
737 * doc/as.texinfo: Update i386 -march option.
739 * doc/c-i386.texi: Update -march= for ISA.
741 2008-01-18 Bob Wilson <bob.wilson@acm.org>
743 * config/tc-xtensa.c (xtensa_leb128): New function.
744 (md_pseudo_table): Use it for sleb128 and uleb128.
745 (is_leb128_expr): New internal flag.
746 (xtensa_symbol_new_hook): Check new flag.
748 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
750 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
751 at90usb82, at90usb162.
752 * doc/c-avr.texi: Change architecture grouping for at90usb82,
754 These changes support the new avr35 architecture group in gcc.
756 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
758 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
759 suffix for AT&T syntax.
761 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
763 * config/tc-i386.c (match_reg_size): New.
764 (match_mem_size): Likewise.
765 (operand_size_match): Likewise.
766 (operand_type_match): Also clear all size fields.
767 (match_template): Skip Intel syntax when in AT&T syntax.
768 Call operand_size_match to check operand size.
769 (i386_att_operand): Set the mem field to 1 for memory
771 (i386_intel_operand): Likewise.
773 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
776 * config/tc-i386.c (_i386_insn): Update comment.
777 (operand_type_match): Also clear unspecified.
778 (operand_type_register_match): Likewise.
779 (parse_operands): Initialize unspecified.
780 (i386_intel_operand): Likewise.
781 (match_template): Check memory and accumulator operand size.
782 (i386_att_operand): Clear unspecified on register operand.
783 (intel_e11): Likewise.
784 (intel_e09): Set operand size and clean unspecified for
787 2008-01-11 Andreas Schwab <schwab@suse.de>
789 * read.c (s_space): Declare `repeat' as offsetT.
791 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
793 * config/tc-i386.c (match_template): Check processor support
796 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
798 * config/tc-i386.c (match_template): Continue if processor
801 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
803 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
804 unwind personality function address.
806 2008-01-09 Bob Wilson <bob.wilson@acm.org>
808 * dwarf2dbg.c (out_sleb128): Delete.
809 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
810 (out_fixed_inc_line_addr): Delete.
811 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
812 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
813 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
814 (process_entries): Remove calls to out_fixed_inc_line_addr. When
815 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
816 * read.h (emit_expr_fix): New prototype.
817 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
818 (emit_expr_fix): New.
820 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
822 * config/tc-i386.c (match_template): Check register size
823 only when size of operands can be encoded the canonical way.
825 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
827 * config/tc-i386.c (i386_operand): Renamed to ...
828 (i386_att_operand): This.
829 (parse_operands): Updated.
831 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
833 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
835 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
837 (md_assemble): Remove Intel mode workaround.
838 (match_template): Check support for old gcc, AT&T mnemonic
840 (md_parse_option): Don't set intel_mnemonic to 0 for
843 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
845 * config/tc-i386.h: Update copyright to 2008.
847 2008-01-04 Nick Clifton <nickc@redhat.com>
849 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
850 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
852 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
854 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
857 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
859 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
860 (cpu_flags_not): Likewise.
861 (cpu_flags_match): Updated to check 64bit and arch.
862 (set_code_flag): Remove cpu_arch_flags_not.
863 (set_16bit_gcc_code_flag): Likewise.
864 (set_cpu_arch): Likewise.
865 (md_begin): Likewise.
866 (parse_insn): Call cpu_flags_match to check 64bit and arch.
867 (match_template): Likewise.
869 2008-01-03 Jakub Jelinek <jakub@redhat.com>
871 * config/tc-i386.c (process_drex): Initialize modrm_reg and
872 modrm_regmem to 0 instead of None.
874 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
876 * config/tc-i386.c (match_template): Use the xmmword field
879 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
881 * config/tc-i386.c (process_suffix): Fix a typo.
883 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
886 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
887 Check memory size in Intel mode.
888 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
889 (intel_e09): Likewise.
891 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
893 2008-01-02 Catherine Moore <clm@codesourcery.com>
895 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
897 For older changes see ChangeLog-2007
903 version-control: never