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