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