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