* ld-scripts/include.exp: Don't run test for aout.
[binutils.git] / gas / ChangeLog
blobb8016c6c430e7ece7c681b15eda5817b283698ac
1 2008-07-24  Jie Zhang  <jie.zhang@analog.com>
3         * config/bfin-parse.y (asm_1): Error if plain symbol is used
4         as load/store offset.
6 2008-07-22  Chao-ying Fu  <fu@mips.com>
8         * config/tc-mips.c (mips_ip): Reset s to argsStart.
10 2008-07-22  Jie Zhang  <jie.zhang@analog.com>
12         * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
14 2008-07-21  DJ Delorie  <dj@redhat.com>
16         * config/tc-h8300.c (fix_operand_size): Use the default size
17         specified by the .lbranch/.sbranch pseudos.
19 2008-07-18  DJ Delorie  <dj@redhat.com>
21         * config/tc-m32c.h (H_TICK_HEX): Define.
22         * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
23         (md_longopts): Add support for it.
24         (md_parse_option): Likewise.
25         * doc/as.texinfo (Overview): Add new m32c options.
26         * doc/c-m32c.texi (M32C-Modifiers): Likewise
28         * as.h: (enable_h_tick_hex): New.
29         * app.c (enable_h_tick_hex): New.
30         (LEX_IS_H): New.
31         (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
32         (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
33         style hex constants and convert the input stream to 0x00 style.
34         (do_scrub_chars): If a 'X style character constant is found after
35         a symbol character (like you're or X'00), warn the user.
37 2008-07-10  Richard Sandiford  <rdsandiford@googlemail.com>
39         * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
40         (mips_fix_adjustable): Likewise.
41         (mips_frob_file_after_relocs): Likewise.
43 2008-07-08  Nathan Sidwell  <nathan@codesourcery.com>
45         * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
46         about overriding an earlier setting.
48 2008-07-07  Adam Nemet  <anemet@caviumnetworks.com>
50         * config/tc-mips.c (NO_ISA_COP): New macro.
51         (COP_INSN): New macro.
52         (is_opcode_valid): Use them.
53         (macro) <ld_st>: Use them.  Don't accept coprocessor load store
54         insns based on the ISA if CPU is NO_ISA_COP.
55         <copz>: Likewise for coprocessor operations.
57 2008-07-07  Paul Brook  <paul@codesourcery.com>
59         * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
60         relocations. 
62 2008-07-07  Ralf Corsépius  <ralf.corsepius@rtems.org>
64         * configure.tgt: Add bfin-*-rtems*.
66 2008-07-04  Alan Modra  <amodra@bigpond.net.au>
68         * config/tc-spu.c (md_apply_fix): Handle fully resolved
69         BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
71 2008-06-25  Peter Bergner  <bergner@vnet.ibm.com>
73         * config/tc-ppc.c (parse_cpu): Handle -m464.
74         (md_show_usage): Likewise.
76 2008-06-24  Eric B. Weddington  <eric.weddington@atmel.com>
78         Add support for ATtiny13A.
79         * config/tc-avr.c (mcu_types): Add attiny13a.
80         * doc/c-avr.texi: Likewise.
82 2008-06-24  Bob Wilson  <bob.wilson@acm.org>
83             Alan Modra  <amodra@bigpond.net.au>
85         * write.c (relax_segment <rs_org>): Include current stretch
86         value when calculating whether .org is backwards.
88 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
90         * configure: Regenerate.
92 2008-06-17  Nick Clifton  <nickc@redhat.com>
94         * app.c (do_scrub_chars): Do not UNGET an EOF value.
96 2008-06-16  Hans-Peter Nilsson  <hp@bitrange.com>
98         PR gas/6607
99         * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
100         text_section.  Do the "stepping backwards" test for text_section
101         using unsigned operands.
103 2008-06-13  Peter Bergner  <bergner@vnet.ibm.com>
105         * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
106         (ppc_insert_operand): Likewise.
107         (ppc_machine): Likewise.
108         * config/tc-ppc.h: #include "opcode/ppc.h"
109         (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
110         (ppc_cpu): Update extern decl.
112 2008-06-12  Adam Nemet  <anemet@caviumnetworks.com>
114         * config/tc-mips.c (validate_mips_insn): Handle field descriptors
115         +x, +X, +p, +P, +s, +S.
116         (mips_ip): Likewise.
118         * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
119         (mips_ip): Likewise.
120         (macro_build): Likewise.
121         (CPU_HAS_SEQ): New macro.
122         (macro2) <M_SEQ_I, M_SNE_I>: Use it.  Emit seq/sne and seqi/snei.
124 2008-06-09  Eric B. Weddington  <eric.weddington@atmel.com>
126         * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
127         * doc/c-avr.texi: Likewise.
129 2008-06-04  Nick Clifton  <nickc@redhat.com>
131         * app.c (do_scrub_chars): Do not UNGET an EOF value.
133 2008-06-03  H.J. Lu  <hongjiu.lu@intel.com>
135         * config/tc-i386.c (set_sse_check): New.
136         (md_pseudo_table): Add "sse_check".
138 2008-06-03  Paul Brook  <paul@codesourcery.com>
140         * config/tc-arm.c (do_t_rbit): Populate both rm fields.
142 2008-05-30  Nick Clifton  <nickc@redhat.com>
144         PR 5523
145         * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
146         relocs here.
148 2008-05-29  Maxim Kuvyrkov  <maxim@codesourcery.com>
150         * config/tc-mips.c (mips_cpu_info_table): Move records for
151         ST Loongson-2E/2F processors to a better place.
153 2008-05-23  H.J. Lu  <hongjiu.lu@intel.com>
155         PR gas/6518
156         * config/tc-i386.c (match_template): Report ambiguous operand
157         size, not invalid suffix when there is no match in Intel
158         syntax.
160 2008-05-22  Paul Brook  <paul@codesourcery.com>
162         * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
164 2008-05-21  I-Jui Sung  <ijsung@gmail.com>
166         * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
167         compatible cores: fa526, fa626, fa626te, fa726te.
168         * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
169         fa726te} options.
171 2008-05-14  Alan Modra  <amodra@bigpond.net.au>
173         * Makefile.am: Run "make dep-am".
174         * Makefile.in: Regenerate.
175         * doc/Makefile.in: Regenerate.
176         * po/POTFILES.in: Regenerate.
178 2008-05-09  Catherine Moore  <clm@codesourcery.com>
180         * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
181         with non-MIPS16 relocs.
183 2008-05-09  Chao-ying Fu  <fu@mips.com>
185         * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
186         case that some characters append at the end of the name.
187         (mips_ip): Likewise.
188         (s_change_sec): Likewise.
189         (md_section_align): Likewise.
191 2008-05-07  Bob Wilson  <bob.wilson@acm.org>
193         * config/tc-xtensa.c (xtensa_create_property_segments): Use
194         xtensa_make_property_section instead of xtensa_get_property_section.
195         (xtensa_create_xproperty_segments): Likewise.
197 2008-05-02  H.J. Lu  <hongjiu.lu@intel.com>
199         * NEWS: Mention XSAVE, EPT and MOVBE.
201         * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
202         (md_show_usage): Add .movbe and .ept.
204         * doc/c-i386.texi: Add movbe and ept to -march=.  Document
205         .movbe and .ept.
207 2008-04-29  David S. Miller  <davem@davemloft.net>
209         * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
211 2008-04-28  Adam Nemet  <anemet@caviumnetworks.com>
213         * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
214         New statics.
215         (OPTION_ELF_BASE): Make room for new option macros.
216         (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
217         OPTION_DOUBLE_FLOAT): New option macros.
218         (md_longopts): Add msoft-float, mhard-float, msingle-float and
219         mdouble-float.
220         (md_parse_option): Handle OPTION_SINGLE_FLOAT,
221         OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
222         (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
223         and -mdouble-float.
224         (struct mips_set_options): New fields soft_float and single_float.
225         (mips_opts): Initialized them.  Add comment for each field
226         initializer.
227         (mips_after_parse_args): Set them based on file_mips_soft_float
228         and file_mips_single_float.
229         (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
230         `.set singlefloat' and `.set doublefloat'.
231         (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
232         Handle single-float and soft-float instructions here.
233         (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
234         (is_opcode_valid_16): New function.
235         (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
236         (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
237         M_S_DOB>: Remove special-casing of r4650.
238         * doc/c-mips.texi (-march=): Add Octeon.
239         (MIPS Opts): Document -msoft-float and -mhard-float.  Document
240         -msingle-float and -mdouble-float.
241         (MIPS floating-point): New section.  Document `.set softfloat' and
242         `.set hardfloat'.  Document `.set singlefloat' and `.set
243         doublefloat'.
245 2008-04-25  David S. Miller  <davem@davemloft.net>
247         * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
248         %asr aliases.
250         * doc/c-sparc.texi: Consistently refer to architecture 'versions',
251         rather than occaisionally 'levels'.  Consistently refer to Sun's
252         UNIX variant as SunOS, every version of Solaris is also SunOS.
253         Document new 'softint_clear' and 'softint_set' aliases.  Clarify
254         which architecture versions support '%dcr', '%cq', and '%gl'. Add
255         section on 32-bit/64-bit opcode translations.
257 2008-04-23  Mike Frysinger  <vapier@gentoo.org>
259         * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
260         (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
261         (obj-fdpicelf.o): Define.
262         * Makefile.in: Regenerate.
263         * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
264         (bfin-*-*): Delete.
265         (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
266         (bfin-*-uclinux*): New; set fmt to elf and em to linux.
267         * config/obj-fdpicelf.c: New.
268         * config/obj-fdpicelf.h: Likewise.
269         * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
270         the OBJ_FDPIC_ELF define.
271         (OPTION_NOPIC): Define.
272         (md_longopts): Add mnopic and mno-fdpic.
273         (md_parse_option): Handle OPTION_NOPIC.
275 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
277         * aclocal.m4: Regenerate.
278         * configure: Regenerate.
280 2008-04-23  David S. Miller  <davem@davemloft.net>
282         * config/tc-sparc.c (v9a_asr_table): Add missing
283         'stick' and 'stick_cmpr', and document ordering rules
284         of table.
285         (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
286         BFD_RELOC_SPARC_PC10.
287         * doc/c-sparc.texi: New section on Sparc constants.
288         Add documentation for %stick and %stick_cmpr.
290 2008-04-22  David S. Miller  <davem@davemloft.net>
292         * config/obj-elf.c (obj_elf_section_type): Add prototype
293         before obj_elf_section_word and add 'warn' arg.
294         (obj_elf_section_word): Add type pointer arg, and if no #SECTION
295         is matched, try checking for #SECTION_TYPE.
296         (obj_elf_section): Adjust for new args.
297         (obj_elf_type_name): New function.
298         (obj_elf_type): Call it, and accept STT_foo number strings
299         in .type statements as output by SunPRO compiler.
301 2008-04-22  H.J. Lu  <hongjiu.lu@intel.com>
303         * config/tc-i386.c (md_assemble): Don't check SSE instructions
304         if noavx is 0.
306 2008-04-18  David S. Miller  <davem@davemloft.net>
308         * doc/c-sparc.texi: Add syntax section.
310 2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>
312         * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
313         REG and NDS for instructions with immediate operand.
315 2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>
317         * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
318         FMA.
320 2008-04-16  David S. Miller  <davem@davemloft.net>
322         * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
323         and relocation generation.
324         (tc_gen_reloc): Likewise.
326 2008-04-15  Andrew Stubbs  <andrew.stubbs@st.com>
328         * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
329         relocations are properly aligned, and not negative.
331 2008-04-15  Khem Raj  <kraj@mvista.com>
333         * doc/tc-arm.texi: Fix fnstart and fnend directive names.
335 2008-04-14  Edmar Wienskoski  <edmar@freescale.com>
337         * config/tc-ppc.c (parse_cpu): Handle "e500mc".  Extend "e500" to
338         accept e500mc instructions.
339         (md_show_usage): Document -me500mc.
341 2008-04-11  Nick Clifton  <nickc@redhat.com>
343         * listing.c (print_timestamp): Use localtime rather than
344         localtime_r since not all build environments provide the latter.
346 2008-04-10  H.J. Lu  <hongjiu.lu@intel.com>
348         * NEWS: Mention -msse-check=[none|error|warning].
350         * config/tc-i386.c (sse_check): New.
351         (OPTION_MSSE_CHECK): Likewise.
352         (md_assemble): Check SSE instructions if needed.
353         (md_longopts): Add -msse-check.
354         (md_parse_option): Handle OPTION_MSSE_CHECK.
355         (md_show_usage): Show -msse-check=[none|error|warning].
357         * doc/c-i386.texi: Document -msse-check=[none|error|warning].
359 2008-04-10  Santiago Urueña  <suruena@gmail.com>
361         * listing.c: Add -ag listing flag to show general information in
362         listings such as gas version, passed options, and time stamp.
363         (listing_general_info): New function.
364         (print_options): New function.
365         (print_single_option): New function.
366         (print_timestamp): New function.
367         (MAX_DATELEN): Define.
368         (listing_print): Add call to listing_general_info.
369         * listing.h (LISTING_GENERAL): Define.
370         (listing_print): Add new parameter.
371         * as.c (show_usage): Print new switch.
372         (parse_args): Parse new switch.
373         (main): Pass command line on to listing_print.
374         * NEWS: Mention this new feature.
375         * doc/as.texinfo: Document the new sub-option.
377 2008-04-08  Alan Modra  <amodra@bigpond.net.au>
379         * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
380         call.  Delete out of date comment.
381         (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
382         (dwarf2_emit_label): Don't emit unless there has been a previous
383         .file or we are outputting assembler generated debug.
384         dwarf2_consume_line_info after emitting line info, not before.
385         (out_debug_info): Simplify files_in_use test.
387 2008-04-07  H.J. Lu  <hongjiu.lu@intel.com>
389         * config/tc-i386.c (parse_real_register): Return AVX register
390         only if AVX is enabled.
392 2008-04-07  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
394         PR gas/6043
395         * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
396         md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
398 2008-04-04  Adrian Bunk  <bunk@stusta.de>
399             Bob Wilson  <bob.wilson@acm.org>
401         * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
402         call to decode_reloc.
404 2008-04-04  H.J. Lu  <hongjiu.lu@intel.com>
406         * NEWS: Mention XSAVE.  Change CLMUL to PCLMUL.
408         * config/tc-i386.c (cpu_arch): Add .pclmul.
409         (md_show_usage): Replace clmul with pclmul.
410         * doc/c-i386.texi: Likewise.
412 2008-04-03  H.J. Lu  <hongjiu.lu@intel.com>
414         * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
416         * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
417         Document -msse2avx, .avx, .aes, .clmul and .fma.
419         * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
420         (vex_prefix): Likewise.
421         (sse2avx): Likewise.
422         (CPU_FLAGS_ARCH_MATCH): Likewise.
423         (CPU_FLAGS_64BIT_MATCH): Likewise.
424         (CPU_FLAGS_32BIT_MATCH): Likewise.
425         (CPU_FLAGS_PERFECT_MATCH): Likewise.
426         (regymm): Likewise.
427         (vex_imm4): Likewise.
428         (fits_in_imm4): Likewise.
429         (build_vex_prefix): Likewise.
430         (VEX_check_operands): Likewise.
431         (bad_implicit_operand): Likewise.
432         (OPTION_MSSE2AVX): Likewise.
433         (T_YMMWORD): Likewise.
434         (_i386_insn): Add vex.
435         (cpu_arch): Add .avx, .aes, .clmul and .fma.
436         (cpu_flags_match): Changed to take a pointer to const template.
437         Enable encoding SSE instructions with VEX prefix for -msse2avx.
438         (match_mem_size): Also check ymmword.
439         (operand_type_match): Clear ymmword.
440         (md_begin): Allow '_' in mnemonic.
441         (type_names): Add OPERAND_TYPE_VEX_IMM4.
442         (process_immext): Update assert.
443         (md_assemble): Don't call process_immext if sse2avx and immext
444         are true.  Call build_vex_prefix if vex is true.
445         (parse_insn): Updated for cpu_flags_match.
446         (swap_operands): Handle 5 operands.
447         (match_template): Handle 5 operands. Updated for cpu_flags_match.
448         Check regymm.  Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
449         (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
450         (check_byte_reg): Check regymm.
451         (process_operands): Duplicate the destination register for
452         -msse2avx if needed.
453         (build_modrm_byte): Updated for instructions with VEX encoding.
454         (output_insn): Output VEX prefix if needed.
455         (md_longopts): Add msse2avx.
456         (md_parse_option): Handle OPTION_MSSE2AVX.
457         (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
458         (intel_e09): Support YMMWORD.
459         (intel_e11): Likewise.
460         (intel_get_token): Likewise.
462 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
464         * config/tc-avr.c (mcu_types): Add attiny167.
465         * doc/c-avr.texi: Likewise.
467 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
469         * config/tc-avr.c (mcu_types): Add atmega32u4.
470         * doc/c-avr.texi: Likewise.
472 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
474         * config/tc-avr.c (mcu_types): Add atmega32c1.
475         * doc/c-avr.texi: Likewise.
477 2008-03-28  Paul Brook  <paul@codesourcery.com>
479         * config/tc-arm.c (parse_neon_mov): Parse register before immediate
480         to avoid spurious symbols.
482 2008-03-28  Nathan Sidwell  <nathan@codesourcery.com>
484         * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
485         as_bad_where.
487 2008-03-27  Eric B. Weddington  <eric.weddington@atmel.com>
489         * config/tc-avr.c (mcu_types): Add atmega32m1.
490         * doc/c-avr.texi: Likewise.
492 2008-03-27  Ineiev  <ineiev@yahoo.co.uk>
494         * config/tc-arm.c (do_neon_cvt): Move variable declarations to
495         start of block.
496         (do_neon_ext): Fix sign of comparison.
498 2008-03-26  Bernd Schmidt  <bernd.schmidt@analog.com>
500         From Jie Zhang  <jie.zhang@analog.com>
501         * config/bfin-parse.y (asm_1): Check AREGS in comparison
502         instructions. And call yyerror when comparing PREG with
503         DREG.
504         (check_macfunc_option): New.
505         (check_macfuncs): Check option by calling check_macfunc_option.
506         Fix comparison always true warnings.  Both scalar instructions
507         of vector instruction must share the same mode option.  Only allow
508         option mode at the end of the second instruction of the vector.
509         (asm_1): Check option by calling check_macfunc_option.
511         * config/bfin-parse.y (check_macfunc_option): Allow (IU)
512         option for multiply and multiply-accumulate to data register
513         instruction.
514         (check_macfuncs): Don't check if accumulator matches the data register
515         here.
516         (assign_macfunc): Check if accumulator matches the
517         data register in each rule that moves to the data
518         register.
520         * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
521         generated for LOOP_BEGIN and LOOP_END instructions.
522         (bfin_gen_loop): Likewise.
524 2008-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>
526         * config/tc-s390.c (md_parse_option): z10 option added.
528 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
530         * aclocal.m4: Regenerate.
531         * configure: Likewise.
532         * Makefile.in: Likewise.
533         * doc/Makefile.in: Likewise.
535 2008-03-17  Adrian Bunk  <bunk@stusta.de>
537         PR 5946
538         * config/tc-hppa.c (is_same_frag): Delete.
540 2008-03-14  Sterling Augustine  <sterling@tensilica.com>
542         * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
543         RELAX_LOOP_END_ADD_NOP.
545 2008-03-13  Evandro Menezes  <evandro@yahoo.com>
547         PR gas/5895
548         * read.c (s_mexit): Warn if attempting to exit a macro when not
549         inside a macro definition.
551 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
553         * Makefile.am: Run "make dep-am".
554         * Makefile.in: Regenerate.
555         * configure: Regenerate.
557 2008-03-09  Paul Brook  <paul@codesourcery.com>
559         * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
560         * doc/c-arm.texi: Add cortex-a9.
562 2008-03-09  Paul Brook  <paul@codesourcery.com>
564         * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
565         (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
566         (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
567         (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
568         * doc/c-arm.texi: Document new ARM FPU variants.
570 2008-03-07  Paul Brook  <paul@codesourcery.com>
572         * config/tc-arm.c (md_apply_fix): Use correct offset range.
574 2008-03-07  Alan Modra  <amodra@bigpond.net.au>
576         * config/tc-ppc.c (ppc_setup_opcodes): Tidy.  Add code to test
577         for strict ordering of powerpc_opcodes, but disable for now.
579 2008-03-04  Paul Brook  <paul@codesourcery.com>
581         * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
582         (arm_ext_v7m): Rename...
583         (arm_ext_m): ... to this.  Include v6-M.
584         (do_t_add_sub): Allow narrow low-reg non flag setting adds.
585         (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
586         (md_assemble): Allow wide msr instructions.
587         (insns): Add classifications for v6-m instructions.
588         (arm_cpu_option_table): Add cortex-m1.
589         (arm_arch_option_table): Add armv6-m.
590         (cpu_arch): Add ARM_ARCH_V6M.  Fix numbering of other v6 variants.
592 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
593             Bob Wilson  <bob.wilson@acm.org>
595         * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
596         (md_begin): Initialize it.
597         (resources_conflict): Use it.
599 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
601         * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
603 2008-03-03  Denys Vlasenko <vda.linux@googlemail.com>
604             H.J. Lu  <hongjiu.lu@intel.com>
606         PR gas/5543
607         * read.c (pseudo_set): Don't allow global register symbol.
609         * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
610         global.
612 2008-03-03  H.J. Lu  <hongjiu.lu@intel.com>
614         PR gas/5543
615         * write.c (write_object_file): Don't allow symbols which were
616         equated to register.  Stop if there is an error.
618 2008-03-01  Alan Modra  <amodra@bigpond.net.au>
620         * config/tc-ppc.h (struct _ppc_fix_extra): New.
621         (ppc_cpu): Declare.
622         (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
623         * config/tc-ppc.c (ppu_cpu): Make global.
624         (ppc_insert_operand): Add ppu_cpu parameter.
625         (md_assemble): Adjust for above change.
626         (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
628 2008-02-22  Nick Clifton  <nickc@redhat.com>
630         * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
631         targeted ARM ports, otherwise just skip generating the reloc.
633 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
635         * doc/c-i386.texi: Update -march= and .arch.
637 2008-02-18  Nick Clifton  <nickc@redhat.com>
639         * config/tc-mn10300.c (has_known_symbol_location): New function.
640         Do not regard weak symbols as having a known location.
641         (md_estimate_size_before_relax): Use new function.
642         (md_pcrel_from): Do not compute a pcrel against a weak symbol.
644 2008-02-18  Jan Beulich  <jbeulich@novell.com>
646         * config/tc-i386.c (match_template): Disallow 'l' suffix when
647         currently selected CPU has no 32-bit support.
648         (parse_real_register): Do not return registers not available on
649         currently selected CPU.
651 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
653         * config/tc-i386.c (process_immext): Fix format.
655 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
657         * config/tc-i386.c (inoutportreg): New.
658         (process_immext): New.
659         (md_assemble): Use it.
660         (update_imm): Use imm16 and imm32s.
661         (i386_att_operand): Use inoutportreg.
663 2008-02-14  H.J. Lu  <hongjiu.lu@intel.com>
665         * config/tc-i386.c (operand_type_all_zero): New.
666         (operand_type_set): Likewise.
667         (operand_type_equal): Likewise.
668         (cpu_flags_all_zero): Likewise.
669         (cpu_flags_set): Likewise.
670         (cpu_flags_equal): Likewise.
671         (UINTS_ALL_ZERO): Removed.
672         (UINTS_SET): Likewise.
673         (UINTS_CLEAR): Likewise.
674         (UINTS_EQUAL): Likewise.
675         (cpu_flags_match): Updated.
676         (smallest_imm_type): Likewise.
677         (set_cpu_arch): Likewise.
678         (md_assemble): Likewise.
679         (optimize_imm): Likewise.
680         (match_template): Likewise.
681         (process_suffix): Likewise.
682         (update_imm): Likewise.
683         (process_drex): Likewise.
684         (process_operands): Likewise.
685         (build_modrm_byte): Likewise.
686         (i386_immediate): Likewise.
687         (i386_displacement): Likewise.
688         (i386_att_operand): Likewise.
689         (parse_real_register): Likewise.
690         (md_parse_option): Likewise.
691         (i386_target_format): Likewise.
693 2008-02-14  Dimitry Andric  <dimitry@andric.com>
695         PR gas/5712
696         * config/tc-arm.c (s_arm_unwind_save): Advance the input line
697         pointer past the comma after parsing a floating point register
698         name.
700 2008-02-14  Hakan Ardo  <hakan@debian.org>
702         PR gas/2626
703         * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
704         to AVR_ISA_2xxe.
705         (avr_operand): Disallow post-increment addressing in the lpm
706         instruction for the attiny26.
708 2008-02-13  Jan Beulich  <jbeulich@novell.com>
710         * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
711         if not in Intel mode.
712         (i386_intel_operand): Ignore segment overrides in immediate and
713         offset operands.
714         (intel_e11): Range-check i.mem_operands before use as array
715         index. Filter out FLAT for uses other than as segment override.
716         (intel_get_token): Remove broken promotion of "FLAT:" to mean
717         "offset FLAT:".
719 2008-02-13  Jan Beulich  <jbeulich@novell.com>
721         * config/tc-i386.c (intel_e09): Also special-case 'bound'.
723 2008-02-13  Jan Beulich  <jbeulich@novell.com>
725         * config/tc-i386.c (allow_pseudo_reg): New.
726         (parse_real_register): Check for NULL just once. Allow all
727         register table entries when allow_pseudo_reg is non-zero.
728         Don't allow any registers without type when allow_pseudo_reg
729         is zero.
730         (tc_x86_regname_to_dw2regnum): Replace with ...
731         (tc_x86_parse_to_dw2regnum): ... this.
732         (tc_x86_frame_initial_instructions): Adjust for above change.
733         * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
734         (tc_parse_to_dw2regnum): New.
735         (tc_x86_regname_to_dw2regnum): Replace with ...
736         (tc_x86_parse_to_dw2regnum): ... this.
737         * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
738         (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
739         error handling.
741 2008-02-12  Nick Clifton  <nickc@redhat.com>
743         * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
744         argument.
745         (tic4x_insn_add): Likewise.
746         (md_begin): Drop cast that was discarding a const qualifier.
747         * config/tc-d30v.c (get_reloc): Add const qualifier to op
748         argument.
749         (build_insn): Drop cast that was discarding a const qualifier.
751 2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>
753         * config/tc-i386.c (cpu_arch): Add .xsave.
754         (md_show_usage): Add .xsave.
756         * doc/c-i386.texi: Add xsave to -march=.
758 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
760         * read.c (s_weakref): Don't pass unadorned NULL to concat.
761         * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
763 2008-02-05  Sterling Augustine  <sterling@tensilica.com>
765         * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
766         checks into assertions.  When relaxation produces an operation that
767         does not fit in the current FLIX instruction, make sure that the
768         operation is relaxed as needed to account for being placed following
769         the current instruction.
771 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
773         PR 5715
774         * configure: Regenerated.
776 2008-02-04  Adam Nemet  <anemet@caviumnetworks.com>
778         * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
780 2008-01-31  Marc Gauthier  <marc@tensilica.com>
782         * configure.tgt (xtensa*-*-*): Recognize processor variants.
784 2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
786         * read.c: (emit_expr): Correct for mingw use of printf size
787         specifier.
789 2008-01-24  Bob Wilson  <bob.wilson@acm.org>
791         * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
792         can only be encoded in FLIX instructions but are not specified as such.
793         (Xtensa Automatic Alignment): Remove obsolete comment about debugging
794         labels.
796 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
798         * NEWS: Mention new command line options for x86 targets.
800 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
802         * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
804 2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>
806         * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
808 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
810         * config/tc-i386.c (md_show_usage): Show more processors for
811         -march=/-mtune=.
813 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
815         * config/tc-i386.c (i386_target_format): Remove cpummx2.
817 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
819         * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
820         (XXX_MNEM_SUFFIX): Likewise.
821         (END_OF_INSN): Likewise.
822         (templates): Likewise.
823         (modrm_byte): Likewise.
824         (rex_byte): Likewise.
825         (DREX_XXX): Likewise.
826         (drex_byte): Likewise.
827         (sib_byte): Likewise.
828         (processor_type): Likewise.
829         (arch_entry): Likewise.
830         (cpu_sub_arch_name): Remove const.
831         (cpu_arch): Add .vmx and .smx.
832         (set_cpu_arch): Append cpu_sub_arch_name.
833         (md_parse_option): Support -march=CPU[,+EXTENSION...].
834         (md_show_usage): Updated.
836         * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
837         (XXX_MNEM_SUFFIX): Likewise.
838         (END_OF_INSN): Likewise.
839         (templates): Likewise.
840         (modrm_byte): Likewise.
841         (rex_byte): Likewise.
842         (DREX_XXX): Likewise.
843         (drex_byte): Likewise.
844         (sib_byte): Likewise.
845         (processor_type): Likewise.
846         (arch_entry): Likewise.
848         * doc/as.texinfo: Update i386 -march option.
850         * doc/c-i386.texi: Update -march= for ISA.
852 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
854         * config/tc-xtensa.c (xtensa_leb128): New function.
855         (md_pseudo_table): Use it for sleb128 and uleb128.
856         (is_leb128_expr): New internal flag.
857         (xtensa_symbol_new_hook): Check new flag.
859 2008-01-16  Eric B. Weddington  <eric.weddington@atmel.com>
861         * config/tc-avr.c (mcu_types): Change opcode set for avr3,
862         at90usb82, at90usb162.
863         * doc/c-avr.texi: Change architecture grouping for at90usb82,
864         at90usb162.
865         These changes support the new avr35 architecture group in gcc.
867 2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>
869         * config/tc-i386.c (md_assemble): Also zap movzx and movsx
870         suffix for AT&T syntax.
872 2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>
874         * config/tc-i386.c (match_reg_size): New.
875         (match_mem_size): Likewise.
876         (operand_size_match): Likewise.
877         (operand_type_match): Also clear all size fields.
878         (match_template): Skip Intel syntax when in AT&T syntax.
879         Call operand_size_match to check operand size.
880         (i386_att_operand): Set the mem field to 1 for memory
881         operand.
882         (i386_intel_operand): Likewise.
884 2008-01-12  H.J. Lu  <hongjiu.lu@intel.com>
886         PR gas/5534
887         * config/tc-i386.c (_i386_insn): Update comment.
888         (operand_type_match): Also clear unspecified.
889         (operand_type_register_match): Likewise.
890         (parse_operands): Initialize unspecified.
891         (i386_intel_operand): Likewise.
892         (match_template): Check memory and accumulator operand size.
893         (i386_att_operand): Clear unspecified on register operand.
894         (intel_e11): Likewise.
895         (intel_e09): Set operand size and clean unspecified for
896         "XXX PTR".
898 2008-01-11  Andreas Schwab  <schwab@suse.de>
900         * read.c (s_space): Declare `repeat' as offsetT.
902 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
904         * config/tc-i386.c (match_template): Check processor support
905         first.
907 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
909         * config/tc-i386.c (match_template): Continue if processor
910         doesn't match.
912 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
914         * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
915         unwind personality function address.
917 2008-01-09  Bob Wilson  <bob.wilson@acm.org>
919         * dwarf2dbg.c (out_sleb128): Delete.
920         (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
921         (out_fixed_inc_line_addr): Delete.
922         (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
923         size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
924         (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
925         (process_entries): Remove calls to out_fixed_inc_line_addr.  When
926         DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
927         * read.h (emit_expr_fix): New prototype.
928         * read.c (emit_expr): Move code to emit_expr_fix and use it here.
929         (emit_expr_fix): New.
931 2008-01-09  H.J. Lu  <hongjiu.lu@intel.com>
933         * config/tc-i386.c (match_template): Check register size
934         only when size of operands can be encoded the canonical way.
936 2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>
938         * config/tc-i386.c (i386_operand): Renamed to ...
939         (i386_att_operand): This.
940         (parse_operands): Updated.
942 2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>
944         * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
946         * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
947         only.
948         (md_assemble): Remove Intel mode workaround.
949         (match_template): Check support for old gcc, AT&T mnemonic
950         and Intel Syntax.
951         (md_parse_option): Don't set intel_mnemonic to 0 for
952         OPTION_MOLD_GCC.
954 2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>
956         * config/tc-i386.h: Update copyright to 2008.
958 2008-01-04  Nick Clifton  <nickc@redhat.com>
960         * config/tc-ppc.c (parse_cpu): Preserve the settings of the
961         PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
963 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
965         * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
966         of SYSV386_COMPAT.
968 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
970         * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
971         (cpu_flags_not): Likewise.
972         (cpu_flags_match): Updated to check 64bit and arch.
973         (set_code_flag): Remove cpu_arch_flags_not.
974         (set_16bit_gcc_code_flag): Likewise.
975         (set_cpu_arch): Likewise.
976         (md_begin): Likewise.
977         (parse_insn): Call cpu_flags_match to check 64bit and arch.
978         (match_template): Likewise.
980 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
982         * config/tc-i386.c (process_drex): Initialize modrm_reg and
983         modrm_regmem to 0 instead of None.
985 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
987         * config/tc-i386.c (match_template): Use the xmmword field
988         instead of no_xsuf.
990 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
992         * config/tc-i386.c (process_suffix): Fix a typo.
994 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
996         PR gas/5534
997         * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
998         Check memory size in Intel mode.
999         (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
1000         (intel_e09): Likewise.
1002         * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
1004 2008-01-02  Catherine Moore  <clm@codesourcery.com>
1006         * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
1008 For older changes see ChangeLog-2007
1010 Local Variables:
1011 mode: change-log
1012 left-margin: 8
1013 fill-column: 74
1014 version-control: never
1015 End: