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