1 2008-06-04 Nick Clifton <nickc@redhat.com>
3 * app.c (do_scrub_chars): Do not UNGET an EOF value.
5 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
7 * config/tc-i386.c (set_sse_check): New.
8 (md_pseudo_table): Add "sse_check".
10 2008-06-03 Paul Brook <paul@codesourcery.com>
12 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
14 2008-05-30 Nick Clifton <nickc@redhat.com>
17 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
20 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
22 * config/tc-mips.c (mips_cpu_info_table): Move records for
23 ST Loongson-2E/2F processors to a better place.
25 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
28 * config/tc-i386.c (match_template): Report ambiguous operand
29 size, not invalid suffix when there is no match in Intel
32 2008-05-22 Paul Brook <paul@codesourcery.com>
34 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
36 2008-05-21 I-Jui Sung <ijsung@gmail.com>
38 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
39 compatible cores: fa526, fa626, fa626te, fa726te.
40 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
43 2008-05-14 Alan Modra <amodra@bigpond.net.au>
45 * Makefile.am: Run "make dep-am".
46 * Makefile.in: Regenerate.
47 * doc/Makefile.in: Regenerate.
48 * po/POTFILES.in: Regenerate.
50 2008-05-09 Catherine Moore <clm@codesourcery.com>
52 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
53 with non-MIPS16 relocs.
55 2008-05-09 Chao-ying Fu <fu@mips.com>
57 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
58 case that some characters append at the end of the name.
60 (s_change_sec): Likewise.
61 (md_section_align): Likewise.
63 2008-05-07 Bob Wilson <bob.wilson@acm.org>
65 * config/tc-xtensa.c (xtensa_create_property_segments): Use
66 xtensa_make_property_section instead of xtensa_get_property_section.
67 (xtensa_create_xproperty_segments): Likewise.
69 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
71 * NEWS: Mention XSAVE, EPT and MOVBE.
73 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
74 (md_show_usage): Add .movbe and .ept.
76 * doc/c-i386.texi: Add movbe and ept to -march=. Document
79 2008-04-29 David S. Miller <davem@davemloft.net>
81 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
83 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
85 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
87 (OPTION_ELF_BASE): Make room for new option macros.
88 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
89 OPTION_DOUBLE_FLOAT): New option macros.
90 (md_longopts): Add msoft-float, mhard-float, msingle-float and
92 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
93 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
94 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
96 (struct mips_set_options): New fields soft_float and single_float.
97 (mips_opts): Initialized them. Add comment for each field
99 (mips_after_parse_args): Set them based on file_mips_soft_float
100 and file_mips_single_float.
101 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
102 `.set singlefloat' and `.set doublefloat'.
103 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
104 Handle single-float and soft-float instructions here.
105 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
106 (is_opcode_valid_16): New function.
107 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
108 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
109 M_S_DOB>: Remove special-casing of r4650.
110 * doc/c-mips.texi (-march=): Add Octeon.
111 (MIPS Opts): Document -msoft-float and -mhard-float. Document
112 -msingle-float and -mdouble-float.
113 (MIPS floating-point): New section. Document `.set softfloat' and
114 `.set hardfloat'. Document `.set singlefloat' and `.set
117 2008-04-25 David S. Miller <davem@davemloft.net>
119 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
122 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
123 rather than occaisionally 'levels'. Consistently refer to Sun's
124 UNIX variant as SunOS, every version of Solaris is also SunOS.
125 Document new 'softint_clear' and 'softint_set' aliases. Clarify
126 which architecture versions support '%dcr', '%cq', and '%gl'. Add
127 section on 32-bit/64-bit opcode translations.
129 2008-04-23 Mike Frysinger <vapier@gentoo.org>
131 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
132 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
133 (obj-fdpicelf.o): Define.
134 * Makefile.in: Regenerate.
135 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
137 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
138 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
139 * config/obj-fdpicelf.c: New.
140 * config/obj-fdpicelf.h: Likewise.
141 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
142 the OBJ_FDPIC_ELF define.
143 (OPTION_NOPIC): Define.
144 (md_longopts): Add mnopic and mno-fdpic.
145 (md_parse_option): Handle OPTION_NOPIC.
147 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
149 * aclocal.m4: Regenerate.
150 * configure: Regenerate.
152 2008-04-23 David S. Miller <davem@davemloft.net>
154 * config/tc-sparc.c (v9a_asr_table): Add missing
155 'stick' and 'stick_cmpr', and document ordering rules
157 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
158 BFD_RELOC_SPARC_PC10.
159 * doc/c-sparc.texi: New section on Sparc constants.
160 Add documentation for %stick and %stick_cmpr.
162 2008-04-22 David S. Miller <davem@davemloft.net>
164 * config/obj-elf.c (obj_elf_section_type): Add prototype
165 before obj_elf_section_word and add 'warn' arg.
166 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
167 is matched, try checking for #SECTION_TYPE.
168 (obj_elf_section): Adjust for new args.
169 (obj_elf_type_name): New function.
170 (obj_elf_type): Call it, and accept STT_foo number strings
171 in .type statements as output by SunPRO compiler.
173 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
175 * config/tc-i386.c (md_assemble): Don't check SSE instructions
178 2008-04-18 David S. Miller <davem@davemloft.net>
180 * doc/c-sparc.texi: Add syntax section.
182 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
184 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
185 REG and NDS for instructions with immediate operand.
187 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
189 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
192 2008-04-16 David S. Miller <davem@davemloft.net>
194 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
195 and relocation generation.
196 (tc_gen_reloc): Likewise.
198 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
200 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
201 relocations are properly aligned, and not negative.
203 2008-04-15 Khem Raj <kraj@mvista.com>
205 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
207 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
209 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
210 accept e500mc instructions.
211 (md_show_usage): Document -me500mc.
213 2008-04-11 Nick Clifton <nickc@redhat.com>
215 * listing.c (print_timestamp): Use localtime rather than
216 localtime_r since not all build environments provide the latter.
218 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
220 * NEWS: Mention -msse-check=[none|error|warning].
222 * config/tc-i386.c (sse_check): New.
223 (OPTION_MSSE_CHECK): Likewise.
224 (md_assemble): Check SSE instructions if needed.
225 (md_longopts): Add -msse-check.
226 (md_parse_option): Handle OPTION_MSSE_CHECK.
227 (md_show_usage): Show -msse-check=[none|error|warning].
229 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
231 2008-04-10 Santiago UrueƱa <suruena@gmail.com>
233 * listing.c: Add -ag listing flag to show general information in
234 listings such as gas version, passed options, and time stamp.
235 (listing_general_info): New function.
236 (print_options): New function.
237 (print_single_option): New function.
238 (print_timestamp): New function.
239 (MAX_DATELEN): Define.
240 (listing_print): Add call to listing_general_info.
241 * listing.h (LISTING_GENERAL): Define.
242 (listing_print): Add new parameter.
243 * as.c (show_usage): Print new switch.
244 (parse_args): Parse new switch.
245 (main): Pass command line on to listing_print.
246 * NEWS: Mention this new feature.
247 * doc/as.texinfo: Document the new sub-option.
249 2008-04-08 Alan Modra <amodra@bigpond.net.au>
251 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
252 call. Delete out of date comment.
253 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
254 (dwarf2_emit_label): Don't emit unless there has been a previous
255 .file or we are outputting assembler generated debug.
256 dwarf2_consume_line_info after emitting line info, not before.
257 (out_debug_info): Simplify files_in_use test.
259 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
261 * config/tc-i386.c (parse_real_register): Return AVX register
262 only if AVX is enabled.
264 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
267 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
268 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
270 2008-04-04 Adrian Bunk <bunk@stusta.de>
271 Bob Wilson <bob.wilson@acm.org>
273 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
274 call to decode_reloc.
276 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
278 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
280 * config/tc-i386.c (cpu_arch): Add .pclmul.
281 (md_show_usage): Replace clmul with pclmul.
282 * doc/c-i386.texi: Likewise.
284 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
286 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
288 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
289 Document -msse2avx, .avx, .aes, .clmul and .fma.
291 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
292 (vex_prefix): Likewise.
294 (CPU_FLAGS_ARCH_MATCH): Likewise.
295 (CPU_FLAGS_64BIT_MATCH): Likewise.
296 (CPU_FLAGS_32BIT_MATCH): Likewise.
297 (CPU_FLAGS_PERFECT_MATCH): Likewise.
299 (vex_imm4): Likewise.
300 (fits_in_imm4): Likewise.
301 (build_vex_prefix): Likewise.
302 (VEX_check_operands): Likewise.
303 (bad_implicit_operand): Likewise.
304 (OPTION_MSSE2AVX): Likewise.
305 (T_YMMWORD): Likewise.
306 (_i386_insn): Add vex.
307 (cpu_arch): Add .avx, .aes, .clmul and .fma.
308 (cpu_flags_match): Changed to take a pointer to const template.
309 Enable encoding SSE instructions with VEX prefix for -msse2avx.
310 (match_mem_size): Also check ymmword.
311 (operand_type_match): Clear ymmword.
312 (md_begin): Allow '_' in mnemonic.
313 (type_names): Add OPERAND_TYPE_VEX_IMM4.
314 (process_immext): Update assert.
315 (md_assemble): Don't call process_immext if sse2avx and immext
316 are true. Call build_vex_prefix if vex is true.
317 (parse_insn): Updated for cpu_flags_match.
318 (swap_operands): Handle 5 operands.
319 (match_template): Handle 5 operands. Updated for cpu_flags_match.
320 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
321 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
322 (check_byte_reg): Check regymm.
323 (process_operands): Duplicate the destination register for
325 (build_modrm_byte): Updated for instructions with VEX encoding.
326 (output_insn): Output VEX prefix if needed.
327 (md_longopts): Add msse2avx.
328 (md_parse_option): Handle OPTION_MSSE2AVX.
329 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
330 (intel_e09): Support YMMWORD.
331 (intel_e11): Likewise.
332 (intel_get_token): Likewise.
334 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
336 * config/tc-avr.c (mcu_types): Add attiny167.
337 * doc/c-avr.texi: Likewise.
339 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
341 * config/tc-avr.c (mcu_types): Add atmega32u4.
342 * doc/c-avr.texi: Likewise.
344 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
346 * config/tc-avr.c (mcu_types): Add atmega32c1.
347 * doc/c-avr.texi: Likewise.
349 2008-03-28 Paul Brook <paul@codesourcery.com>
351 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
352 to avoid spurious symbols.
354 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
356 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
359 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
361 * config/tc-avr.c (mcu_types): Add atmega32m1.
362 * doc/c-avr.texi: Likewise.
364 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
366 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
368 (do_neon_ext): Fix sign of comparison.
370 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
372 From Jie Zhang <jie.zhang@analog.com>
373 * config/bfin-parse.y (asm_1): Check AREGS in comparison
374 instructions. And call yyerror when comparing PREG with
376 (check_macfunc_option): New.
377 (check_macfuncs): Check option by calling check_macfunc_option.
378 Fix comparison always true warnings. Both scalar instructions
379 of vector instruction must share the same mode option. Only allow
380 option mode at the end of the second instruction of the vector.
381 (asm_1): Check option by calling check_macfunc_option.
383 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
384 option for multiply and multiply-accumulate to data register
386 (check_macfuncs): Don't check if accumulator matches the data register
388 (assign_macfunc): Check if accumulator matches the
389 data register in each rule that moves to the data
392 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
393 generated for LOOP_BEGIN and LOOP_END instructions.
394 (bfin_gen_loop): Likewise.
396 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
398 * config/tc-s390.c (md_parse_option): z10 option added.
400 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
402 * aclocal.m4: Regenerate.
403 * configure: Likewise.
404 * Makefile.in: Likewise.
405 * doc/Makefile.in: Likewise.
407 2008-03-17 Adrian Bunk <bunk@stusta.de>
410 * config/tc-hppa.c (is_same_frag): Delete.
412 2008-03-14 Sterling Augustine <sterling@tensilica.com>
414 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
415 RELAX_LOOP_END_ADD_NOP.
417 2008-03-13 Evandro Menezes <evandro@yahoo.com>
420 * read.c (s_mexit): Warn if attempting to exit a macro when not
421 inside a macro definition.
423 2008-03-13 Alan Modra <amodra@bigpond.net.au>
425 * Makefile.am: Run "make dep-am".
426 * Makefile.in: Regenerate.
427 * configure: Regenerate.
429 2008-03-09 Paul Brook <paul@codesourcery.com>
431 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
432 * doc/c-arm.texi: Add cortex-a9.
434 2008-03-09 Paul Brook <paul@codesourcery.com>
436 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
437 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
438 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
439 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
440 * doc/c-arm.texi: Document new ARM FPU variants.
442 2008-03-07 Paul Brook <paul@codesourcery.com>
444 * config/tc-arm.c (md_apply_fix): Use correct offset range.
446 2008-03-07 Alan Modra <amodra@bigpond.net.au>
448 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
449 for strict ordering of powerpc_opcodes, but disable for now.
451 2008-03-04 Paul Brook <paul@codesourcery.com>
453 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
454 (arm_ext_v7m): Rename...
455 (arm_ext_m): ... to this. Include v6-M.
456 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
457 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
458 (md_assemble): Allow wide msr instructions.
459 (insns): Add classifications for v6-m instructions.
460 (arm_cpu_option_table): Add cortex-m1.
461 (arm_arch_option_table): Add armv6-m.
462 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
464 2008-03-03 Sterling Augustine <sterling@tensilica.com>
465 Bob Wilson <bob.wilson@acm.org>
467 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
468 (md_begin): Initialize it.
469 (resources_conflict): Use it.
471 2008-03-03 Sterling Augustine <sterling@tensilica.com>
473 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
475 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
476 H.J. Lu <hongjiu.lu@intel.com>
479 * read.c (pseudo_set): Don't allow global register symbol.
481 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
484 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
487 * write.c (write_object_file): Don't allow symbols which were
488 equated to register. Stop if there is an error.
490 2008-03-01 Alan Modra <amodra@bigpond.net.au>
492 * config/tc-ppc.h (struct _ppc_fix_extra): New.
494 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
495 * config/tc-ppc.c (ppu_cpu): Make global.
496 (ppc_insert_operand): Add ppu_cpu parameter.
497 (md_assemble): Adjust for above change.
498 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
500 2008-02-22 Nick Clifton <nickc@redhat.com>
502 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
503 targeted ARM ports, otherwise just skip generating the reloc.
505 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
507 * doc/c-i386.texi: Update -march= and .arch.
509 2008-02-18 Nick Clifton <nickc@redhat.com>
511 * config/tc-mn10300.c (has_known_symbol_location): New function.
512 Do not regard weak symbols as having a known location.
513 (md_estimate_size_before_relax): Use new function.
514 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
516 2008-02-18 Jan Beulich <jbeulich@novell.com>
518 * config/tc-i386.c (match_template): Disallow 'l' suffix when
519 currently selected CPU has no 32-bit support.
520 (parse_real_register): Do not return registers not available on
521 currently selected CPU.
523 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
525 * config/tc-i386.c (process_immext): Fix format.
527 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
529 * config/tc-i386.c (inoutportreg): New.
530 (process_immext): New.
531 (md_assemble): Use it.
532 (update_imm): Use imm16 and imm32s.
533 (i386_att_operand): Use inoutportreg.
535 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
537 * config/tc-i386.c (operand_type_all_zero): New.
538 (operand_type_set): Likewise.
539 (operand_type_equal): Likewise.
540 (cpu_flags_all_zero): Likewise.
541 (cpu_flags_set): Likewise.
542 (cpu_flags_equal): Likewise.
543 (UINTS_ALL_ZERO): Removed.
544 (UINTS_SET): Likewise.
545 (UINTS_CLEAR): Likewise.
546 (UINTS_EQUAL): Likewise.
547 (cpu_flags_match): Updated.
548 (smallest_imm_type): Likewise.
549 (set_cpu_arch): Likewise.
550 (md_assemble): Likewise.
551 (optimize_imm): Likewise.
552 (match_template): Likewise.
553 (process_suffix): Likewise.
554 (update_imm): Likewise.
555 (process_drex): Likewise.
556 (process_operands): Likewise.
557 (build_modrm_byte): Likewise.
558 (i386_immediate): Likewise.
559 (i386_displacement): Likewise.
560 (i386_att_operand): Likewise.
561 (parse_real_register): Likewise.
562 (md_parse_option): Likewise.
563 (i386_target_format): Likewise.
565 2008-02-14 Dimitry Andric <dimitry@andric.com>
568 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
569 pointer past the comma after parsing a floating point register
572 2008-02-14 Hakan Ardo <hakan@debian.org>
575 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
577 (avr_operand): Disallow post-increment addressing in the lpm
578 instruction for the attiny26.
580 2008-02-13 Jan Beulich <jbeulich@novell.com>
582 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
583 if not in Intel mode.
584 (i386_intel_operand): Ignore segment overrides in immediate and
586 (intel_e11): Range-check i.mem_operands before use as array
587 index. Filter out FLAT for uses other than as segment override.
588 (intel_get_token): Remove broken promotion of "FLAT:" to mean
591 2008-02-13 Jan Beulich <jbeulich@novell.com>
593 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
595 2008-02-13 Jan Beulich <jbeulich@novell.com>
597 * config/tc-i386.c (allow_pseudo_reg): New.
598 (parse_real_register): Check for NULL just once. Allow all
599 register table entries when allow_pseudo_reg is non-zero.
600 Don't allow any registers without type when allow_pseudo_reg
602 (tc_x86_regname_to_dw2regnum): Replace with ...
603 (tc_x86_parse_to_dw2regnum): ... this.
604 (tc_x86_frame_initial_instructions): Adjust for above change.
605 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
606 (tc_parse_to_dw2regnum): New.
607 (tc_x86_regname_to_dw2regnum): Replace with ...
608 (tc_x86_parse_to_dw2regnum): ... this.
609 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
610 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
613 2008-02-12 Nick Clifton <nickc@redhat.com>
615 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
617 (tic4x_insn_add): Likewise.
618 (md_begin): Drop cast that was discarding a const qualifier.
619 * config/tc-d30v.c (get_reloc): Add const qualifier to op
621 (build_insn): Drop cast that was discarding a const qualifier.
623 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
625 * config/tc-i386.c (cpu_arch): Add .xsave.
626 (md_show_usage): Add .xsave.
628 * doc/c-i386.texi: Add xsave to -march=.
630 2008-02-07 Alan Modra <amodra@bigpond.net.au>
632 * read.c (s_weakref): Don't pass unadorned NULL to concat.
633 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
635 2008-02-05 Sterling Augustine <sterling@tensilica.com>
637 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
638 checks into assertions. When relaxation produces an operation that
639 does not fit in the current FLIX instruction, make sure that the
640 operation is relaxed as needed to account for being placed following
641 the current instruction.
643 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
646 * configure: Regenerated.
648 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
650 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
652 2008-01-31 Marc Gauthier <marc@tensilica.com>
654 * configure.tgt (xtensa*-*-*): Recognize processor variants.
656 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
658 * read.c: (emit_expr): Correct for mingw use of printf size
661 2008-01-24 Bob Wilson <bob.wilson@acm.org>
663 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
664 can only be encoded in FLIX instructions but are not specified as such.
665 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
668 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
670 * NEWS: Mention new command line options for x86 targets.
672 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
674 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
676 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
678 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
680 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
682 * config/tc-i386.c (md_show_usage): Show more processors for
685 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
687 * config/tc-i386.c (i386_target_format): Remove cpummx2.
689 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
691 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
692 (XXX_MNEM_SUFFIX): Likewise.
693 (END_OF_INSN): Likewise.
694 (templates): Likewise.
695 (modrm_byte): Likewise.
696 (rex_byte): Likewise.
697 (DREX_XXX): Likewise.
698 (drex_byte): Likewise.
699 (sib_byte): Likewise.
700 (processor_type): Likewise.
701 (arch_entry): Likewise.
702 (cpu_sub_arch_name): Remove const.
703 (cpu_arch): Add .vmx and .smx.
704 (set_cpu_arch): Append cpu_sub_arch_name.
705 (md_parse_option): Support -march=CPU[,+EXTENSION...].
706 (md_show_usage): Updated.
708 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
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.
720 * doc/as.texinfo: Update i386 -march option.
722 * doc/c-i386.texi: Update -march= for ISA.
724 2008-01-18 Bob Wilson <bob.wilson@acm.org>
726 * config/tc-xtensa.c (xtensa_leb128): New function.
727 (md_pseudo_table): Use it for sleb128 and uleb128.
728 (is_leb128_expr): New internal flag.
729 (xtensa_symbol_new_hook): Check new flag.
731 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
733 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
734 at90usb82, at90usb162.
735 * doc/c-avr.texi: Change architecture grouping for at90usb82,
737 These changes support the new avr35 architecture group in gcc.
739 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
741 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
742 suffix for AT&T syntax.
744 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
746 * config/tc-i386.c (match_reg_size): New.
747 (match_mem_size): Likewise.
748 (operand_size_match): Likewise.
749 (operand_type_match): Also clear all size fields.
750 (match_template): Skip Intel syntax when in AT&T syntax.
751 Call operand_size_match to check operand size.
752 (i386_att_operand): Set the mem field to 1 for memory
754 (i386_intel_operand): Likewise.
756 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
759 * config/tc-i386.c (_i386_insn): Update comment.
760 (operand_type_match): Also clear unspecified.
761 (operand_type_register_match): Likewise.
762 (parse_operands): Initialize unspecified.
763 (i386_intel_operand): Likewise.
764 (match_template): Check memory and accumulator operand size.
765 (i386_att_operand): Clear unspecified on register operand.
766 (intel_e11): Likewise.
767 (intel_e09): Set operand size and clean unspecified for
770 2008-01-11 Andreas Schwab <schwab@suse.de>
772 * read.c (s_space): Declare `repeat' as offsetT.
774 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
776 * config/tc-i386.c (match_template): Check processor support
779 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
781 * config/tc-i386.c (match_template): Continue if processor
784 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
786 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
787 unwind personality function address.
789 2008-01-09 Bob Wilson <bob.wilson@acm.org>
791 * dwarf2dbg.c (out_sleb128): Delete.
792 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
793 (out_fixed_inc_line_addr): Delete.
794 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
795 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
796 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
797 (process_entries): Remove calls to out_fixed_inc_line_addr. When
798 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
799 * read.h (emit_expr_fix): New prototype.
800 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
801 (emit_expr_fix): New.
803 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
805 * config/tc-i386.c (match_template): Check register size
806 only when size of operands can be encoded the canonical way.
808 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
810 * config/tc-i386.c (i386_operand): Renamed to ...
811 (i386_att_operand): This.
812 (parse_operands): Updated.
814 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
816 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
818 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
820 (md_assemble): Remove Intel mode workaround.
821 (match_template): Check support for old gcc, AT&T mnemonic
823 (md_parse_option): Don't set intel_mnemonic to 0 for
826 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
828 * config/tc-i386.h: Update copyright to 2008.
830 2008-01-04 Nick Clifton <nickc@redhat.com>
832 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
833 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
835 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
837 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
840 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
842 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
843 (cpu_flags_not): Likewise.
844 (cpu_flags_match): Updated to check 64bit and arch.
845 (set_code_flag): Remove cpu_arch_flags_not.
846 (set_16bit_gcc_code_flag): Likewise.
847 (set_cpu_arch): Likewise.
848 (md_begin): Likewise.
849 (parse_insn): Call cpu_flags_match to check 64bit and arch.
850 (match_template): Likewise.
852 2008-01-03 Jakub Jelinek <jakub@redhat.com>
854 * config/tc-i386.c (process_drex): Initialize modrm_reg and
855 modrm_regmem to 0 instead of None.
857 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
859 * config/tc-i386.c (match_template): Use the xmmword field
862 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
864 * config/tc-i386.c (process_suffix): Fix a typo.
866 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
869 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
870 Check memory size in Intel mode.
871 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
872 (intel_e09): Likewise.
874 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
876 2008-01-02 Catherine Moore <clm@codesourcery.com>
878 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
880 For older changes see ChangeLog-2007
886 version-control: never