bfd/
[binutils.git] / gas / ChangeLog
blob61996f3e326922c3b07f7a14d54f8f054b009c9b
1 2008-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>
3         * config/tc-s390.c (md_parse_option): z10 option added.
5 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
7         * aclocal.m4: Regenerate.
8         * configure: Likewise.
9         * Makefile.in: Likewise.
10         * doc/Makefile.in: Likewise.
12 2008-03-17  Adrian Bunk  <bunk@stusta.de>
14         PR 5946
15         * config/tc-hppa.c (is_same_frag): Delete.
17 2008-03-14  Sterling Augustine  <sterling@tensilica.com>
18         
19         * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
20         RELAX_LOOP_END_ADD_NOP.
21         
22 2008-03-13  Evandro Menezes  <evandro@yahoo.com>
24         PR gas/5895
25         * read.c (s_mexit): Warn if attempting to exit a macro when not
26         inside a macro definition.
28 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
30         * Makefile.am: Run "make dep-am".
31         * Makefile.in: Regenerate.
32         * configure: Regenerate.
34 2008-03-09  Paul Brook  <paul@codesourcery.com>
36         * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
37         * doc/c-arm.texi: Add cortex-a9.
39 2008-03-09  Paul Brook  <paul@codesourcery.com>
41         * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
42         (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
43         (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
44         (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
45         * doc/c-arm.texi: Document new ARM FPU variants.
47 2008-03-07  Paul Brook  <paul@codesourcery.com>
49         * config/tc-arm.c (md_apply_fix): Use correct offset range.
51 2008-03-07  Alan Modra  <amodra@bigpond.net.au>
53         * config/tc-ppc.c (ppc_setup_opcodes): Tidy.  Add code to test
54         for strict ordering of powerpc_opcodes, but disable for now.
56 2008-03-04  Paul Brook  <paul@codesourcery.com>
58         * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
59         (arm_ext_v7m): Rename...
60         (arm_ext_m): ... to this.  Include v6-M.
61         (do_t_add_sub): Allow narrow low-reg non flag setting adds.
62         (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
63         (md_assemble): Allow wide msr instructions.
64         (insns): Add classifications for v6-m instructions.
65         (arm_cpu_option_table): Add cortex-m1.
66         (arm_arch_option_table): Add armv6-m.
67         (cpu_arch): Add ARM_ARCH_V6M.  Fix numbering of other v6 variants.
69 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
70             Bob Wilson  <bob.wilson@acm.org>
71         
72         * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
73         (md_begin): Initialize it.
74         (resources_conflict): Use it.
75         
76 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
77         
78         * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
79         
80 2008-03-03  Denys Vlasenko <vda.linux@googlemail.com>
81             H.J. Lu  <hongjiu.lu@intel.com>
83         PR gas/5543
84         * read.c (pseudo_set): Don't allow global register symbol.
86         * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
87         global.
89 2008-03-03  H.J. Lu  <hongjiu.lu@intel.com>
91         PR gas/5543
92         * write.c (write_object_file): Don't allow symbols which were
93         equated to register.  Stop if there is an error.
95 2008-03-01  Alan Modra  <amodra@bigpond.net.au>
97         * config/tc-ppc.h (struct _ppc_fix_extra): New.
98         (ppc_cpu): Declare.
99         (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
100         * config/tc-ppc.c (ppu_cpu): Make global.
101         (ppc_insert_operand): Add ppu_cpu parameter.
102         (md_assemble): Adjust for above change.
103         (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
105 2008-02-22  Nick Clifton  <nickc@redhat.com>
107         * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
108         targeted ARM ports, otherwise just skip generating the reloc.
110 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
112         * doc/c-i386.texi: Update -march= and .arch.
114 2008-02-18  Nick Clifton  <nickc@redhat.com>
116         * config/tc-mn10300.c (has_known_symbol_location): New function.
117         Do not regard weak symbols as having a known location.
118         (md_estimate_size_before_relax): Use new function.
119         (md_pcrel_from): Do not compute a pcrel against a weak symbol.
121 2008-02-18  Jan Beulich  <jbeulich@novell.com>
123         * config/tc-i386.c (match_template): Disallow 'l' suffix when
124         currently selected CPU has no 32-bit support.
125         (parse_real_register): Do not return registers not available on
126         currently selected CPU.
128 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
130         * config/tc-i386.c (process_immext): Fix format.
132 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
134         * config/tc-i386.c (inoutportreg): New.
135         (process_immext): New.
136         (md_assemble): Use it.
137         (update_imm): Use imm16 and imm32s.
138         (i386_att_operand): Use inoutportreg. 
140 2008-02-14  H.J. Lu  <hongjiu.lu@intel.com>
142         * config/tc-i386.c (operand_type_all_zero): New.
143         (operand_type_set): Likewise.
144         (operand_type_equal): Likewise.
145         (cpu_flags_all_zero): Likewise.
146         (cpu_flags_set): Likewise.
147         (cpu_flags_equal): Likewise.
148         (UINTS_ALL_ZERO): Removed.
149         (UINTS_SET): Likewise.
150         (UINTS_CLEAR): Likewise.
151         (UINTS_EQUAL): Likewise.
152         (cpu_flags_match): Updated.
153         (smallest_imm_type): Likewise.
154         (set_cpu_arch): Likewise.
155         (md_assemble): Likewise.
156         (optimize_imm): Likewise.
157         (match_template): Likewise.
158         (process_suffix): Likewise.
159         (update_imm): Likewise.
160         (process_drex): Likewise.
161         (process_operands): Likewise.
162         (build_modrm_byte): Likewise.
163         (i386_immediate): Likewise.
164         (i386_displacement): Likewise.
165         (i386_att_operand): Likewise.
166         (parse_real_register): Likewise.
167         (md_parse_option): Likewise.
168         (i386_target_format): Likewise.
170 2008-02-14  Dimitry Andric  <dimitry@andric.com>
172         PR gas/5712
173         * config/tc-arm.c (s_arm_unwind_save): Advance the input line
174         pointer past the comma after parsing a floating point register
175         name.
177 2008-02-14  Hakan Ardo  <hakan@debian.org>
179         PR gas/2626
180         * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
181         to AVR_ISA_2xxe.
182         (avr_operand): Disallow post-increment addressing in the lpm
183         instruction for the attiny26.
185 2008-02-13  Jan Beulich  <jbeulich@novell.com>
187         * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
188         if not in Intel mode.
189         (i386_intel_operand): Ignore segment overrides in immediate and
190         offset operands.
191         (intel_e11): Range-check i.mem_operands before use as array
192         index. Filter out FLAT for uses other than as segment override.
193         (intel_get_token): Remove broken promotion of "FLAT:" to mean
194         "offset FLAT:".
196 2008-02-13  Jan Beulich  <jbeulich@novell.com>
198         * config/tc-i386.c (intel_e09): Also special-case 'bound'.
200 2008-02-13  Jan Beulich  <jbeulich@novell.com>
202         * config/tc-i386.c (allow_pseudo_reg): New.
203         (parse_real_register): Check for NULL just once. Allow all
204         register table entries when allow_pseudo_reg is non-zero.
205         Don't allow any registers without type when allow_pseudo_reg
206         is zero.
207         (tc_x86_regname_to_dw2regnum): Replace with ...
208         (tc_x86_parse_to_dw2regnum): ... this.
209         (tc_x86_frame_initial_instructions): Adjust for above change.
210         * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
211         (tc_parse_to_dw2regnum): New.
212         (tc_x86_regname_to_dw2regnum): Replace with ...
213         (tc_x86_parse_to_dw2regnum): ... this.
214         * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
215         (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
216         error handling.
218 2008-02-12  Nick Clifton  <nickc@redhat.com>
220         * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
221         argument.
222         (tic4x_insn_add): Likewise.
223         (md_begin): Drop cast that was discarding a const qualifier.
224         * config/tc-d30v.c (get_reloc): Add const qualifier to op
225         argument.
226         (build_insn): Drop cast that was discarding a const qualifier.
228 2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>
230         * config/tc-i386.c (cpu_arch): Add .xsave.
231         (md_show_usage): Add .xsave.
233         * doc/c-i386.texi: Add xsave to -march=.
235 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
237         * read.c (s_weakref): Don't pass unadorned NULL to concat.
238         * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
240 2008-02-05  Sterling Augustine  <sterling@tensilica.com>
241         
242         * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
243         checks into assertions.  When relaxation produces an operation that
244         does not fit in the current FLIX instruction, make sure that the
245         operation is relaxed as needed to account for being placed following
246         the current instruction.
247         
248 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
250         PR 5715
251         * configure: Regenerated.
253 2008-02-04  Adam Nemet  <anemet@caviumnetworks.com>
255         * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
257 2008-01-31  Marc Gauthier  <marc@tensilica.com>
259         * configure.tgt (xtensa*-*-*): Recognize processor variants.
261 2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
263         * read.c: (emit_expr): Correct for mingw use of printf size 
264         specifier.
266 2008-01-24  Bob Wilson  <bob.wilson@acm.org>
267         
268         * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
269         can only be encoded in FLIX instructions but are not specified as such.
270         (Xtensa Automatic Alignment): Remove obsolete comment about debugging
271         labels.
272         
273 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
275         * NEWS: Mention new command line options for x86 targets.
277 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
279         * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
281 2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>
283         * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
285 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
287         * config/tc-i386.c (md_show_usage): Show more processors for
288         -march=/-mtune=.
290 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
292         * config/tc-i386.c (i386_target_format): Remove cpummx2.
294 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
296         * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
297         (XXX_MNEM_SUFFIX): Likewise.
298         (END_OF_INSN): Likewise.
299         (templates): Likewise.
300         (modrm_byte): Likewise.
301         (rex_byte): Likewise.
302         (DREX_XXX): Likewise.
303         (drex_byte): Likewise.
304         (sib_byte): Likewise.
305         (processor_type): Likewise.
306         (arch_entry): Likewise.
307         (cpu_sub_arch_name): Remove const.
308         (cpu_arch): Add .vmx and .smx.
309         (set_cpu_arch): Append cpu_sub_arch_name.
310         (md_parse_option): Support -march=CPU[,+EXTENSION...].
311         (md_show_usage): Updated.
313         * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
314         (XXX_MNEM_SUFFIX): Likewise.
315         (END_OF_INSN): Likewise.
316         (templates): Likewise.
317         (modrm_byte): Likewise.
318         (rex_byte): Likewise.
319         (DREX_XXX): Likewise.
320         (drex_byte): Likewise.
321         (sib_byte): Likewise.
322         (processor_type): Likewise.
323         (arch_entry): Likewise.
325         * doc/as.texinfo: Update i386 -march option.
327         * doc/c-i386.texi: Update -march= for ISA.
329 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
330         
331         * config/tc-xtensa.c (xtensa_leb128): New function.
332         (md_pseudo_table): Use it for sleb128 and uleb128.
333         (is_leb128_expr): New internal flag.
334         (xtensa_symbol_new_hook): Check new flag.
335         
336 2008-01-16  Eric B. Weddington  <eric.weddington@atmel.com>
338         * config/tc-avr.c (mcu_types): Change opcode set for avr3,
339         at90usb82, at90usb162.
340         * doc/c-avr.texi: Change architecture grouping for at90usb82, 
341         at90usb162.
342         These changes support the new avr35 architecture group in gcc.
344 2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>
346         * config/tc-i386.c (md_assemble): Also zap movzx and movsx
347         suffix for AT&T syntax.
349 2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>
351         * config/tc-i386.c (match_reg_size): New.
352         (match_mem_size): Likewise.
353         (operand_size_match): Likewise.
354         (operand_type_match): Also clear all size fields.
355         (match_template): Skip Intel syntax when in AT&T syntax.
356         Call operand_size_match to check operand size.
357         (i386_att_operand): Set the mem field to 1 for memory
358         operand.
359         (i386_intel_operand): Likewise.
361 2008-01-12  H.J. Lu  <hongjiu.lu@intel.com>
363         PR gas/5534
364         * config/tc-i386.c (_i386_insn): Update comment.
365         (operand_type_match): Also clear unspecified.
366         (operand_type_register_match): Likewise.
367         (parse_operands): Initialize unspecified.
368         (i386_intel_operand): Likewise.
369         (match_template): Check memory and accumulator operand size.
370         (i386_att_operand): Clear unspecified on register operand.
371         (intel_e11): Likewise.
372         (intel_e09): Set operand size and clean unspecified for
373         "XXX PTR".
375 2008-01-11  Andreas Schwab  <schwab@suse.de>
377         * read.c (s_space): Declare `repeat' as offsetT.
379 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
381         * config/tc-i386.c (match_template): Check processor support
382         first.
384 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
386         * config/tc-i386.c (match_template): Continue if processor
387         doesn't match.
389 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
391         * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
392         unwind personality function address.
394 2008-01-09  Bob Wilson  <bob.wilson@acm.org>
395         
396         * dwarf2dbg.c (out_sleb128): Delete.
397         (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
398         (out_fixed_inc_line_addr): Delete.
399         (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
400         size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
401         (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
402         (process_entries): Remove calls to out_fixed_inc_line_addr.  When
403         DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
404         * read.h (emit_expr_fix): New prototype.
405         * read.c (emit_expr): Move code to emit_expr_fix and use it here.
406         (emit_expr_fix): New.
407         
408 2008-01-09  H.J. Lu  <hongjiu.lu@intel.com>
410         * config/tc-i386.c (match_template): Check register size
411         only when size of operands can be encoded the canonical way.
413 2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>
415         * config/tc-i386.c (i386_operand): Renamed to ...
416         (i386_att_operand): This.
417         (parse_operands): Updated.
419 2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>
421         * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
423         * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
424         only.
425         (md_assemble): Remove Intel mode workaround.
426         (match_template): Check support for old gcc, AT&T mnemonic
427         and Intel Syntax.
428         (md_parse_option): Don't set intel_mnemonic to 0 for
429         OPTION_MOLD_GCC.
431 2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>
433         * config/tc-i386.h: Update copyright to 2008.
435 2008-01-04  Nick Clifton  <nickc@redhat.com>
437         * config/tc-ppc.c (parse_cpu): Preserve the settings of the
438         PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
440 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
442         * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
443         of SYSV386_COMPAT.
445 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
447         * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
448         (cpu_flags_not): Likewise.
449         (cpu_flags_match): Updated to check 64bit and arch.
450         (set_code_flag): Remove cpu_arch_flags_not.
451         (set_16bit_gcc_code_flag): Likewise.
452         (set_cpu_arch): Likewise.
453         (md_begin): Likewise.
454         (parse_insn): Call cpu_flags_match to check 64bit and arch.
455         (match_template): Likewise.
457 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
459         * config/tc-i386.c (process_drex): Initialize modrm_reg and
460         modrm_regmem to 0 instead of None.
462 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
464         * config/tc-i386.c (match_template): Use the xmmword field
465         instead of no_xsuf.
467 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
469         * config/tc-i386.c (process_suffix): Fix a typo.
471 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
473         PR gas/5534
474         * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
475         Check memory size in Intel mode.
476         (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
477         (intel_e09): Likewise.
479         * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
481 2008-01-02  Catherine Moore  <clm@codesourcery.com>
483         * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
485 For older changes see ChangeLog-2007
487 Local Variables:
488 mode: change-log
489 left-margin: 8
490 fill-column: 74
491 version-control: never
492 End: