1 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
3 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
5 (OPTION_ELF_BASE): Make room for new option macros.
6 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
7 OPTION_DOUBLE_FLOAT): New option macros.
8 (md_longopts): Add msoft-float, mhard-float, msingle-float and
10 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
11 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
12 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
14 (struct mips_set_options): New fields soft_float and single_float.
15 (mips_opts): Initialized them. Add comment for each field
17 (mips_after_parse_args): Set them based on file_mips_soft_float
18 and file_mips_single_float.
19 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
20 `.set singlefloat' and `.set doublefloat'.
21 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
22 Handle single-float and soft-float instructions here.
23 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
24 (is_opcode_valid_16): New function.
25 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
26 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
27 M_S_DOB>: Remove special-casing of r4650.
28 * doc/c-mips.texi (-march=): Add Octeon.
29 (MIPS Opts): Document -msoft-float and -mhard-float. Document
30 -msingle-float and -mdouble-float.
31 (MIPS floating-point): New section. Document `.set softfloat' and
32 `.set hardfloat'. Document `.set singlefloat' and `.set
35 2008-04-25 David S. Miller <davem@davemloft.net>
37 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
40 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
41 rather than occaisionally 'levels'. Consistently refer to Sun's
42 UNIX variant as SunOS, every version of Solaris is also SunOS.
43 Document new 'softint_clear' and 'softint_set' aliases. Clarify
44 which architecture versions support '%dcr', '%cq', and '%gl'. Add
45 section on 32-bit/64-bit opcode translations.
47 2008-04-23 Mike Frysinger <vapier@gentoo.org>
49 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
50 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
51 (obj-fdpicelf.o): Define.
52 * Makefile.in: Regenerate.
53 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
55 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
56 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
57 * config/obj-fdpicelf.c: New.
58 * config/obj-fdpicelf.h: Likewise.
59 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
60 the OBJ_FDPIC_ELF define.
61 (OPTION_NOPIC): Define.
62 (md_longopts): Add mnopic and mno-fdpic.
63 (md_parse_option): Handle OPTION_NOPIC.
65 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
67 * aclocal.m4: Regenerate.
68 * configure: Regenerate.
70 2008-04-23 David S. Miller <davem@davemloft.net>
72 * config/tc-sparc.c (v9a_asr_table): Add missing
73 'stick' and 'stick_cmpr', and document ordering rules
75 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
77 * doc/c-sparc.texi: New section on Sparc constants.
78 Add documentation for %stick and %stick_cmpr.
80 2008-04-22 David S. Miller <davem@davemloft.net>
82 * config/obj-elf.c (obj_elf_section_type): Add prototype
83 before obj_elf_section_word and add 'warn' arg.
84 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
85 is matched, try checking for #SECTION_TYPE.
86 (obj_elf_section): Adjust for new args.
87 (obj_elf_type_name): New function.
88 (obj_elf_type): Call it, and accept STT_foo number strings
89 in .type statements as output by SunPRO compiler.
91 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
93 * config/tc-i386.c (md_assemble): Don't check SSE instructions
96 2008-04-18 David S. Miller <davem@davemloft.net>
98 * doc/c-sparc.texi: Add syntax section.
100 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
102 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
103 REG and NDS for instructions with immediate operand.
105 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
107 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
110 2008-04-16 David S. Miller <davem@davemloft.net>
112 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
113 and relocation generation.
114 (tc_gen_reloc): Likewise.
116 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
118 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
119 relocations are properly aligned, and not negative.
121 2008-04-15 Khem Raj <kraj@mvista.com>
123 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
125 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
127 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
128 accept e500mc instructions.
129 (md_show_usage): Document -me500mc.
131 2008-04-11 Nick Clifton <nickc@redhat.com>
133 * listing.c (print_timestamp): Use localtime rather than
134 localtime_r since not all build environments provide the latter.
136 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
138 * NEWS: Mention -msse-check=[none|error|warning].
140 * config/tc-i386.c (sse_check): New.
141 (OPTION_MSSE_CHECK): Likewise.
142 (md_assemble): Check SSE instructions if needed.
143 (md_longopts): Add -msse-check.
144 (md_parse_option): Handle OPTION_MSSE_CHECK.
145 (md_show_usage): Show -msse-check=[none|error|warning].
147 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
149 2008-04-10 Santiago UrueƱa <suruena@gmail.com>
151 * listing.c: Add -ag listing flag to show general information in
152 listings such as gas version, passed options, and time stamp.
153 (listing_general_info): New function.
154 (print_options): New function.
155 (print_single_option): New function.
156 (print_timestamp): New function.
157 (MAX_DATELEN): Define.
158 (listing_print): Add call to listing_general_info.
159 * listing.h (LISTING_GENERAL): Define.
160 (listing_print): Add new parameter.
161 * as.c (show_usage): Print new switch.
162 (parse_args): Parse new switch.
163 (main): Pass command line on to listing_print.
164 * NEWS: Mention this new feature.
165 * doc/as.texinfo: Document the new sub-option.
167 2008-04-08 Alan Modra <amodra@bigpond.net.au>
169 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
170 call. Delete out of date comment.
171 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
172 (dwarf2_emit_label): Don't emit unless there has been a previous
173 .file or we are outputting assembler generated debug.
174 dwarf2_consume_line_info after emitting line info, not before.
175 (out_debug_info): Simplify files_in_use test.
177 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
179 * config/tc-i386.c (parse_real_register): Return AVX register
180 only if AVX is enabled.
182 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
185 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
186 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
188 2008-04-04 Adrian Bunk <bunk@stusta.de>
189 Bob Wilson <bob.wilson@acm.org>
191 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
192 call to decode_reloc.
194 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
196 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
198 * config/tc-i386.c (cpu_arch): Add .pclmul.
199 (md_show_usage): Replace clmul with pclmul.
200 * doc/c-i386.texi: Likewise.
202 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
204 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
206 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
207 Document -msse2avx, .avx, .aes, .clmul and .fma.
209 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
210 (vex_prefix): Likewise.
212 (CPU_FLAGS_ARCH_MATCH): Likewise.
213 (CPU_FLAGS_64BIT_MATCH): Likewise.
214 (CPU_FLAGS_32BIT_MATCH): Likewise.
215 (CPU_FLAGS_PERFECT_MATCH): Likewise.
217 (vex_imm4): Likewise.
218 (fits_in_imm4): Likewise.
219 (build_vex_prefix): Likewise.
220 (VEX_check_operands): Likewise.
221 (bad_implicit_operand): Likewise.
222 (OPTION_MSSE2AVX): Likewise.
223 (T_YMMWORD): Likewise.
224 (_i386_insn): Add vex.
225 (cpu_arch): Add .avx, .aes, .clmul and .fma.
226 (cpu_flags_match): Changed to take a pointer to const template.
227 Enable encoding SSE instructions with VEX prefix for -msse2avx.
228 (match_mem_size): Also check ymmword.
229 (operand_type_match): Clear ymmword.
230 (md_begin): Allow '_' in mnemonic.
231 (type_names): Add OPERAND_TYPE_VEX_IMM4.
232 (process_immext): Update assert.
233 (md_assemble): Don't call process_immext if sse2avx and immext
234 are true. Call build_vex_prefix if vex is true.
235 (parse_insn): Updated for cpu_flags_match.
236 (swap_operands): Handle 5 operands.
237 (match_template): Handle 5 operands. Updated for cpu_flags_match.
238 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
239 (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
240 (check_byte_reg): Check regymm.
241 (process_operands): Duplicate the destination register for
243 (build_modrm_byte): Updated for instructions with VEX encoding.
244 (output_insn): Output VEX prefix if needed.
245 (md_longopts): Add msse2avx.
246 (md_parse_option): Handle OPTION_MSSE2AVX.
247 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
248 (intel_e09): Support YMMWORD.
249 (intel_e11): Likewise.
250 (intel_get_token): Likewise.
252 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
254 * config/tc-avr.c (mcu_types): Add attiny167.
255 * doc/c-avr.texi: Likewise.
257 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
259 * config/tc-avr.c (mcu_types): Add atmega32u4.
260 * doc/c-avr.texi: Likewise.
262 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
264 * config/tc-avr.c (mcu_types): Add atmega32c1.
265 * doc/c-avr.texi: Likewise.
267 2008-03-28 Paul Brook <paul@codesourcery.com>
269 * config/tc-arm.c (parse_neon_mov): Parse register before immediate
270 to avoid spurious symbols.
272 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
274 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
277 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
279 * config/tc-avr.c (mcu_types): Add atmega32m1.
280 * doc/c-avr.texi: Likewise.
282 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
284 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
286 (do_neon_ext): Fix sign of comparison.
288 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
290 From Jie Zhang <jie.zhang@analog.com>
291 * config/bfin-parse.y (asm_1): Check AREGS in comparison
292 instructions. And call yyerror when comparing PREG with
294 (check_macfunc_option): New.
295 (check_macfuncs): Check option by calling check_macfunc_option.
296 Fix comparison always true warnings. Both scalar instructions
297 of vector instruction must share the same mode option. Only allow
298 option mode at the end of the second instruction of the vector.
299 (asm_1): Check option by calling check_macfunc_option.
301 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
302 option for multiply and multiply-accumulate to data register
304 (check_macfuncs): Don't check if accumulator matches the data register
306 (assign_macfunc): Check if accumulator matches the
307 data register in each rule that moves to the data
310 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
311 generated for LOOP_BEGIN and LOOP_END instructions.
312 (bfin_gen_loop): Likewise.
314 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
316 * config/tc-s390.c (md_parse_option): z10 option added.
318 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
320 * aclocal.m4: Regenerate.
321 * configure: Likewise.
322 * Makefile.in: Likewise.
323 * doc/Makefile.in: Likewise.
325 2008-03-17 Adrian Bunk <bunk@stusta.de>
328 * config/tc-hppa.c (is_same_frag): Delete.
330 2008-03-14 Sterling Augustine <sterling@tensilica.com>
332 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
333 RELAX_LOOP_END_ADD_NOP.
335 2008-03-13 Evandro Menezes <evandro@yahoo.com>
338 * read.c (s_mexit): Warn if attempting to exit a macro when not
339 inside a macro definition.
341 2008-03-13 Alan Modra <amodra@bigpond.net.au>
343 * Makefile.am: Run "make dep-am".
344 * Makefile.in: Regenerate.
345 * configure: Regenerate.
347 2008-03-09 Paul Brook <paul@codesourcery.com>
349 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
350 * doc/c-arm.texi: Add cortex-a9.
352 2008-03-09 Paul Brook <paul@codesourcery.com>
354 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
355 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
356 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
357 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
358 * doc/c-arm.texi: Document new ARM FPU variants.
360 2008-03-07 Paul Brook <paul@codesourcery.com>
362 * config/tc-arm.c (md_apply_fix): Use correct offset range.
364 2008-03-07 Alan Modra <amodra@bigpond.net.au>
366 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
367 for strict ordering of powerpc_opcodes, but disable for now.
369 2008-03-04 Paul Brook <paul@codesourcery.com>
371 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
372 (arm_ext_v7m): Rename...
373 (arm_ext_m): ... to this. Include v6-M.
374 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
375 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
376 (md_assemble): Allow wide msr instructions.
377 (insns): Add classifications for v6-m instructions.
378 (arm_cpu_option_table): Add cortex-m1.
379 (arm_arch_option_table): Add armv6-m.
380 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
382 2008-03-03 Sterling Augustine <sterling@tensilica.com>
383 Bob Wilson <bob.wilson@acm.org>
385 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
386 (md_begin): Initialize it.
387 (resources_conflict): Use it.
389 2008-03-03 Sterling Augustine <sterling@tensilica.com>
391 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
393 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
394 H.J. Lu <hongjiu.lu@intel.com>
397 * read.c (pseudo_set): Don't allow global register symbol.
399 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
402 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
405 * write.c (write_object_file): Don't allow symbols which were
406 equated to register. Stop if there is an error.
408 2008-03-01 Alan Modra <amodra@bigpond.net.au>
410 * config/tc-ppc.h (struct _ppc_fix_extra): New.
412 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
413 * config/tc-ppc.c (ppu_cpu): Make global.
414 (ppc_insert_operand): Add ppu_cpu parameter.
415 (md_assemble): Adjust for above change.
416 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
418 2008-02-22 Nick Clifton <nickc@redhat.com>
420 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
421 targeted ARM ports, otherwise just skip generating the reloc.
423 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
425 * doc/c-i386.texi: Update -march= and .arch.
427 2008-02-18 Nick Clifton <nickc@redhat.com>
429 * config/tc-mn10300.c (has_known_symbol_location): New function.
430 Do not regard weak symbols as having a known location.
431 (md_estimate_size_before_relax): Use new function.
432 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
434 2008-02-18 Jan Beulich <jbeulich@novell.com>
436 * config/tc-i386.c (match_template): Disallow 'l' suffix when
437 currently selected CPU has no 32-bit support.
438 (parse_real_register): Do not return registers not available on
439 currently selected CPU.
441 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
443 * config/tc-i386.c (process_immext): Fix format.
445 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
447 * config/tc-i386.c (inoutportreg): New.
448 (process_immext): New.
449 (md_assemble): Use it.
450 (update_imm): Use imm16 and imm32s.
451 (i386_att_operand): Use inoutportreg.
453 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
455 * config/tc-i386.c (operand_type_all_zero): New.
456 (operand_type_set): Likewise.
457 (operand_type_equal): Likewise.
458 (cpu_flags_all_zero): Likewise.
459 (cpu_flags_set): Likewise.
460 (cpu_flags_equal): Likewise.
461 (UINTS_ALL_ZERO): Removed.
462 (UINTS_SET): Likewise.
463 (UINTS_CLEAR): Likewise.
464 (UINTS_EQUAL): Likewise.
465 (cpu_flags_match): Updated.
466 (smallest_imm_type): Likewise.
467 (set_cpu_arch): Likewise.
468 (md_assemble): Likewise.
469 (optimize_imm): Likewise.
470 (match_template): Likewise.
471 (process_suffix): Likewise.
472 (update_imm): Likewise.
473 (process_drex): Likewise.
474 (process_operands): Likewise.
475 (build_modrm_byte): Likewise.
476 (i386_immediate): Likewise.
477 (i386_displacement): Likewise.
478 (i386_att_operand): Likewise.
479 (parse_real_register): Likewise.
480 (md_parse_option): Likewise.
481 (i386_target_format): Likewise.
483 2008-02-14 Dimitry Andric <dimitry@andric.com>
486 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
487 pointer past the comma after parsing a floating point register
490 2008-02-14 Hakan Ardo <hakan@debian.org>
493 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
495 (avr_operand): Disallow post-increment addressing in the lpm
496 instruction for the attiny26.
498 2008-02-13 Jan Beulich <jbeulich@novell.com>
500 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
501 if not in Intel mode.
502 (i386_intel_operand): Ignore segment overrides in immediate and
504 (intel_e11): Range-check i.mem_operands before use as array
505 index. Filter out FLAT for uses other than as segment override.
506 (intel_get_token): Remove broken promotion of "FLAT:" to mean
509 2008-02-13 Jan Beulich <jbeulich@novell.com>
511 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
513 2008-02-13 Jan Beulich <jbeulich@novell.com>
515 * config/tc-i386.c (allow_pseudo_reg): New.
516 (parse_real_register): Check for NULL just once. Allow all
517 register table entries when allow_pseudo_reg is non-zero.
518 Don't allow any registers without type when allow_pseudo_reg
520 (tc_x86_regname_to_dw2regnum): Replace with ...
521 (tc_x86_parse_to_dw2regnum): ... this.
522 (tc_x86_frame_initial_instructions): Adjust for above change.
523 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
524 (tc_parse_to_dw2regnum): New.
525 (tc_x86_regname_to_dw2regnum): Replace with ...
526 (tc_x86_parse_to_dw2regnum): ... this.
527 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
528 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
531 2008-02-12 Nick Clifton <nickc@redhat.com>
533 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
535 (tic4x_insn_add): Likewise.
536 (md_begin): Drop cast that was discarding a const qualifier.
537 * config/tc-d30v.c (get_reloc): Add const qualifier to op
539 (build_insn): Drop cast that was discarding a const qualifier.
541 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
543 * config/tc-i386.c (cpu_arch): Add .xsave.
544 (md_show_usage): Add .xsave.
546 * doc/c-i386.texi: Add xsave to -march=.
548 2008-02-07 Alan Modra <amodra@bigpond.net.au>
550 * read.c (s_weakref): Don't pass unadorned NULL to concat.
551 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
553 2008-02-05 Sterling Augustine <sterling@tensilica.com>
555 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
556 checks into assertions. When relaxation produces an operation that
557 does not fit in the current FLIX instruction, make sure that the
558 operation is relaxed as needed to account for being placed following
559 the current instruction.
561 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
564 * configure: Regenerated.
566 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
568 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
570 2008-01-31 Marc Gauthier <marc@tensilica.com>
572 * configure.tgt (xtensa*-*-*): Recognize processor variants.
574 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
576 * read.c: (emit_expr): Correct for mingw use of printf size
579 2008-01-24 Bob Wilson <bob.wilson@acm.org>
581 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
582 can only be encoded in FLIX instructions but are not specified as such.
583 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
586 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
588 * NEWS: Mention new command line options for x86 targets.
590 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
592 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
594 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
596 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
598 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
600 * config/tc-i386.c (md_show_usage): Show more processors for
603 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
605 * config/tc-i386.c (i386_target_format): Remove cpummx2.
607 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
609 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
610 (XXX_MNEM_SUFFIX): Likewise.
611 (END_OF_INSN): Likewise.
612 (templates): Likewise.
613 (modrm_byte): Likewise.
614 (rex_byte): Likewise.
615 (DREX_XXX): Likewise.
616 (drex_byte): Likewise.
617 (sib_byte): Likewise.
618 (processor_type): Likewise.
619 (arch_entry): Likewise.
620 (cpu_sub_arch_name): Remove const.
621 (cpu_arch): Add .vmx and .smx.
622 (set_cpu_arch): Append cpu_sub_arch_name.
623 (md_parse_option): Support -march=CPU[,+EXTENSION...].
624 (md_show_usage): Updated.
626 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
627 (XXX_MNEM_SUFFIX): Likewise.
628 (END_OF_INSN): Likewise.
629 (templates): Likewise.
630 (modrm_byte): Likewise.
631 (rex_byte): Likewise.
632 (DREX_XXX): Likewise.
633 (drex_byte): Likewise.
634 (sib_byte): Likewise.
635 (processor_type): Likewise.
636 (arch_entry): Likewise.
638 * doc/as.texinfo: Update i386 -march option.
640 * doc/c-i386.texi: Update -march= for ISA.
642 2008-01-18 Bob Wilson <bob.wilson@acm.org>
644 * config/tc-xtensa.c (xtensa_leb128): New function.
645 (md_pseudo_table): Use it for sleb128 and uleb128.
646 (is_leb128_expr): New internal flag.
647 (xtensa_symbol_new_hook): Check new flag.
649 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
651 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
652 at90usb82, at90usb162.
653 * doc/c-avr.texi: Change architecture grouping for at90usb82,
655 These changes support the new avr35 architecture group in gcc.
657 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
659 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
660 suffix for AT&T syntax.
662 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
664 * config/tc-i386.c (match_reg_size): New.
665 (match_mem_size): Likewise.
666 (operand_size_match): Likewise.
667 (operand_type_match): Also clear all size fields.
668 (match_template): Skip Intel syntax when in AT&T syntax.
669 Call operand_size_match to check operand size.
670 (i386_att_operand): Set the mem field to 1 for memory
672 (i386_intel_operand): Likewise.
674 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
677 * config/tc-i386.c (_i386_insn): Update comment.
678 (operand_type_match): Also clear unspecified.
679 (operand_type_register_match): Likewise.
680 (parse_operands): Initialize unspecified.
681 (i386_intel_operand): Likewise.
682 (match_template): Check memory and accumulator operand size.
683 (i386_att_operand): Clear unspecified on register operand.
684 (intel_e11): Likewise.
685 (intel_e09): Set operand size and clean unspecified for
688 2008-01-11 Andreas Schwab <schwab@suse.de>
690 * read.c (s_space): Declare `repeat' as offsetT.
692 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
694 * config/tc-i386.c (match_template): Check processor support
697 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
699 * config/tc-i386.c (match_template): Continue if processor
702 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
704 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
705 unwind personality function address.
707 2008-01-09 Bob Wilson <bob.wilson@acm.org>
709 * dwarf2dbg.c (out_sleb128): Delete.
710 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
711 (out_fixed_inc_line_addr): Delete.
712 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
713 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
714 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
715 (process_entries): Remove calls to out_fixed_inc_line_addr. When
716 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
717 * read.h (emit_expr_fix): New prototype.
718 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
719 (emit_expr_fix): New.
721 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
723 * config/tc-i386.c (match_template): Check register size
724 only when size of operands can be encoded the canonical way.
726 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
728 * config/tc-i386.c (i386_operand): Renamed to ...
729 (i386_att_operand): This.
730 (parse_operands): Updated.
732 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
734 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
736 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
738 (md_assemble): Remove Intel mode workaround.
739 (match_template): Check support for old gcc, AT&T mnemonic
741 (md_parse_option): Don't set intel_mnemonic to 0 for
744 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
746 * config/tc-i386.h: Update copyright to 2008.
748 2008-01-04 Nick Clifton <nickc@redhat.com>
750 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
751 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
753 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
755 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
758 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
760 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
761 (cpu_flags_not): Likewise.
762 (cpu_flags_match): Updated to check 64bit and arch.
763 (set_code_flag): Remove cpu_arch_flags_not.
764 (set_16bit_gcc_code_flag): Likewise.
765 (set_cpu_arch): Likewise.
766 (md_begin): Likewise.
767 (parse_insn): Call cpu_flags_match to check 64bit and arch.
768 (match_template): Likewise.
770 2008-01-03 Jakub Jelinek <jakub@redhat.com>
772 * config/tc-i386.c (process_drex): Initialize modrm_reg and
773 modrm_regmem to 0 instead of None.
775 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
777 * config/tc-i386.c (match_template): Use the xmmword field
780 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
782 * config/tc-i386.c (process_suffix): Fix a typo.
784 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
787 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
788 Check memory size in Intel mode.
789 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
790 (intel_e09): Likewise.
792 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
794 2008-01-02 Catherine Moore <clm@codesourcery.com>
796 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
798 For older changes see ChangeLog-2007
804 version-control: never