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