1 2008-07-26 Michael Eager <eager@eagercon.com>
3 * doc/as.texinfo: Add description of single-precision attribute.
5 2008-07-24 Jie Zhang <jie.zhang@analog.com>
7 * config/bfin-parse.y (asm_1): Error if plain symbol is used
10 2008-07-22 Chao-ying Fu <fu@mips.com>
12 * config/tc-mips.c (mips_ip): Reset s to argsStart.
14 2008-07-22 Jie Zhang <jie.zhang@analog.com>
16 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
18 2008-07-21 DJ Delorie <dj@redhat.com>
20 * config/tc-h8300.c (fix_operand_size): Use the default size
21 specified by the .lbranch/.sbranch pseudos.
23 2008-07-18 DJ Delorie <dj@redhat.com>
25 * config/tc-m32c.h (H_TICK_HEX): Define.
26 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
27 (md_longopts): Add support for it.
28 (md_parse_option): Likewise.
29 * doc/as.texinfo (Overview): Add new m32c options.
30 * doc/c-m32c.texi (M32C-Modifiers): Likewise
32 * as.h: (enable_h_tick_hex): New.
33 * app.c (enable_h_tick_hex): New.
35 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
36 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
37 style hex constants and convert the input stream to 0x00 style.
38 (do_scrub_chars): If a 'X style character constant is found after
39 a symbol character (like you're or X'00), warn the user.
41 2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
43 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
44 (mips_fix_adjustable): Likewise.
45 (mips_frob_file_after_relocs): Likewise.
47 2008-07-08 Nathan Sidwell <nathan@codesourcery.com>
49 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
50 about overriding an earlier setting.
52 2008-07-07 Adam Nemet <anemet@caviumnetworks.com>
54 * config/tc-mips.c (NO_ISA_COP): New macro.
55 (COP_INSN): New macro.
56 (is_opcode_valid): Use them.
57 (macro) <ld_st>: Use them. Don't accept coprocessor load store
58 insns based on the ISA if CPU is NO_ISA_COP.
59 <copz>: Likewise for coprocessor operations.
61 2008-07-07 Paul Brook <paul@codesourcery.com>
63 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
66 2008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
68 * configure.tgt: Add bfin-*-rtems*.
70 2008-07-04 Alan Modra <amodra@bigpond.net.au>
72 * config/tc-spu.c (md_apply_fix): Handle fully resolved
73 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
75 2008-06-25 Peter Bergner <bergner@vnet.ibm.com>
77 * config/tc-ppc.c (parse_cpu): Handle -m464.
78 (md_show_usage): Likewise.
80 2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
82 Add support for ATtiny13A.
83 * config/tc-avr.c (mcu_types): Add attiny13a.
84 * doc/c-avr.texi: Likewise.
86 2008-06-24 Bob Wilson <bob.wilson@acm.org>
87 Alan Modra <amodra@bigpond.net.au>
89 * write.c (relax_segment <rs_org>): Include current stretch
90 value when calculating whether .org is backwards.
92 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
94 * configure: Regenerate.
96 2008-06-17 Nick Clifton <nickc@redhat.com>
98 * app.c (do_scrub_chars): Do not UNGET an EOF value.
100 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
103 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
104 text_section. Do the "stepping backwards" test for text_section
105 using unsigned operands.
107 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
109 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
110 (ppc_insert_operand): Likewise.
111 (ppc_machine): Likewise.
112 * config/tc-ppc.h: #include "opcode/ppc.h"
113 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
114 (ppc_cpu): Update extern decl.
116 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
118 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
119 +x, +X, +p, +P, +s, +S.
122 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
124 (macro_build): Likewise.
125 (CPU_HAS_SEQ): New macro.
126 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
128 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
130 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
131 * doc/c-avr.texi: Likewise.
133 2008-06-04 Nick Clifton <nickc@redhat.com>
135 * app.c (do_scrub_chars): Do not UNGET an EOF value.
137 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
139 * config/tc-i386.c (set_sse_check): New.
140 (md_pseudo_table): Add "sse_check".
142 2008-06-03 Paul Brook <paul@codesourcery.com>
144 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
146 2008-05-30 Nick Clifton <nickc@redhat.com>
149 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
152 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
154 * config/tc-mips.c (mips_cpu_info_table): Move records for
155 ST Loongson-2E/2F processors to a better place.
157 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
160 * config/tc-i386.c (match_template): Report ambiguous operand
161 size, not invalid suffix when there is no match in Intel
164 2008-05-22 Paul Brook <paul@codesourcery.com>
166 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
168 2008-05-21 I-Jui Sung <ijsung@gmail.com>
170 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
171 compatible cores: fa526, fa626, fa626te, fa726te.
172 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
175 2008-05-14 Alan Modra <amodra@bigpond.net.au>
177 * Makefile.am: Run "make dep-am".
178 * Makefile.in: Regenerate.
179 * doc/Makefile.in: Regenerate.
180 * po/POTFILES.in: Regenerate.
182 2008-05-09 Catherine Moore <clm@codesourcery.com>
184 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
185 with non-MIPS16 relocs.
187 2008-05-09 Chao-ying Fu <fu@mips.com>
189 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
190 case that some characters append at the end of the name.
192 (s_change_sec): Likewise.
193 (md_section_align): Likewise.
195 2008-05-07 Bob Wilson <bob.wilson@acm.org>
197 * config/tc-xtensa.c (xtensa_create_property_segments): Use
198 xtensa_make_property_section instead of xtensa_get_property_section.
199 (xtensa_create_xproperty_segments): Likewise.
201 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
203 * NEWS: Mention XSAVE, EPT and MOVBE.
205 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
206 (md_show_usage): Add .movbe and .ept.
208 * doc/c-i386.texi: Add movbe and ept to -march=. Document
211 2008-04-29 David S. Miller <davem@davemloft.net>
213 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
215 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
217 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
219 (OPTION_ELF_BASE): Make room for new option macros.
220 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
221 OPTION_DOUBLE_FLOAT): New option macros.
222 (md_longopts): Add msoft-float, mhard-float, msingle-float and
224 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
225 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
226 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
228 (struct mips_set_options): New fields soft_float and single_float.
229 (mips_opts): Initialized them. Add comment for each field
231 (mips_after_parse_args): Set them based on file_mips_soft_float
232 and file_mips_single_float.
233 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
234 `.set singlefloat' and `.set doublefloat'.
235 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
236 Handle single-float and soft-float instructions here.
237 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
238 (is_opcode_valid_16): New function.
239 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
240 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
241 M_S_DOB>: Remove special-casing of r4650.
242 * doc/c-mips.texi (-march=): Add Octeon.
243 (MIPS Opts): Document -msoft-float and -mhard-float. Document
244 -msingle-float and -mdouble-float.
245 (MIPS floating-point): New section. Document `.set softfloat' and
246 `.set hardfloat'. Document `.set singlefloat' and `.set
249 2008-04-25 David S. Miller <davem@davemloft.net>
251 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
254 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
255 rather than occaisionally 'levels'. Consistently refer to Sun's
256 UNIX variant as SunOS, every version of Solaris is also SunOS.
257 Document new 'softint_clear' and 'softint_set' aliases. Clarify
258 which architecture versions support '%dcr', '%cq', and '%gl'. Add
259 section on 32-bit/64-bit opcode translations.
261 2008-04-23 Mike Frysinger <vapier@gentoo.org>
263 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
264 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
265 (obj-fdpicelf.o): Define.
266 * Makefile.in: Regenerate.
267 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
269 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
270 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
271 * config/obj-fdpicelf.c: New.
272 * config/obj-fdpicelf.h: Likewise.
273 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
274 the OBJ_FDPIC_ELF define.
275 (OPTION_NOPIC): Define.
276 (md_longopts): Add mnopic and mno-fdpic.
277 (md_parse_option): Handle OPTION_NOPIC.
279 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
281 * aclocal.m4: Regenerate.
282 * configure: Regenerate.
284 2008-04-23 David S. Miller <davem@davemloft.net>
286 * config/tc-sparc.c (v9a_asr_table): Add missing
287 'stick' and 'stick_cmpr', and document ordering rules
289 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
290 BFD_RELOC_SPARC_PC10.
291 * doc/c-sparc.texi: New section on Sparc constants.
292 Add documentation for %stick and %stick_cmpr.
294 2008-04-22 David S. Miller <davem@davemloft.net>
296 * config/obj-elf.c (obj_elf_section_type): Add prototype
297 before obj_elf_section_word and add 'warn' arg.
298 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
299 is matched, try checking for #SECTION_TYPE.
300 (obj_elf_section): Adjust for new args.
301 (obj_elf_type_name): New function.
302 (obj_elf_type): Call it, and accept STT_foo number strings
303 in .type statements as output by SunPRO compiler.
305 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
307 * config/tc-i386.c (md_assemble): Don't check SSE instructions
310 2008-04-18 David S. Miller <davem@davemloft.net>
312 * doc/c-sparc.texi: Add syntax section.
314 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
316 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
317 REG and NDS for instructions with immediate operand.
319 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
321 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
324 2008-04-16 David S. Miller <davem@davemloft.net>
326 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
327 and relocation generation.
328 (tc_gen_reloc): Likewise.
330 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
332 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
333 relocations are properly aligned, and not negative.
335 2008-04-15 Khem Raj <kraj@mvista.com>
337 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
339 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
341 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
342 accept e500mc instructions.
343 (md_show_usage): Document -me500mc.
345 2008-04-11 Nick Clifton <nickc@redhat.com>
347 * listing.c (print_timestamp): Use localtime rather than
348 localtime_r since not all build environments provide the latter.
350 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
352 * NEWS: Mention -msse-check=[none|error|warning].
354 * config/tc-i386.c (sse_check): New.
355 (OPTION_MSSE_CHECK): Likewise.
356 (md_assemble): Check SSE instructions if needed.
357 (md_longopts): Add -msse-check.
358 (md_parse_option): Handle OPTION_MSSE_CHECK.
359 (md_show_usage): Show -msse-check=[none|error|warning].
361 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
363 2008-04-10 Santiago Urueña <suruena@gmail.com>
365 * listing.c: Add -ag listing flag to show general information in
366 listings such as gas version, passed options, and time stamp.
367 (listing_general_info): New function.
368 (print_options): New function.
369 (print_single_option): New function.
370 (print_timestamp): New function.
371 (MAX_DATELEN): Define.
372 (listing_print): Add call to listing_general_info.
373 * listing.h (LISTING_GENERAL): Define.
374 (listing_print): Add new parameter.
375 * as.c (show_usage): Print new switch.
376 (parse_args): Parse new switch.
377 (main): Pass command line on to listing_print.
378 * NEWS: Mention this new feature.
379 * doc/as.texinfo: Document the new sub-option.
381 2008-04-08 Alan Modra <amodra@bigpond.net.au>
383 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
384 call. Delete out of date comment.
385 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
386 (dwarf2_emit_label): Don't emit unless there has been a previous
387 .file or we are outputting assembler generated debug.
388 dwarf2_consume_line_info after emitting line info, not before.
389 (out_debug_info): Simplify files_in_use test.
391 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
393 * config/tc-i386.c (parse_real_register): Return AVX register
394 only if AVX is enabled.
396 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
399 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
400 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
402 2008-04-04 Adrian Bunk <bunk@stusta.de>
403 Bob Wilson <bob.wilson@acm.org>
405 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
406 call to decode_reloc.
408 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
410 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
412 * config/tc-i386.c (cpu_arch): Add .pclmul.
413 (md_show_usage): Replace clmul with pclmul.
414 * doc/c-i386.texi: Likewise.
416 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
418 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
420 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
421 Document -msse2avx, .avx, .aes, .clmul and .fma.
423 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
424 (vex_prefix): Likewise.
426 (CPU_FLAGS_ARCH_MATCH): Likewise.
427 (CPU_FLAGS_64BIT_MATCH): Likewise.
428 (CPU_FLAGS_32BIT_MATCH): Likewise.
429 (CPU_FLAGS_PERFECT_MATCH): Likewise.
431 (vex_imm4): Likewise.
432 (fits_in_imm4): Likewise.
433 (build_vex_prefix): Likewise.
434 (VEX_check_operands): Likewise.
435 (bad_implicit_operand): Likewise.
436 (OPTION_MSSE2AVX): Likewise.
437 (T_YMMWORD): Likewise.
438 (_i386_insn): Add vex.
439 (cpu_arch): Add .avx, .aes, .clmul and .fma.
440 (cpu_flags_match): Changed to take a pointer to const template.
441 Enable encoding SSE instructions with VEX prefix for -msse2avx.
442 (match_mem_size): Also check ymmword.
443 (operand_type_match): Clear ymmword.
444 (md_begin): Allow '_' in mnemonic.
445 (type_names): Add OPERAND_TYPE_VEX_IMM4.
446 (process_immext): Update assert.
447 (md_assemble): Don't call process_immext if sse2avx and immext
448 are true. Call build_vex_prefix if vex is true.
449 (parse_insn): Updated for cpu_flags_match.
450 (swap_operands): Handle 5 operands.
451 (match_template): Handle 5 operands. Updated for cpu_flags_match.
452 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
453 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
454 (check_byte_reg): Check regymm.
455 (process_operands): Duplicate the destination register for
457 (build_modrm_byte): Updated for instructions with VEX encoding.
458 (output_insn): Output VEX prefix if needed.
459 (md_longopts): Add msse2avx.
460 (md_parse_option): Handle OPTION_MSSE2AVX.
461 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
462 (intel_e09): Support YMMWORD.
463 (intel_e11): Likewise.
464 (intel_get_token): Likewise.
466 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
468 * config/tc-avr.c (mcu_types): Add attiny167.
469 * doc/c-avr.texi: Likewise.
471 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
473 * config/tc-avr.c (mcu_types): Add atmega32u4.
474 * doc/c-avr.texi: Likewise.
476 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
478 * config/tc-avr.c (mcu_types): Add atmega32c1.
479 * doc/c-avr.texi: Likewise.
481 2008-03-28 Paul Brook <paul@codesourcery.com>
483 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
484 to avoid spurious symbols.
486 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
488 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
491 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
493 * config/tc-avr.c (mcu_types): Add atmega32m1.
494 * doc/c-avr.texi: Likewise.
496 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
498 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
500 (do_neon_ext): Fix sign of comparison.
502 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
504 From Jie Zhang <jie.zhang@analog.com>
505 * config/bfin-parse.y (asm_1): Check AREGS in comparison
506 instructions. And call yyerror when comparing PREG with
508 (check_macfunc_option): New.
509 (check_macfuncs): Check option by calling check_macfunc_option.
510 Fix comparison always true warnings. Both scalar instructions
511 of vector instruction must share the same mode option. Only allow
512 option mode at the end of the second instruction of the vector.
513 (asm_1): Check option by calling check_macfunc_option.
515 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
516 option for multiply and multiply-accumulate to data register
518 (check_macfuncs): Don't check if accumulator matches the data register
520 (assign_macfunc): Check if accumulator matches the
521 data register in each rule that moves to the data
524 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
525 generated for LOOP_BEGIN and LOOP_END instructions.
526 (bfin_gen_loop): Likewise.
528 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
530 * config/tc-s390.c (md_parse_option): z10 option added.
532 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
534 * aclocal.m4: Regenerate.
535 * configure: Likewise.
536 * Makefile.in: Likewise.
537 * doc/Makefile.in: Likewise.
539 2008-03-17 Adrian Bunk <bunk@stusta.de>
542 * config/tc-hppa.c (is_same_frag): Delete.
544 2008-03-14 Sterling Augustine <sterling@tensilica.com>
546 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
547 RELAX_LOOP_END_ADD_NOP.
549 2008-03-13 Evandro Menezes <evandro@yahoo.com>
552 * read.c (s_mexit): Warn if attempting to exit a macro when not
553 inside a macro definition.
555 2008-03-13 Alan Modra <amodra@bigpond.net.au>
557 * Makefile.am: Run "make dep-am".
558 * Makefile.in: Regenerate.
559 * configure: Regenerate.
561 2008-03-09 Paul Brook <paul@codesourcery.com>
563 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
564 * doc/c-arm.texi: Add cortex-a9.
566 2008-03-09 Paul Brook <paul@codesourcery.com>
568 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
569 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
570 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
571 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
572 * doc/c-arm.texi: Document new ARM FPU variants.
574 2008-03-07 Paul Brook <paul@codesourcery.com>
576 * config/tc-arm.c (md_apply_fix): Use correct offset range.
578 2008-03-07 Alan Modra <amodra@bigpond.net.au>
580 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
581 for strict ordering of powerpc_opcodes, but disable for now.
583 2008-03-04 Paul Brook <paul@codesourcery.com>
585 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
586 (arm_ext_v7m): Rename...
587 (arm_ext_m): ... to this. Include v6-M.
588 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
589 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
590 (md_assemble): Allow wide msr instructions.
591 (insns): Add classifications for v6-m instructions.
592 (arm_cpu_option_table): Add cortex-m1.
593 (arm_arch_option_table): Add armv6-m.
594 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
596 2008-03-03 Sterling Augustine <sterling@tensilica.com>
597 Bob Wilson <bob.wilson@acm.org>
599 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
600 (md_begin): Initialize it.
601 (resources_conflict): Use it.
603 2008-03-03 Sterling Augustine <sterling@tensilica.com>
605 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
607 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
608 H.J. Lu <hongjiu.lu@intel.com>
611 * read.c (pseudo_set): Don't allow global register symbol.
613 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
616 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
619 * write.c (write_object_file): Don't allow symbols which were
620 equated to register. Stop if there is an error.
622 2008-03-01 Alan Modra <amodra@bigpond.net.au>
624 * config/tc-ppc.h (struct _ppc_fix_extra): New.
626 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
627 * config/tc-ppc.c (ppu_cpu): Make global.
628 (ppc_insert_operand): Add ppu_cpu parameter.
629 (md_assemble): Adjust for above change.
630 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
632 2008-02-22 Nick Clifton <nickc@redhat.com>
634 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
635 targeted ARM ports, otherwise just skip generating the reloc.
637 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
639 * doc/c-i386.texi: Update -march= and .arch.
641 2008-02-18 Nick Clifton <nickc@redhat.com>
643 * config/tc-mn10300.c (has_known_symbol_location): New function.
644 Do not regard weak symbols as having a known location.
645 (md_estimate_size_before_relax): Use new function.
646 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
648 2008-02-18 Jan Beulich <jbeulich@novell.com>
650 * config/tc-i386.c (match_template): Disallow 'l' suffix when
651 currently selected CPU has no 32-bit support.
652 (parse_real_register): Do not return registers not available on
653 currently selected CPU.
655 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
657 * config/tc-i386.c (process_immext): Fix format.
659 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
661 * config/tc-i386.c (inoutportreg): New.
662 (process_immext): New.
663 (md_assemble): Use it.
664 (update_imm): Use imm16 and imm32s.
665 (i386_att_operand): Use inoutportreg.
667 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
669 * config/tc-i386.c (operand_type_all_zero): New.
670 (operand_type_set): Likewise.
671 (operand_type_equal): Likewise.
672 (cpu_flags_all_zero): Likewise.
673 (cpu_flags_set): Likewise.
674 (cpu_flags_equal): Likewise.
675 (UINTS_ALL_ZERO): Removed.
676 (UINTS_SET): Likewise.
677 (UINTS_CLEAR): Likewise.
678 (UINTS_EQUAL): Likewise.
679 (cpu_flags_match): Updated.
680 (smallest_imm_type): Likewise.
681 (set_cpu_arch): Likewise.
682 (md_assemble): Likewise.
683 (optimize_imm): Likewise.
684 (match_template): Likewise.
685 (process_suffix): Likewise.
686 (update_imm): Likewise.
687 (process_drex): Likewise.
688 (process_operands): Likewise.
689 (build_modrm_byte): Likewise.
690 (i386_immediate): Likewise.
691 (i386_displacement): Likewise.
692 (i386_att_operand): Likewise.
693 (parse_real_register): Likewise.
694 (md_parse_option): Likewise.
695 (i386_target_format): Likewise.
697 2008-02-14 Dimitry Andric <dimitry@andric.com>
700 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
701 pointer past the comma after parsing a floating point register
704 2008-02-14 Hakan Ardo <hakan@debian.org>
707 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
709 (avr_operand): Disallow post-increment addressing in the lpm
710 instruction for the attiny26.
712 2008-02-13 Jan Beulich <jbeulich@novell.com>
714 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
715 if not in Intel mode.
716 (i386_intel_operand): Ignore segment overrides in immediate and
718 (intel_e11): Range-check i.mem_operands before use as array
719 index. Filter out FLAT for uses other than as segment override.
720 (intel_get_token): Remove broken promotion of "FLAT:" to mean
723 2008-02-13 Jan Beulich <jbeulich@novell.com>
725 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
727 2008-02-13 Jan Beulich <jbeulich@novell.com>
729 * config/tc-i386.c (allow_pseudo_reg): New.
730 (parse_real_register): Check for NULL just once. Allow all
731 register table entries when allow_pseudo_reg is non-zero.
732 Don't allow any registers without type when allow_pseudo_reg
734 (tc_x86_regname_to_dw2regnum): Replace with ...
735 (tc_x86_parse_to_dw2regnum): ... this.
736 (tc_x86_frame_initial_instructions): Adjust for above change.
737 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
738 (tc_parse_to_dw2regnum): New.
739 (tc_x86_regname_to_dw2regnum): Replace with ...
740 (tc_x86_parse_to_dw2regnum): ... this.
741 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
742 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
745 2008-02-12 Nick Clifton <nickc@redhat.com>
747 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
749 (tic4x_insn_add): Likewise.
750 (md_begin): Drop cast that was discarding a const qualifier.
751 * config/tc-d30v.c (get_reloc): Add const qualifier to op
753 (build_insn): Drop cast that was discarding a const qualifier.
755 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
757 * config/tc-i386.c (cpu_arch): Add .xsave.
758 (md_show_usage): Add .xsave.
760 * doc/c-i386.texi: Add xsave to -march=.
762 2008-02-07 Alan Modra <amodra@bigpond.net.au>
764 * read.c (s_weakref): Don't pass unadorned NULL to concat.
765 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
767 2008-02-05 Sterling Augustine <sterling@tensilica.com>
769 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
770 checks into assertions. When relaxation produces an operation that
771 does not fit in the current FLIX instruction, make sure that the
772 operation is relaxed as needed to account for being placed following
773 the current instruction.
775 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
778 * configure: Regenerated.
780 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
782 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
784 2008-01-31 Marc Gauthier <marc@tensilica.com>
786 * configure.tgt (xtensa*-*-*): Recognize processor variants.
788 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
790 * read.c: (emit_expr): Correct for mingw use of printf size
793 2008-01-24 Bob Wilson <bob.wilson@acm.org>
795 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
796 can only be encoded in FLIX instructions but are not specified as such.
797 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
800 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
802 * NEWS: Mention new command line options for x86 targets.
804 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
806 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
808 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
810 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
812 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
814 * config/tc-i386.c (md_show_usage): Show more processors for
817 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
819 * config/tc-i386.c (i386_target_format): Remove cpummx2.
821 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
823 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
824 (XXX_MNEM_SUFFIX): Likewise.
825 (END_OF_INSN): Likewise.
826 (templates): Likewise.
827 (modrm_byte): Likewise.
828 (rex_byte): Likewise.
829 (DREX_XXX): Likewise.
830 (drex_byte): Likewise.
831 (sib_byte): Likewise.
832 (processor_type): Likewise.
833 (arch_entry): Likewise.
834 (cpu_sub_arch_name): Remove const.
835 (cpu_arch): Add .vmx and .smx.
836 (set_cpu_arch): Append cpu_sub_arch_name.
837 (md_parse_option): Support -march=CPU[,+EXTENSION...].
838 (md_show_usage): Updated.
840 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
841 (XXX_MNEM_SUFFIX): Likewise.
842 (END_OF_INSN): Likewise.
843 (templates): Likewise.
844 (modrm_byte): Likewise.
845 (rex_byte): Likewise.
846 (DREX_XXX): Likewise.
847 (drex_byte): Likewise.
848 (sib_byte): Likewise.
849 (processor_type): Likewise.
850 (arch_entry): Likewise.
852 * doc/as.texinfo: Update i386 -march option.
854 * doc/c-i386.texi: Update -march= for ISA.
856 2008-01-18 Bob Wilson <bob.wilson@acm.org>
858 * config/tc-xtensa.c (xtensa_leb128): New function.
859 (md_pseudo_table): Use it for sleb128 and uleb128.
860 (is_leb128_expr): New internal flag.
861 (xtensa_symbol_new_hook): Check new flag.
863 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
865 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
866 at90usb82, at90usb162.
867 * doc/c-avr.texi: Change architecture grouping for at90usb82,
869 These changes support the new avr35 architecture group in gcc.
871 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
873 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
874 suffix for AT&T syntax.
876 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
878 * config/tc-i386.c (match_reg_size): New.
879 (match_mem_size): Likewise.
880 (operand_size_match): Likewise.
881 (operand_type_match): Also clear all size fields.
882 (match_template): Skip Intel syntax when in AT&T syntax.
883 Call operand_size_match to check operand size.
884 (i386_att_operand): Set the mem field to 1 for memory
886 (i386_intel_operand): Likewise.
888 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
891 * config/tc-i386.c (_i386_insn): Update comment.
892 (operand_type_match): Also clear unspecified.
893 (operand_type_register_match): Likewise.
894 (parse_operands): Initialize unspecified.
895 (i386_intel_operand): Likewise.
896 (match_template): Check memory and accumulator operand size.
897 (i386_att_operand): Clear unspecified on register operand.
898 (intel_e11): Likewise.
899 (intel_e09): Set operand size and clean unspecified for
902 2008-01-11 Andreas Schwab <schwab@suse.de>
904 * read.c (s_space): Declare `repeat' as offsetT.
906 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
908 * config/tc-i386.c (match_template): Check processor support
911 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
913 * config/tc-i386.c (match_template): Continue if processor
916 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
918 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
919 unwind personality function address.
921 2008-01-09 Bob Wilson <bob.wilson@acm.org>
923 * dwarf2dbg.c (out_sleb128): Delete.
924 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
925 (out_fixed_inc_line_addr): Delete.
926 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
927 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
928 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
929 (process_entries): Remove calls to out_fixed_inc_line_addr. When
930 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
931 * read.h (emit_expr_fix): New prototype.
932 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
933 (emit_expr_fix): New.
935 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
937 * config/tc-i386.c (match_template): Check register size
938 only when size of operands can be encoded the canonical way.
940 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
942 * config/tc-i386.c (i386_operand): Renamed to ...
943 (i386_att_operand): This.
944 (parse_operands): Updated.
946 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
948 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
950 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
952 (md_assemble): Remove Intel mode workaround.
953 (match_template): Check support for old gcc, AT&T mnemonic
955 (md_parse_option): Don't set intel_mnemonic to 0 for
958 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
960 * config/tc-i386.h: Update copyright to 2008.
962 2008-01-04 Nick Clifton <nickc@redhat.com>
964 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
965 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
967 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
969 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
972 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
974 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
975 (cpu_flags_not): Likewise.
976 (cpu_flags_match): Updated to check 64bit and arch.
977 (set_code_flag): Remove cpu_arch_flags_not.
978 (set_16bit_gcc_code_flag): Likewise.
979 (set_cpu_arch): Likewise.
980 (md_begin): Likewise.
981 (parse_insn): Call cpu_flags_match to check 64bit and arch.
982 (match_template): Likewise.
984 2008-01-03 Jakub Jelinek <jakub@redhat.com>
986 * config/tc-i386.c (process_drex): Initialize modrm_reg and
987 modrm_regmem to 0 instead of None.
989 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
991 * config/tc-i386.c (match_template): Use the xmmword field
994 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
996 * config/tc-i386.c (process_suffix): Fix a typo.
998 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
1001 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
1002 Check memory size in Intel mode.
1003 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1004 (intel_e09): Likewise.
1006 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1008 2008-01-02 Catherine Moore <clm@codesourcery.com>
1010 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1012 For older changes see ChangeLog-2007
1018 version-control: never