daily update
[binutils.git] / gas / ChangeLog
bloba06d2090e5860d3789906e1bbe306f650aa70e0c
1 2008-07-04  Alan Modra  <amodra@bigpond.net.au>
3         * config/tc-spu.c (md_apply_fix): Handle fully resolved
4         BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
6 2008-06-25  Peter Bergner  <bergner@vnet.ibm.com>
8         * config/tc-ppc.c (parse_cpu): Handle -m464.
9         (md_show_usage): Likewise.
11 2008-06-24  Eric B. Weddington  <eric.weddington@atmel.com>
13         Add support for ATtiny13A.
14         * config/tc-avr.c (mcu_types): Add attiny13a.
15         * doc/c-avr.texi: Likewise.
17 2008-06-24  Bob Wilson  <bob.wilson@acm.org>
18             Alan Modra  <amodra@bigpond.net.au>
20         * write.c (relax_segment <rs_org>): Include current stretch
21         value when calculating whether .org is backwards.
23 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
25         * configure: Regenerate.
27 2008-06-17  Nick Clifton  <nickc@redhat.com>
29         * app.c (do_scrub_chars): Do not UNGET an EOF value.
31 2008-06-16  Hans-Peter Nilsson  <hp@bitrange.com>
33         PR gas/6607
34         * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
35         text_section.  Do the "stepping backwards" test for text_section
36         using unsigned operands.
38 2008-06-13  Peter Bergner  <bergner@vnet.ibm.com>
40         * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
41         (ppc_insert_operand): Likewise.
42         (ppc_machine): Likewise.
43         * config/tc-ppc.h: #include "opcode/ppc.h"
44         (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
45         (ppc_cpu): Update extern decl.
47 2008-06-12  Adam Nemet  <anemet@caviumnetworks.com>
49         * config/tc-mips.c (validate_mips_insn): Handle field descriptors
50         +x, +X, +p, +P, +s, +S.
51         (mips_ip): Likewise.
53         * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
54         (mips_ip): Likewise.
55         (macro_build): Likewise.
56         (CPU_HAS_SEQ): New macro.
57         (macro2) <M_SEQ_I, M_SNE_I>: Use it.  Emit seq/sne and seqi/snei.
59 2008-06-09  Eric B. Weddington  <eric.weddington@atmel.com>
61         * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
62         * doc/c-avr.texi: Likewise.
64 2008-06-04  Nick Clifton  <nickc@redhat.com>
66         * app.c (do_scrub_chars): Do not UNGET an EOF value.
68 2008-06-03  H.J. Lu  <hongjiu.lu@intel.com>
70         * config/tc-i386.c (set_sse_check): New.
71         (md_pseudo_table): Add "sse_check".
73 2008-06-03  Paul Brook  <paul@codesourcery.com>
75         * config/tc-arm.c (do_t_rbit): Populate both rm fields.
77 2008-05-30  Nick Clifton  <nickc@redhat.com>
79         PR 5523
80         * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
81         relocs here.
83 2008-05-29  Maxim Kuvyrkov  <maxim@codesourcery.com>
85         * config/tc-mips.c (mips_cpu_info_table): Move records for
86         ST Loongson-2E/2F processors to a better place.
88 2008-05-23  H.J. Lu  <hongjiu.lu@intel.com>
90         PR gas/6518
91         * config/tc-i386.c (match_template): Report ambiguous operand
92         size, not invalid suffix when there is no match in Intel
93         syntax.
95 2008-05-22  Paul Brook  <paul@codesourcery.com>
97         * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
99 2008-05-21  I-Jui Sung  <ijsung@gmail.com>
101         * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
102         compatible cores: fa526, fa626, fa626te, fa726te.
103         * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
104         fa726te} options.
106 2008-05-14  Alan Modra  <amodra@bigpond.net.au>
108         * Makefile.am: Run "make dep-am".
109         * Makefile.in: Regenerate.
110         * doc/Makefile.in: Regenerate.
111         * po/POTFILES.in: Regenerate.
113 2008-05-09  Catherine Moore  <clm@codesourcery.com>
115         * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
116         with non-MIPS16 relocs.
118 2008-05-09  Chao-ying Fu  <fu@mips.com>
120         * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
121         case that some characters append at the end of the name.
122         (mips_ip): Likewise.
123         (s_change_sec): Likewise.
124         (md_section_align): Likewise.
126 2008-05-07  Bob Wilson  <bob.wilson@acm.org>
128         * config/tc-xtensa.c (xtensa_create_property_segments): Use
129         xtensa_make_property_section instead of xtensa_get_property_section.
130         (xtensa_create_xproperty_segments): Likewise.
132 2008-05-02  H.J. Lu  <hongjiu.lu@intel.com>
134         * NEWS: Mention XSAVE, EPT and MOVBE.
136         * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
137         (md_show_usage): Add .movbe and .ept.
139         * doc/c-i386.texi: Add movbe and ept to -march=.  Document
140         .movbe and .ept.
142 2008-04-29  David S. Miller  <davem@davemloft.net>
144         * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
146 2008-04-28  Adam Nemet  <anemet@caviumnetworks.com>
148         * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
149         New statics.
150         (OPTION_ELF_BASE): Make room for new option macros.
151         (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
152         OPTION_DOUBLE_FLOAT): New option macros.
153         (md_longopts): Add msoft-float, mhard-float, msingle-float and
154         mdouble-float.
155         (md_parse_option): Handle OPTION_SINGLE_FLOAT,
156         OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
157         (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
158         and -mdouble-float.
159         (struct mips_set_options): New fields soft_float and single_float.
160         (mips_opts): Initialized them.  Add comment for each field
161         initializer.
162         (mips_after_parse_args): Set them based on file_mips_soft_float
163         and file_mips_single_float.
164         (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
165         `.set singlefloat' and `.set doublefloat'.
166         (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
167         Handle single-float and soft-float instructions here.
168         (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
169         (is_opcode_valid_16): New function.
170         (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
171         (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
172         M_S_DOB>: Remove special-casing of r4650.
173         * doc/c-mips.texi (-march=): Add Octeon.
174         (MIPS Opts): Document -msoft-float and -mhard-float.  Document
175         -msingle-float and -mdouble-float.
176         (MIPS floating-point): New section.  Document `.set softfloat' and
177         `.set hardfloat'.  Document `.set singlefloat' and `.set
178         doublefloat'.
180 2008-04-25  David S. Miller  <davem@davemloft.net>
182         * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
183         %asr aliases.
185         * doc/c-sparc.texi: Consistently refer to architecture 'versions',
186         rather than occaisionally 'levels'.  Consistently refer to Sun's
187         UNIX variant as SunOS, every version of Solaris is also SunOS.
188         Document new 'softint_clear' and 'softint_set' aliases.  Clarify
189         which architecture versions support '%dcr', '%cq', and '%gl'. Add
190         section on 32-bit/64-bit opcode translations.
192 2008-04-23  Mike Frysinger  <vapier@gentoo.org>
194         * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
195         (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
196         (obj-fdpicelf.o): Define.
197         * Makefile.in: Regenerate.
198         * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
199         (bfin-*-*): Delete.
200         (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
201         (bfin-*-uclinux*): New; set fmt to elf and em to linux.
202         * config/obj-fdpicelf.c: New.
203         * config/obj-fdpicelf.h: Likewise.
204         * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
205         the OBJ_FDPIC_ELF define.
206         (OPTION_NOPIC): Define.
207         (md_longopts): Add mnopic and mno-fdpic.
208         (md_parse_option): Handle OPTION_NOPIC.
210 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
212         * aclocal.m4: Regenerate.
213         * configure: Regenerate.
215 2008-04-23  David S. Miller  <davem@davemloft.net>
217         * config/tc-sparc.c (v9a_asr_table): Add missing
218         'stick' and 'stick_cmpr', and document ordering rules
219         of table.
220         (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
221         BFD_RELOC_SPARC_PC10.
222         * doc/c-sparc.texi: New section on Sparc constants.
223         Add documentation for %stick and %stick_cmpr.
225 2008-04-22  David S. Miller  <davem@davemloft.net>
227         * config/obj-elf.c (obj_elf_section_type): Add prototype
228         before obj_elf_section_word and add 'warn' arg.
229         (obj_elf_section_word): Add type pointer arg, and if no #SECTION
230         is matched, try checking for #SECTION_TYPE.
231         (obj_elf_section): Adjust for new args.
232         (obj_elf_type_name): New function.
233         (obj_elf_type): Call it, and accept STT_foo number strings
234         in .type statements as output by SunPRO compiler.
236 2008-04-22  H.J. Lu  <hongjiu.lu@intel.com>
238         * config/tc-i386.c (md_assemble): Don't check SSE instructions
239         if noavx is 0.
241 2008-04-18  David S. Miller  <davem@davemloft.net>
243         * doc/c-sparc.texi: Add syntax section.
245 2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>
247         * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
248         REG and NDS for instructions with immediate operand.
250 2008-04-18  H.J. Lu  <hongjiu.lu@intel.com>
252         * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
253         FMA.
255 2008-04-16  David S. Miller  <davem@davemloft.net>
257         * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
258         and relocation generation.
259         (tc_gen_reloc): Likewise.
261 2008-04-15  Andrew Stubbs  <andrew.stubbs@st.com>
263         * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
264         relocations are properly aligned, and not negative.
266 2008-04-15  Khem Raj  <kraj@mvista.com>
268         * doc/tc-arm.texi: Fix fnstart and fnend directive names.
270 2008-04-14  Edmar Wienskoski  <edmar@freescale.com>
272         * config/tc-ppc.c (parse_cpu): Handle "e500mc".  Extend "e500" to
273         accept e500mc instructions.
274         (md_show_usage): Document -me500mc.
276 2008-04-11  Nick Clifton  <nickc@redhat.com>
278         * listing.c (print_timestamp): Use localtime rather than
279         localtime_r since not all build environments provide the latter.
281 2008-04-10  H.J. Lu  <hongjiu.lu@intel.com>
283         * NEWS: Mention -msse-check=[none|error|warning].
285         * config/tc-i386.c (sse_check): New.
286         (OPTION_MSSE_CHECK): Likewise.
287         (md_assemble): Check SSE instructions if needed.
288         (md_longopts): Add -msse-check.
289         (md_parse_option): Handle OPTION_MSSE_CHECK.
290         (md_show_usage): Show -msse-check=[none|error|warning].
292         * doc/c-i386.texi: Document -msse-check=[none|error|warning].
294 2008-04-10  Santiago Urueña  <suruena@gmail.com>
296         * listing.c: Add -ag listing flag to show general information in
297         listings such as gas version, passed options, and time stamp.
298         (listing_general_info): New function.
299         (print_options): New function.
300         (print_single_option): New function.
301         (print_timestamp): New function.
302         (MAX_DATELEN): Define.
303         (listing_print): Add call to listing_general_info.
304         * listing.h (LISTING_GENERAL): Define.
305         (listing_print): Add new parameter.
306         * as.c (show_usage): Print new switch.
307         (parse_args): Parse new switch.
308         (main): Pass command line on to listing_print.
309         * NEWS: Mention this new feature.
310         * doc/as.texinfo: Document the new sub-option.
312 2008-04-08  Alan Modra  <amodra@bigpond.net.au>
314         * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
315         call.  Delete out of date comment.
316         (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
317         (dwarf2_emit_label): Don't emit unless there has been a previous
318         .file or we are outputting assembler generated debug.
319         dwarf2_consume_line_info after emitting line info, not before.
320         (out_debug_info): Simplify files_in_use test.
322 2008-04-07  H.J. Lu  <hongjiu.lu@intel.com>
324         * config/tc-i386.c (parse_real_register): Return AVX register
325         only if AVX is enabled.
327 2008-04-07  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
329         PR gas/6043
330         * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
331         md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
333 2008-04-04  Adrian Bunk  <bunk@stusta.de>
334             Bob Wilson  <bob.wilson@acm.org>
336         * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
337         call to decode_reloc.
339 2008-04-04  H.J. Lu  <hongjiu.lu@intel.com>
341         * NEWS: Mention XSAVE.  Change CLMUL to PCLMUL.
343         * config/tc-i386.c (cpu_arch): Add .pclmul.
344         (md_show_usage): Replace clmul with pclmul.
345         * doc/c-i386.texi: Likewise.
347 2008-04-03  H.J. Lu  <hongjiu.lu@intel.com>
349         * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
351         * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
352         Document -msse2avx, .avx, .aes, .clmul and .fma.
354         * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
355         (vex_prefix): Likewise.
356         (sse2avx): Likewise.
357         (CPU_FLAGS_ARCH_MATCH): Likewise.
358         (CPU_FLAGS_64BIT_MATCH): Likewise.
359         (CPU_FLAGS_32BIT_MATCH): Likewise.
360         (CPU_FLAGS_PERFECT_MATCH): Likewise.
361         (regymm): Likewise.
362         (vex_imm4): Likewise.
363         (fits_in_imm4): Likewise.
364         (build_vex_prefix): Likewise.
365         (VEX_check_operands): Likewise.
366         (bad_implicit_operand): Likewise.
367         (OPTION_MSSE2AVX): Likewise.
368         (T_YMMWORD): Likewise.
369         (_i386_insn): Add vex.
370         (cpu_arch): Add .avx, .aes, .clmul and .fma.
371         (cpu_flags_match): Changed to take a pointer to const template.
372         Enable encoding SSE instructions with VEX prefix for -msse2avx.
373         (match_mem_size): Also check ymmword.
374         (operand_type_match): Clear ymmword.
375         (md_begin): Allow '_' in mnemonic.
376         (type_names): Add OPERAND_TYPE_VEX_IMM4.
377         (process_immext): Update assert.
378         (md_assemble): Don't call process_immext if sse2avx and immext
379         are true.  Call build_vex_prefix if vex is true.
380         (parse_insn): Updated for cpu_flags_match.
381         (swap_operands): Handle 5 operands.
382         (match_template): Handle 5 operands. Updated for cpu_flags_match.
383         Check regymm.  Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
384         (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
385         (check_byte_reg): Check regymm.
386         (process_operands): Duplicate the destination register for
387         -msse2avx if needed.
388         (build_modrm_byte): Updated for instructions with VEX encoding.
389         (output_insn): Output VEX prefix if needed.
390         (md_longopts): Add msse2avx.
391         (md_parse_option): Handle OPTION_MSSE2AVX.
392         (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
393         (intel_e09): Support YMMWORD.
394         (intel_e11): Likewise.
395         (intel_get_token): Likewise.
397 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
399         * config/tc-avr.c (mcu_types): Add attiny167.
400         * doc/c-avr.texi: Likewise.
402 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
404         * config/tc-avr.c (mcu_types): Add atmega32u4.
405         * doc/c-avr.texi: Likewise.
407 2008-03-28  Eric B. Weddington  <eric.weddington@atmel.com>
409         * config/tc-avr.c (mcu_types): Add atmega32c1.
410         * doc/c-avr.texi: Likewise.
412 2008-03-28  Paul Brook  <paul@codesourcery.com>
414         * config/tc-arm.c (parse_neon_mov): Parse register before immediate
415         to avoid spurious symbols.
417 2008-03-28  Nathan Sidwell  <nathan@codesourcery.com>
419         * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
420         as_bad_where.
422 2008-03-27  Eric B. Weddington  <eric.weddington@atmel.com>
424         * config/tc-avr.c (mcu_types): Add atmega32m1.
425         * doc/c-avr.texi: Likewise.
427 2008-03-27  Ineiev  <ineiev@yahoo.co.uk>
429         * config/tc-arm.c (do_neon_cvt): Move variable declarations to
430         start of block.
431         (do_neon_ext): Fix sign of comparison.
433 2008-03-26  Bernd Schmidt  <bernd.schmidt@analog.com>
435         From Jie Zhang  <jie.zhang@analog.com>
436         * config/bfin-parse.y (asm_1): Check AREGS in comparison
437         instructions. And call yyerror when comparing PREG with
438         DREG.
439         (check_macfunc_option): New.
440         (check_macfuncs): Check option by calling check_macfunc_option.
441         Fix comparison always true warnings.  Both scalar instructions
442         of vector instruction must share the same mode option.  Only allow
443         option mode at the end of the second instruction of the vector.
444         (asm_1): Check option by calling check_macfunc_option.
446         * config/bfin-parse.y (check_macfunc_option): Allow (IU)
447         option for multiply and multiply-accumulate to data register
448         instruction.
449         (check_macfuncs): Don't check if accumulator matches the data register
450         here.
451         (assign_macfunc): Check if accumulator matches the
452         data register in each rule that moves to the data
453         register.
455         * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
456         generated for LOOP_BEGIN and LOOP_END instructions.
457         (bfin_gen_loop): Likewise.
459 2008-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>
461         * config/tc-s390.c (md_parse_option): z10 option added.
463 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
465         * aclocal.m4: Regenerate.
466         * configure: Likewise.
467         * Makefile.in: Likewise.
468         * doc/Makefile.in: Likewise.
470 2008-03-17  Adrian Bunk  <bunk@stusta.de>
472         PR 5946
473         * config/tc-hppa.c (is_same_frag): Delete.
475 2008-03-14  Sterling Augustine  <sterling@tensilica.com>
477         * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
478         RELAX_LOOP_END_ADD_NOP.
480 2008-03-13  Evandro Menezes  <evandro@yahoo.com>
482         PR gas/5895
483         * read.c (s_mexit): Warn if attempting to exit a macro when not
484         inside a macro definition.
486 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
488         * Makefile.am: Run "make dep-am".
489         * Makefile.in: Regenerate.
490         * configure: Regenerate.
492 2008-03-09  Paul Brook  <paul@codesourcery.com>
494         * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
495         * doc/c-arm.texi: Add cortex-a9.
497 2008-03-09  Paul Brook  <paul@codesourcery.com>
499         * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
500         (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
501         (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
502         (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
503         * doc/c-arm.texi: Document new ARM FPU variants.
505 2008-03-07  Paul Brook  <paul@codesourcery.com>
507         * config/tc-arm.c (md_apply_fix): Use correct offset range.
509 2008-03-07  Alan Modra  <amodra@bigpond.net.au>
511         * config/tc-ppc.c (ppc_setup_opcodes): Tidy.  Add code to test
512         for strict ordering of powerpc_opcodes, but disable for now.
514 2008-03-04  Paul Brook  <paul@codesourcery.com>
516         * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
517         (arm_ext_v7m): Rename...
518         (arm_ext_m): ... to this.  Include v6-M.
519         (do_t_add_sub): Allow narrow low-reg non flag setting adds.
520         (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
521         (md_assemble): Allow wide msr instructions.
522         (insns): Add classifications for v6-m instructions.
523         (arm_cpu_option_table): Add cortex-m1.
524         (arm_arch_option_table): Add armv6-m.
525         (cpu_arch): Add ARM_ARCH_V6M.  Fix numbering of other v6 variants.
527 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
528             Bob Wilson  <bob.wilson@acm.org>
530         * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
531         (md_begin): Initialize it.
532         (resources_conflict): Use it.
534 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
536         * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
538 2008-03-03  Denys Vlasenko <vda.linux@googlemail.com>
539             H.J. Lu  <hongjiu.lu@intel.com>
541         PR gas/5543
542         * read.c (pseudo_set): Don't allow global register symbol.
544         * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
545         global.
547 2008-03-03  H.J. Lu  <hongjiu.lu@intel.com>
549         PR gas/5543
550         * write.c (write_object_file): Don't allow symbols which were
551         equated to register.  Stop if there is an error.
553 2008-03-01  Alan Modra  <amodra@bigpond.net.au>
555         * config/tc-ppc.h (struct _ppc_fix_extra): New.
556         (ppc_cpu): Declare.
557         (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
558         * config/tc-ppc.c (ppu_cpu): Make global.
559         (ppc_insert_operand): Add ppu_cpu parameter.
560         (md_assemble): Adjust for above change.
561         (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
563 2008-02-22  Nick Clifton  <nickc@redhat.com>
565         * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
566         targeted ARM ports, otherwise just skip generating the reloc.
568 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
570         * doc/c-i386.texi: Update -march= and .arch.
572 2008-02-18  Nick Clifton  <nickc@redhat.com>
574         * config/tc-mn10300.c (has_known_symbol_location): New function.
575         Do not regard weak symbols as having a known location.
576         (md_estimate_size_before_relax): Use new function.
577         (md_pcrel_from): Do not compute a pcrel against a weak symbol.
579 2008-02-18  Jan Beulich  <jbeulich@novell.com>
581         * config/tc-i386.c (match_template): Disallow 'l' suffix when
582         currently selected CPU has no 32-bit support.
583         (parse_real_register): Do not return registers not available on
584         currently selected CPU.
586 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
588         * config/tc-i386.c (process_immext): Fix format.
590 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
592         * config/tc-i386.c (inoutportreg): New.
593         (process_immext): New.
594         (md_assemble): Use it.
595         (update_imm): Use imm16 and imm32s.
596         (i386_att_operand): Use inoutportreg.
598 2008-02-14  H.J. Lu  <hongjiu.lu@intel.com>
600         * config/tc-i386.c (operand_type_all_zero): New.
601         (operand_type_set): Likewise.
602         (operand_type_equal): Likewise.
603         (cpu_flags_all_zero): Likewise.
604         (cpu_flags_set): Likewise.
605         (cpu_flags_equal): Likewise.
606         (UINTS_ALL_ZERO): Removed.
607         (UINTS_SET): Likewise.
608         (UINTS_CLEAR): Likewise.
609         (UINTS_EQUAL): Likewise.
610         (cpu_flags_match): Updated.
611         (smallest_imm_type): Likewise.
612         (set_cpu_arch): Likewise.
613         (md_assemble): Likewise.
614         (optimize_imm): Likewise.
615         (match_template): Likewise.
616         (process_suffix): Likewise.
617         (update_imm): Likewise.
618         (process_drex): Likewise.
619         (process_operands): Likewise.
620         (build_modrm_byte): Likewise.
621         (i386_immediate): Likewise.
622         (i386_displacement): Likewise.
623         (i386_att_operand): Likewise.
624         (parse_real_register): Likewise.
625         (md_parse_option): Likewise.
626         (i386_target_format): Likewise.
628 2008-02-14  Dimitry Andric  <dimitry@andric.com>
630         PR gas/5712
631         * config/tc-arm.c (s_arm_unwind_save): Advance the input line
632         pointer past the comma after parsing a floating point register
633         name.
635 2008-02-14  Hakan Ardo  <hakan@debian.org>
637         PR gas/2626
638         * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
639         to AVR_ISA_2xxe.
640         (avr_operand): Disallow post-increment addressing in the lpm
641         instruction for the attiny26.
643 2008-02-13  Jan Beulich  <jbeulich@novell.com>
645         * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
646         if not in Intel mode.
647         (i386_intel_operand): Ignore segment overrides in immediate and
648         offset operands.
649         (intel_e11): Range-check i.mem_operands before use as array
650         index. Filter out FLAT for uses other than as segment override.
651         (intel_get_token): Remove broken promotion of "FLAT:" to mean
652         "offset FLAT:".
654 2008-02-13  Jan Beulich  <jbeulich@novell.com>
656         * config/tc-i386.c (intel_e09): Also special-case 'bound'.
658 2008-02-13  Jan Beulich  <jbeulich@novell.com>
660         * config/tc-i386.c (allow_pseudo_reg): New.
661         (parse_real_register): Check for NULL just once. Allow all
662         register table entries when allow_pseudo_reg is non-zero.
663         Don't allow any registers without type when allow_pseudo_reg
664         is zero.
665         (tc_x86_regname_to_dw2regnum): Replace with ...
666         (tc_x86_parse_to_dw2regnum): ... this.
667         (tc_x86_frame_initial_instructions): Adjust for above change.
668         * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
669         (tc_parse_to_dw2regnum): New.
670         (tc_x86_regname_to_dw2regnum): Replace with ...
671         (tc_x86_parse_to_dw2regnum): ... this.
672         * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
673         (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
674         error handling.
676 2008-02-12  Nick Clifton  <nickc@redhat.com>
678         * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
679         argument.
680         (tic4x_insn_add): Likewise.
681         (md_begin): Drop cast that was discarding a const qualifier.
682         * config/tc-d30v.c (get_reloc): Add const qualifier to op
683         argument.
684         (build_insn): Drop cast that was discarding a const qualifier.
686 2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>
688         * config/tc-i386.c (cpu_arch): Add .xsave.
689         (md_show_usage): Add .xsave.
691         * doc/c-i386.texi: Add xsave to -march=.
693 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
695         * read.c (s_weakref): Don't pass unadorned NULL to concat.
696         * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
698 2008-02-05  Sterling Augustine  <sterling@tensilica.com>
700         * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
701         checks into assertions.  When relaxation produces an operation that
702         does not fit in the current FLIX instruction, make sure that the
703         operation is relaxed as needed to account for being placed following
704         the current instruction.
706 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
708         PR 5715
709         * configure: Regenerated.
711 2008-02-04  Adam Nemet  <anemet@caviumnetworks.com>
713         * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
715 2008-01-31  Marc Gauthier  <marc@tensilica.com>
717         * configure.tgt (xtensa*-*-*): Recognize processor variants.
719 2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
721         * read.c: (emit_expr): Correct for mingw use of printf size
722         specifier.
724 2008-01-24  Bob Wilson  <bob.wilson@acm.org>
726         * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
727         can only be encoded in FLIX instructions but are not specified as such.
728         (Xtensa Automatic Alignment): Remove obsolete comment about debugging
729         labels.
731 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
733         * NEWS: Mention new command line options for x86 targets.
735 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
737         * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
739 2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>
741         * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
743 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
745         * config/tc-i386.c (md_show_usage): Show more processors for
746         -march=/-mtune=.
748 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
750         * config/tc-i386.c (i386_target_format): Remove cpummx2.
752 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
754         * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
755         (XXX_MNEM_SUFFIX): Likewise.
756         (END_OF_INSN): Likewise.
757         (templates): Likewise.
758         (modrm_byte): Likewise.
759         (rex_byte): Likewise.
760         (DREX_XXX): Likewise.
761         (drex_byte): Likewise.
762         (sib_byte): Likewise.
763         (processor_type): Likewise.
764         (arch_entry): Likewise.
765         (cpu_sub_arch_name): Remove const.
766         (cpu_arch): Add .vmx and .smx.
767         (set_cpu_arch): Append cpu_sub_arch_name.
768         (md_parse_option): Support -march=CPU[,+EXTENSION...].
769         (md_show_usage): Updated.
771         * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
772         (XXX_MNEM_SUFFIX): Likewise.
773         (END_OF_INSN): Likewise.
774         (templates): Likewise.
775         (modrm_byte): Likewise.
776         (rex_byte): Likewise.
777         (DREX_XXX): Likewise.
778         (drex_byte): Likewise.
779         (sib_byte): Likewise.
780         (processor_type): Likewise.
781         (arch_entry): Likewise.
783         * doc/as.texinfo: Update i386 -march option.
785         * doc/c-i386.texi: Update -march= for ISA.
787 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
789         * config/tc-xtensa.c (xtensa_leb128): New function.
790         (md_pseudo_table): Use it for sleb128 and uleb128.
791         (is_leb128_expr): New internal flag.
792         (xtensa_symbol_new_hook): Check new flag.
794 2008-01-16  Eric B. Weddington  <eric.weddington@atmel.com>
796         * config/tc-avr.c (mcu_types): Change opcode set for avr3,
797         at90usb82, at90usb162.
798         * doc/c-avr.texi: Change architecture grouping for at90usb82,
799         at90usb162.
800         These changes support the new avr35 architecture group in gcc.
802 2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>
804         * config/tc-i386.c (md_assemble): Also zap movzx and movsx
805         suffix for AT&T syntax.
807 2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>
809         * config/tc-i386.c (match_reg_size): New.
810         (match_mem_size): Likewise.
811         (operand_size_match): Likewise.
812         (operand_type_match): Also clear all size fields.
813         (match_template): Skip Intel syntax when in AT&T syntax.
814         Call operand_size_match to check operand size.
815         (i386_att_operand): Set the mem field to 1 for memory
816         operand.
817         (i386_intel_operand): Likewise.
819 2008-01-12  H.J. Lu  <hongjiu.lu@intel.com>
821         PR gas/5534
822         * config/tc-i386.c (_i386_insn): Update comment.
823         (operand_type_match): Also clear unspecified.
824         (operand_type_register_match): Likewise.
825         (parse_operands): Initialize unspecified.
826         (i386_intel_operand): Likewise.
827         (match_template): Check memory and accumulator operand size.
828         (i386_att_operand): Clear unspecified on register operand.
829         (intel_e11): Likewise.
830         (intel_e09): Set operand size and clean unspecified for
831         "XXX PTR".
833 2008-01-11  Andreas Schwab  <schwab@suse.de>
835         * read.c (s_space): Declare `repeat' as offsetT.
837 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
839         * config/tc-i386.c (match_template): Check processor support
840         first.
842 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
844         * config/tc-i386.c (match_template): Continue if processor
845         doesn't match.
847 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
849         * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
850         unwind personality function address.
852 2008-01-09  Bob Wilson  <bob.wilson@acm.org>
854         * dwarf2dbg.c (out_sleb128): Delete.
855         (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
856         (out_fixed_inc_line_addr): Delete.
857         (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
858         size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
859         (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
860         (process_entries): Remove calls to out_fixed_inc_line_addr.  When
861         DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
862         * read.h (emit_expr_fix): New prototype.
863         * read.c (emit_expr): Move code to emit_expr_fix and use it here.
864         (emit_expr_fix): New.
866 2008-01-09  H.J. Lu  <hongjiu.lu@intel.com>
868         * config/tc-i386.c (match_template): Check register size
869         only when size of operands can be encoded the canonical way.
871 2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>
873         * config/tc-i386.c (i386_operand): Renamed to ...
874         (i386_att_operand): This.
875         (parse_operands): Updated.
877 2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>
879         * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
881         * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
882         only.
883         (md_assemble): Remove Intel mode workaround.
884         (match_template): Check support for old gcc, AT&T mnemonic
885         and Intel Syntax.
886         (md_parse_option): Don't set intel_mnemonic to 0 for
887         OPTION_MOLD_GCC.
889 2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>
891         * config/tc-i386.h: Update copyright to 2008.
893 2008-01-04  Nick Clifton  <nickc@redhat.com>
895         * config/tc-ppc.c (parse_cpu): Preserve the settings of the
896         PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
898 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
900         * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
901         of SYSV386_COMPAT.
903 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
905         * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
906         (cpu_flags_not): Likewise.
907         (cpu_flags_match): Updated to check 64bit and arch.
908         (set_code_flag): Remove cpu_arch_flags_not.
909         (set_16bit_gcc_code_flag): Likewise.
910         (set_cpu_arch): Likewise.
911         (md_begin): Likewise.
912         (parse_insn): Call cpu_flags_match to check 64bit and arch.
913         (match_template): Likewise.
915 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
917         * config/tc-i386.c (process_drex): Initialize modrm_reg and
918         modrm_regmem to 0 instead of None.
920 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
922         * config/tc-i386.c (match_template): Use the xmmword field
923         instead of no_xsuf.
925 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
927         * config/tc-i386.c (process_suffix): Fix a typo.
929 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
931         PR gas/5534
932         * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
933         Check memory size in Intel mode.
934         (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
935         (intel_e09): Likewise.
937         * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
939 2008-01-02  Catherine Moore  <clm@codesourcery.com>
941         * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
943 For older changes see ChangeLog-2007
945 Local Variables:
946 mode: change-log
947 left-margin: 8
948 fill-column: 74
949 version-control: never
950 End: