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