PR gas/5712
[platform/upstream/binutils.git] / gas / ChangeLog
1 2008-02-14  Dimitry Andric  <dimitry@andric.com>
2
3         PR gas/5712
4         * config/tc-arm.c (s_arm_unwind_save): Advance the input line
5         pointer past the comma after parsing a floating point register
6         name.
7
8 2008-02-14  Hakan Ardo  <hakan@debian.org>
9
10         PR gas/2626
11         * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
12         to AVR_ISA_2xxe.
13         (avr_operand): Disallow post-increment addressing in the lpm
14         instruction for the attiny26.
15
16 2008-02-13  Jan Beulich  <jbeulich@novell.com>
17
18         * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
19         if not in Intel mode.
20         (i386_intel_operand): Ignore segment overrides in immediate and
21         offset operands.
22         (intel_e11): Range-check i.mem_operands before use as array
23         index. Filter out FLAT for uses other than as segment override.
24         (intel_get_token): Remove broken promotion of "FLAT:" to mean
25         "offset FLAT:".
26
27 2008-02-13  Jan Beulich  <jbeulich@novell.com>
28
29         * config/tc-i386.c (intel_e09): Also special-case 'bound'.
30
31 2008-02-13  Jan Beulich  <jbeulich@novell.com>
32
33         * config/tc-i386.c (allow_pseudo_reg): New.
34         (parse_real_register): Check for NULL just once. Allow all
35         register table entries when allow_pseudo_reg is non-zero.
36         Don't allow any registers without type when allow_pseudo_reg
37         is zero.
38         (tc_x86_regname_to_dw2regnum): Replace with ...
39         (tc_x86_parse_to_dw2regnum): ... this.
40         (tc_x86_frame_initial_instructions): Adjust for above change.
41         * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
42         (tc_parse_to_dw2regnum): New.
43         (tc_x86_regname_to_dw2regnum): Replace with ...
44         (tc_x86_parse_to_dw2regnum): ... this.
45         * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
46         (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
47         error handling.
48
49 2008-02-12  Nick Clifton  <nickc@redhat.com>
50
51         * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
52         argument.
53         (tic4x_insn_add): Likewise.
54         (md_begin): Drop cast that was discarding a const qualifier.
55         * config/tc-d30v.c (get_reloc): Add const qualifier to op
56         argument.
57         (build_insn): Drop cast that was discarding a const qualifier.
58
59 2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>
60
61         * config/tc-i386.c (cpu_arch): Add .xsave.
62         (md_show_usage): Add .xsave.
63
64         * doc/c-i386.texi: Add xsave to -march=.
65
66 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
67
68         * read.c (s_weakref): Don't pass unadorned NULL to concat.
69         * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
70
71 2008-02-05  Sterling Augustine  <sterling@tensilica.com>
72         
73         * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
74         checks into assertions.  When relaxation produces an operation that
75         does not fit in the current FLIX instruction, make sure that the
76         operation is relaxed as needed to account for being placed following
77         the current instruction.
78         
79 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
80
81         PR 5715
82         * configure: Regenerated.
83
84 2008-02-04  Adam Nemet  <anemet@caviumnetworks.com>
85
86         * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
87
88 2008-01-31  Marc Gauthier  <marc@tensilica.com>
89
90         * configure.tgt (xtensa*-*-*): Recognize processor variants.
91
92 2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
93
94         * read.c: (emit_expr): Correct for mingw use of printf size 
95         specifier.
96
97 2008-01-24  Bob Wilson  <bob.wilson@acm.org>
98         
99         * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
100         can only be encoded in FLIX instructions but are not specified as such.
101         (Xtensa Automatic Alignment): Remove obsolete comment about debugging
102         labels.
103         
104 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
105
106         * NEWS: Mention new command line options for x86 targets.
107
108 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
109
110         * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
111
112 2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>
113
114         * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
115
116 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
117
118         * config/tc-i386.c (md_show_usage): Show more processors for
119         -march=/-mtune=.
120
121 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
122
123         * config/tc-i386.c (i386_target_format): Remove cpummx2.
124
125 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
126
127         * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
128         (XXX_MNEM_SUFFIX): Likewise.
129         (END_OF_INSN): Likewise.
130         (templates): Likewise.
131         (modrm_byte): Likewise.
132         (rex_byte): Likewise.
133         (DREX_XXX): Likewise.
134         (drex_byte): Likewise.
135         (sib_byte): Likewise.
136         (processor_type): Likewise.
137         (arch_entry): Likewise.
138         (cpu_sub_arch_name): Remove const.
139         (cpu_arch): Add .vmx and .smx.
140         (set_cpu_arch): Append cpu_sub_arch_name.
141         (md_parse_option): Support -march=CPU[,+EXTENSION...].
142         (md_show_usage): Updated.
143
144         * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
145         (XXX_MNEM_SUFFIX): Likewise.
146         (END_OF_INSN): Likewise.
147         (templates): Likewise.
148         (modrm_byte): Likewise.
149         (rex_byte): Likewise.
150         (DREX_XXX): Likewise.
151         (drex_byte): Likewise.
152         (sib_byte): Likewise.
153         (processor_type): Likewise.
154         (arch_entry): Likewise.
155
156         * doc/as.texinfo: Update i386 -march option.
157
158         * doc/c-i386.texi: Update -march= for ISA.
159
160 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
161         
162         * config/tc-xtensa.c (xtensa_leb128): New function.
163         (md_pseudo_table): Use it for sleb128 and uleb128.
164         (is_leb128_expr): New internal flag.
165         (xtensa_symbol_new_hook): Check new flag.
166         
167 2008-01-16  Eric B. Weddington  <eric.weddington@atmel.com>
168
169         * config/tc-avr.c (mcu_types): Change opcode set for avr3,
170         at90usb82, at90usb162.
171         * doc/c-avr.texi: Change architecture grouping for at90usb82, 
172         at90usb162.
173         These changes support the new avr35 architecture group in gcc.
174
175 2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>
176
177         * config/tc-i386.c (md_assemble): Also zap movzx and movsx
178         suffix for AT&T syntax.
179
180 2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>
181
182         * config/tc-i386.c (match_reg_size): New.
183         (match_mem_size): Likewise.
184         (operand_size_match): Likewise.
185         (operand_type_match): Also clear all size fields.
186         (match_template): Skip Intel syntax when in AT&T syntax.
187         Call operand_size_match to check operand size.
188         (i386_att_operand): Set the mem field to 1 for memory
189         operand.
190         (i386_intel_operand): Likewise.
191
192 2008-01-12  H.J. Lu  <hongjiu.lu@intel.com>
193
194         PR gas/5534
195         * config/tc-i386.c (_i386_insn): Update comment.
196         (operand_type_match): Also clear unspecified.
197         (operand_type_register_match): Likewise.
198         (parse_operands): Initialize unspecified.
199         (i386_intel_operand): Likewise.
200         (match_template): Check memory and accumulator operand size.
201         (i386_att_operand): Clear unspecified on register operand.
202         (intel_e11): Likewise.
203         (intel_e09): Set operand size and clean unspecified for
204         "XXX PTR".
205
206 2008-01-11  Andreas Schwab  <schwab@suse.de>
207
208         * read.c (s_space): Declare `repeat' as offsetT.
209
210 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
211
212         * config/tc-i386.c (match_template): Check processor support
213         first.
214
215 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
216
217         * config/tc-i386.c (match_template): Continue if processor
218         doesn't match.
219
220 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
221
222         * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
223         unwind personality function address.
224
225 2008-01-09  Bob Wilson  <bob.wilson@acm.org>
226         
227         * dwarf2dbg.c (out_sleb128): Delete.
228         (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
229         (out_fixed_inc_line_addr): Delete.
230         (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
231         size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
232         (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
233         (process_entries): Remove calls to out_fixed_inc_line_addr.  When
234         DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
235         * read.h (emit_expr_fix): New prototype.
236         * read.c (emit_expr): Move code to emit_expr_fix and use it here.
237         (emit_expr_fix): New.
238         
239 2008-01-09  H.J. Lu  <hongjiu.lu@intel.com>
240
241         * config/tc-i386.c (match_template): Check register size
242         only when size of operands can be encoded the canonical way.
243
244 2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>
245
246         * config/tc-i386.c (i386_operand): Renamed to ...
247         (i386_att_operand): This.
248         (parse_operands): Updated.
249
250 2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>
251
252         * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
253
254         * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
255         only.
256         (md_assemble): Remove Intel mode workaround.
257         (match_template): Check support for old gcc, AT&T mnemonic
258         and Intel Syntax.
259         (md_parse_option): Don't set intel_mnemonic to 0 for
260         OPTION_MOLD_GCC.
261
262 2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>
263
264         * config/tc-i386.h: Update copyright to 2008.
265
266 2008-01-04  Nick Clifton  <nickc@redhat.com>
267
268         * config/tc-ppc.c (parse_cpu): Preserve the settings of the
269         PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
270
271 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
272
273         * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
274         of SYSV386_COMPAT.
275
276 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
277
278         * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
279         (cpu_flags_not): Likewise.
280         (cpu_flags_match): Updated to check 64bit and arch.
281         (set_code_flag): Remove cpu_arch_flags_not.
282         (set_16bit_gcc_code_flag): Likewise.
283         (set_cpu_arch): Likewise.
284         (md_begin): Likewise.
285         (parse_insn): Call cpu_flags_match to check 64bit and arch.
286         (match_template): Likewise.
287
288 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
289
290         * config/tc-i386.c (process_drex): Initialize modrm_reg and
291         modrm_regmem to 0 instead of None.
292
293 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
294
295         * config/tc-i386.c (match_template): Use the xmmword field
296         instead of no_xsuf.
297
298 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
299
300         * config/tc-i386.c (process_suffix): Fix a typo.
301
302 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
303
304         PR gas/5534
305         * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
306         Check memory size in Intel mode.
307         (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
308         (intel_e09): Likewise.
309
310         * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
311
312 2008-01-02  Catherine Moore  <clm@codesourcery.com>
313
314         * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
315
316 For older changes see ChangeLog-2007
317 \f
318 Local Variables:
319 mode: change-log
320 left-margin: 8
321 fill-column: 74
322 version-control: never
323 End: