OSDN Git Service

bfd/
[pf3gnuchains/pf3gnuchains3x.git] / gas / ChangeLog
1 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
2             Bob Wilson  <bob.wilson@acm.org>
3         
4         * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
5         (md_begin): Initialize it.
6         (resources_conflict): Use it.
7         
8 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
9         
10         * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
11         
12 2008-03-03  Denys Vlasenko <vda.linux@googlemail.com>
13             H.J. Lu  <hongjiu.lu@intel.com>
14
15         PR gas/5543
16         * read.c (pseudo_set): Don't allow global register symbol.
17
18         * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
19         global.
20
21 2008-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22
23         PR gas/5543
24         * write.c (write_object_file): Don't allow symbols which were
25         equated to register.  Stop if there is an error.
26
27 2008-03-01  Alan Modra  <amodra@bigpond.net.au>
28
29         * config/tc-ppc.h (struct _ppc_fix_extra): New.
30         (ppc_cpu): Declare.
31         (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
32         * config/tc-ppc.c (ppu_cpu): Make global.
33         (ppc_insert_operand): Add ppu_cpu parameter.
34         (md_assemble): Adjust for above change.
35         (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
36
37 2008-02-22  Nick Clifton  <nickc@redhat.com>
38
39         * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
40         targeted ARM ports, otherwise just skip generating the reloc.
41
42 2008-02-18  H.J. Lu  <hongjiu.lu@intel.com>
43
44         * doc/c-i386.texi: Update -march= and .arch.
45
46 2008-02-18  Nick Clifton  <nickc@redhat.com>
47
48         * config/tc-mn10300.c (has_known_symbol_location): New function.
49         Do not regard weak symbols as having a known location.
50         (md_estimate_size_before_relax): Use new function.
51         (md_pcrel_from): Do not compute a pcrel against a weak symbol.
52
53 2008-02-18  Jan Beulich  <jbeulich@novell.com>
54
55         * config/tc-i386.c (match_template): Disallow 'l' suffix when
56         currently selected CPU has no 32-bit support.
57         (parse_real_register): Do not return registers not available on
58         currently selected CPU.
59
60 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
61
62         * config/tc-i386.c (process_immext): Fix format.
63
64 2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>
65
66         * config/tc-i386.c (inoutportreg): New.
67         (process_immext): New.
68         (md_assemble): Use it.
69         (update_imm): Use imm16 and imm32s.
70         (i386_att_operand): Use inoutportreg. 
71
72 2008-02-14  H.J. Lu  <hongjiu.lu@intel.com>
73
74         * config/tc-i386.c (operand_type_all_zero): New.
75         (operand_type_set): Likewise.
76         (operand_type_equal): Likewise.
77         (cpu_flags_all_zero): Likewise.
78         (cpu_flags_set): Likewise.
79         (cpu_flags_equal): Likewise.
80         (UINTS_ALL_ZERO): Removed.
81         (UINTS_SET): Likewise.
82         (UINTS_CLEAR): Likewise.
83         (UINTS_EQUAL): Likewise.
84         (cpu_flags_match): Updated.
85         (smallest_imm_type): Likewise.
86         (set_cpu_arch): Likewise.
87         (md_assemble): Likewise.
88         (optimize_imm): Likewise.
89         (match_template): Likewise.
90         (process_suffix): Likewise.
91         (update_imm): Likewise.
92         (process_drex): Likewise.
93         (process_operands): Likewise.
94         (build_modrm_byte): Likewise.
95         (i386_immediate): Likewise.
96         (i386_displacement): Likewise.
97         (i386_att_operand): Likewise.
98         (parse_real_register): Likewise.
99         (md_parse_option): Likewise.
100         (i386_target_format): Likewise.
101
102 2008-02-14  Dimitry Andric  <dimitry@andric.com>
103
104         PR gas/5712
105         * config/tc-arm.c (s_arm_unwind_save): Advance the input line
106         pointer past the comma after parsing a floating point register
107         name.
108
109 2008-02-14  Hakan Ardo  <hakan@debian.org>
110
111         PR gas/2626
112         * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
113         to AVR_ISA_2xxe.
114         (avr_operand): Disallow post-increment addressing in the lpm
115         instruction for the attiny26.
116
117 2008-02-13  Jan Beulich  <jbeulich@novell.com>
118
119         * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
120         if not in Intel mode.
121         (i386_intel_operand): Ignore segment overrides in immediate and
122         offset operands.
123         (intel_e11): Range-check i.mem_operands before use as array
124         index. Filter out FLAT for uses other than as segment override.
125         (intel_get_token): Remove broken promotion of "FLAT:" to mean
126         "offset FLAT:".
127
128 2008-02-13  Jan Beulich  <jbeulich@novell.com>
129
130         * config/tc-i386.c (intel_e09): Also special-case 'bound'.
131
132 2008-02-13  Jan Beulich  <jbeulich@novell.com>
133
134         * config/tc-i386.c (allow_pseudo_reg): New.
135         (parse_real_register): Check for NULL just once. Allow all
136         register table entries when allow_pseudo_reg is non-zero.
137         Don't allow any registers without type when allow_pseudo_reg
138         is zero.
139         (tc_x86_regname_to_dw2regnum): Replace with ...
140         (tc_x86_parse_to_dw2regnum): ... this.
141         (tc_x86_frame_initial_instructions): Adjust for above change.
142         * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
143         (tc_parse_to_dw2regnum): New.
144         (tc_x86_regname_to_dw2regnum): Replace with ...
145         (tc_x86_parse_to_dw2regnum): ... this.
146         * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
147         (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
148         error handling.
149
150 2008-02-12  Nick Clifton  <nickc@redhat.com>
151
152         * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
153         argument.
154         (tic4x_insn_add): Likewise.
155         (md_begin): Drop cast that was discarding a const qualifier.
156         * config/tc-d30v.c (get_reloc): Add const qualifier to op
157         argument.
158         (build_insn): Drop cast that was discarding a const qualifier.
159
160 2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>
161
162         * config/tc-i386.c (cpu_arch): Add .xsave.
163         (md_show_usage): Add .xsave.
164
165         * doc/c-i386.texi: Add xsave to -march=.
166
167 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
168
169         * read.c (s_weakref): Don't pass unadorned NULL to concat.
170         * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
171
172 2008-02-05  Sterling Augustine  <sterling@tensilica.com>
173         
174         * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
175         checks into assertions.  When relaxation produces an operation that
176         does not fit in the current FLIX instruction, make sure that the
177         operation is relaxed as needed to account for being placed following
178         the current instruction.
179         
180 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
181
182         PR 5715
183         * configure: Regenerated.
184
185 2008-02-04  Adam Nemet  <anemet@caviumnetworks.com>
186
187         * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
188
189 2008-01-31  Marc Gauthier  <marc@tensilica.com>
190
191         * configure.tgt (xtensa*-*-*): Recognize processor variants.
192
193 2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
194
195         * read.c: (emit_expr): Correct for mingw use of printf size 
196         specifier.
197
198 2008-01-24  Bob Wilson  <bob.wilson@acm.org>
199         
200         * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
201         can only be encoded in FLIX instructions but are not specified as such.
202         (Xtensa Automatic Alignment): Remove obsolete comment about debugging
203         labels.
204         
205 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
206
207         * NEWS: Mention new command line options for x86 targets.
208
209 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
210
211         * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
212
213 2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>
214
215         * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
216
217 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
218
219         * config/tc-i386.c (md_show_usage): Show more processors for
220         -march=/-mtune=.
221
222 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
223
224         * config/tc-i386.c (i386_target_format): Remove cpummx2.
225
226 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
227
228         * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
229         (XXX_MNEM_SUFFIX): Likewise.
230         (END_OF_INSN): Likewise.
231         (templates): Likewise.
232         (modrm_byte): Likewise.
233         (rex_byte): Likewise.
234         (DREX_XXX): Likewise.
235         (drex_byte): Likewise.
236         (sib_byte): Likewise.
237         (processor_type): Likewise.
238         (arch_entry): Likewise.
239         (cpu_sub_arch_name): Remove const.
240         (cpu_arch): Add .vmx and .smx.
241         (set_cpu_arch): Append cpu_sub_arch_name.
242         (md_parse_option): Support -march=CPU[,+EXTENSION...].
243         (md_show_usage): Updated.
244
245         * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
246         (XXX_MNEM_SUFFIX): Likewise.
247         (END_OF_INSN): Likewise.
248         (templates): Likewise.
249         (modrm_byte): Likewise.
250         (rex_byte): Likewise.
251         (DREX_XXX): Likewise.
252         (drex_byte): Likewise.
253         (sib_byte): Likewise.
254         (processor_type): Likewise.
255         (arch_entry): Likewise.
256
257         * doc/as.texinfo: Update i386 -march option.
258
259         * doc/c-i386.texi: Update -march= for ISA.
260
261 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
262         
263         * config/tc-xtensa.c (xtensa_leb128): New function.
264         (md_pseudo_table): Use it for sleb128 and uleb128.
265         (is_leb128_expr): New internal flag.
266         (xtensa_symbol_new_hook): Check new flag.
267         
268 2008-01-16  Eric B. Weddington  <eric.weddington@atmel.com>
269
270         * config/tc-avr.c (mcu_types): Change opcode set for avr3,
271         at90usb82, at90usb162.
272         * doc/c-avr.texi: Change architecture grouping for at90usb82, 
273         at90usb162.
274         These changes support the new avr35 architecture group in gcc.
275
276 2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>
277
278         * config/tc-i386.c (md_assemble): Also zap movzx and movsx
279         suffix for AT&T syntax.
280
281 2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>
282
283         * config/tc-i386.c (match_reg_size): New.
284         (match_mem_size): Likewise.
285         (operand_size_match): Likewise.
286         (operand_type_match): Also clear all size fields.
287         (match_template): Skip Intel syntax when in AT&T syntax.
288         Call operand_size_match to check operand size.
289         (i386_att_operand): Set the mem field to 1 for memory
290         operand.
291         (i386_intel_operand): Likewise.
292
293 2008-01-12  H.J. Lu  <hongjiu.lu@intel.com>
294
295         PR gas/5534
296         * config/tc-i386.c (_i386_insn): Update comment.
297         (operand_type_match): Also clear unspecified.
298         (operand_type_register_match): Likewise.
299         (parse_operands): Initialize unspecified.
300         (i386_intel_operand): Likewise.
301         (match_template): Check memory and accumulator operand size.
302         (i386_att_operand): Clear unspecified on register operand.
303         (intel_e11): Likewise.
304         (intel_e09): Set operand size and clean unspecified for
305         "XXX PTR".
306
307 2008-01-11  Andreas Schwab  <schwab@suse.de>
308
309         * read.c (s_space): Declare `repeat' as offsetT.
310
311 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
312
313         * config/tc-i386.c (match_template): Check processor support
314         first.
315
316 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
317
318         * config/tc-i386.c (match_template): Continue if processor
319         doesn't match.
320
321 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
322
323         * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
324         unwind personality function address.
325
326 2008-01-09  Bob Wilson  <bob.wilson@acm.org>
327         
328         * dwarf2dbg.c (out_sleb128): Delete.
329         (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
330         (out_fixed_inc_line_addr): Delete.
331         (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
332         size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
333         (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
334         (process_entries): Remove calls to out_fixed_inc_line_addr.  When
335         DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
336         * read.h (emit_expr_fix): New prototype.
337         * read.c (emit_expr): Move code to emit_expr_fix and use it here.
338         (emit_expr_fix): New.
339         
340 2008-01-09  H.J. Lu  <hongjiu.lu@intel.com>
341
342         * config/tc-i386.c (match_template): Check register size
343         only when size of operands can be encoded the canonical way.
344
345 2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>
346
347         * config/tc-i386.c (i386_operand): Renamed to ...
348         (i386_att_operand): This.
349         (parse_operands): Updated.
350
351 2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>
352
353         * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
354
355         * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
356         only.
357         (md_assemble): Remove Intel mode workaround.
358         (match_template): Check support for old gcc, AT&T mnemonic
359         and Intel Syntax.
360         (md_parse_option): Don't set intel_mnemonic to 0 for
361         OPTION_MOLD_GCC.
362
363 2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>
364
365         * config/tc-i386.h: Update copyright to 2008.
366
367 2008-01-04  Nick Clifton  <nickc@redhat.com>
368
369         * config/tc-ppc.c (parse_cpu): Preserve the settings of the
370         PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
371
372 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
373
374         * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
375         of SYSV386_COMPAT.
376
377 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
378
379         * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
380         (cpu_flags_not): Likewise.
381         (cpu_flags_match): Updated to check 64bit and arch.
382         (set_code_flag): Remove cpu_arch_flags_not.
383         (set_16bit_gcc_code_flag): Likewise.
384         (set_cpu_arch): Likewise.
385         (md_begin): Likewise.
386         (parse_insn): Call cpu_flags_match to check 64bit and arch.
387         (match_template): Likewise.
388
389 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
390
391         * config/tc-i386.c (process_drex): Initialize modrm_reg and
392         modrm_regmem to 0 instead of None.
393
394 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
395
396         * config/tc-i386.c (match_template): Use the xmmword field
397         instead of no_xsuf.
398
399 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
400
401         * config/tc-i386.c (process_suffix): Fix a typo.
402
403 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
404
405         PR gas/5534
406         * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
407         Check memory size in Intel mode.
408         (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
409         (intel_e09): Likewise.
410
411         * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
412
413 2008-01-02  Catherine Moore  <clm@codesourcery.com>
414
415         * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
416
417 For older changes see ChangeLog-2007
418 \f
419 Local Variables:
420 mode: change-log
421 left-margin: 8
422 fill-column: 74
423 version-control: never
424 End: