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