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