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