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