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