gdb/
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
025987ea
NS
12008-03-28 Nathan Sidwell <nathan@codesourcery.com>
2
3 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
4 as_bad_where.
5
38de72b9
NC
62008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
7
8 * config/tc-avr.c (mcu_types): Add atmega32m1.
9 * doc/c-avr.texi: Likewise.
10
35997600
NC
112008-03-27 Ineiev <ineiev@yahoo.co.uk>
12
13 * config/tc-arm.c (do_neon_cvt): Move variable declarations to
14 start of block.
15 (do_neon_ext): Fix sign of comparison.
16
99bfa74a
BS
172008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
18
19 From Jie Zhang <jie.zhang@analog.com>
20 * config/bfin-parse.y (asm_1): Check AREGS in comparison
c1db045b 21 instructions. And call yyerror when comparing PREG with
99bfa74a 22 DREG.
c1db045b
BS
23 (check_macfunc_option): New.
24 (check_macfuncs): Check option by calling check_macfunc_option.
25 Fix comparison always true warnings. Both scalar instructions
26 of vector instruction must share the same mode option. Only allow
27 option mode at the end of the second instruction of the vector.
28 (asm_1): Check option by calling check_macfunc_option.
99bfa74a 29
ee171c8f
BS
30 * config/bfin-parse.y (check_macfunc_option): Allow (IU)
31 option for multiply and multiply-accumulate to data register
32 instruction.
33 (check_macfuncs): Don't check if accumulator matches the data register
34 here.
35 (assign_macfunc): Check if accumulator matches the
36 data register in each rule that moves to the data
37 register.
38
e2c038d3
BS
39 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
40 generated for LOOP_BEGIN and LOOP_END instructions.
41 (bfin_gen_loop): Likewise.
42
5746fb46
AK
432008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
44
45 * config/tc-s390.c (md_parse_option): z10 option added.
46
58c85be7
RW
472008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
48
49 * aclocal.m4: Regenerate.
50 * configure: Likewise.
51 * Makefile.in: Likewise.
52 * doc/Makefile.in: Likewise.
53
da6b876e
AM
542008-03-17 Adrian Bunk <bunk@stusta.de>
55
56 PR 5946
57 * config/tc-hppa.c (is_same_frag): Delete.
58
3b492825
BW
592008-03-14 Sterling Augustine <sterling@tensilica.com>
60
61 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
62 RELAX_LOOP_END_ADD_NOP.
63
5808f4a6
NC
642008-03-13 Evandro Menezes <evandro@yahoo.com>
65
66 PR gas/5895
67 * read.c (s_mexit): Warn if attempting to exit a macro when not
68 inside a macro definition.
69
50e7d84b
AM
702008-03-13 Alan Modra <amodra@bigpond.net.au>
71
72 * Makefile.am: Run "make dep-am".
73 * Makefile.in: Regenerate.
74 * configure: Regenerate.
75
15290f0a
PB
762008-03-09 Paul Brook <paul@codesourcery.com>
77
78 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
79 * doc/c-arm.texi: Add cortex-a9.
80
b1cc4aeb
PB
812008-03-09 Paul Brook <paul@codesourcery.com>
82
83 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
84 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
85 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
86 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
87 * doc/c-arm.texi: Document new ARM FPU variants.
88
39623e12
PB
892008-03-07 Paul Brook <paul@codesourcery.com>
90
91 * config/tc-arm.c (md_apply_fix): Use correct offset range.
92
d815f1a9
AM
932008-03-07 Alan Modra <amodra@bigpond.net.au>
94
95 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
96 for strict ordering of powerpc_opcodes, but disable for now.
97
7e806470
PB
982008-03-04 Paul Brook <paul@codesourcery.com>
99
100 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
101 (arm_ext_v7m): Rename...
102 (arm_ext_m): ... to this. Include v6-M.
103 (do_t_add_sub): Allow narrow low-reg non flag setting adds.
104 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
105 (md_assemble): Allow wide msr instructions.
106 (insns): Add classifications for v6-m instructions.
107 (arm_cpu_option_table): Add cortex-m1.
108 (arm_arch_option_table): Add armv6-m.
109 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
110
77cba8a3
BW
1112008-03-03 Sterling Augustine <sterling@tensilica.com>
112 Bob Wilson <bob.wilson@acm.org>
113
114 * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
115 (md_begin): Initialize it.
116 (resources_conflict): Use it.
117
58502fec
BW
1182008-03-03 Sterling Augustine <sterling@tensilica.com>
119
120 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
121
d0548f34
L
1222008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
123 H.J. Lu <hongjiu.lu@intel.com>
124
125 PR gas/5543
126 * read.c (pseudo_set): Don't allow global register symbol.
127
128 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
129 global.
130
1312008-03-03 H.J. Lu <hongjiu.lu@intel.com>
132
133 PR gas/5543
134 * write.c (write_object_file): Don't allow symbols which were
135 equated to register. Stop if there is an error.
136
783de163
AM
1372008-03-01 Alan Modra <amodra@bigpond.net.au>
138
139 * config/tc-ppc.h (struct _ppc_fix_extra): New.
140 (ppc_cpu): Declare.
141 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
142 * config/tc-ppc.c (ppu_cpu): Make global.
143 (ppc_insert_operand): Add ppu_cpu parameter.
144 (md_assemble): Adjust for above change.
145 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
146
5ad34203
NC
1472008-02-22 Nick Clifton <nickc@redhat.com>
148
149 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
584206db 150 targeted ARM ports, otherwise just skip generating the reloc.
5ad34203 151
1ceab344
L
1522008-02-18 H.J. Lu <hongjiu.lu@intel.com>
153
154 * doc/c-i386.texi: Update -march= and .arch.
155
ca75ed2d
NC
1562008-02-18 Nick Clifton <nickc@redhat.com>
157
158 * config/tc-mn10300.c (has_known_symbol_location): New function.
159 Do not regard weak symbols as having a known location.
160 (md_estimate_size_before_relax): Use new function.
161 (md_pcrel_from): Do not compute a pcrel against a weak symbol.
162
192dc9c6
JB
1632008-02-18 Jan Beulich <jbeulich@novell.com>
164
165 * config/tc-i386.c (match_template): Disallow 'l' suffix when
166 currently selected CPU has no 32-bit support.
167 (parse_real_register): Do not return registers not available on
168 currently selected CPU.
169
1fed0ba1
L
1702008-02-16 H.J. Lu <hongjiu.lu@intel.com>
171
172 * config/tc-i386.c (process_immext): Fix format.
173
65da13b5
L
1742008-02-16 H.J. Lu <hongjiu.lu@intel.com>
175
176 * config/tc-i386.c (inoutportreg): New.
177 (process_immext): New.
178 (md_assemble): Use it.
179 (update_imm): Use imm16 and imm32s.
180 (i386_att_operand): Use inoutportreg.
181
0dfbf9d7
L
1822008-02-14 H.J. Lu <hongjiu.lu@intel.com>
183
184 * config/tc-i386.c (operand_type_all_zero): New.
185 (operand_type_set): Likewise.
186 (operand_type_equal): Likewise.
187 (cpu_flags_all_zero): Likewise.
188 (cpu_flags_set): Likewise.
189 (cpu_flags_equal): Likewise.
190 (UINTS_ALL_ZERO): Removed.
191 (UINTS_SET): Likewise.
192 (UINTS_CLEAR): Likewise.
193 (UINTS_EQUAL): Likewise.
194 (cpu_flags_match): Updated.
195 (smallest_imm_type): Likewise.
196 (set_cpu_arch): Likewise.
197 (md_assemble): Likewise.
198 (optimize_imm): Likewise.
199 (match_template): Likewise.
200 (process_suffix): Likewise.
201 (update_imm): Likewise.
202 (process_drex): Likewise.
203 (process_operands): Likewise.
204 (build_modrm_byte): Likewise.
205 (i386_immediate): Likewise.
206 (i386_displacement): Likewise.
207 (i386_att_operand): Likewise.
208 (parse_real_register): Likewise.
209 (md_parse_option): Likewise.
210 (i386_target_format): Likewise.
211
93ac2687
NC
2122008-02-14 Dimitry Andric <dimitry@andric.com>
213
214 PR gas/5712
215 * config/tc-arm.c (s_arm_unwind_save): Advance the input line
216 pointer past the comma after parsing a floating point register
217 name.
218
d669d37f
NC
2192008-02-14 Hakan Ardo <hakan@debian.org>
220
221 PR gas/2626
222 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
223 to AVR_ISA_2xxe.
224 (avr_operand): Disallow post-increment addressing in the lpm
225 instruction for the attiny26.
226
b7240065
JB
2272008-02-13 Jan Beulich <jbeulich@novell.com>
228
229 * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
230 if not in Intel mode.
231 (i386_intel_operand): Ignore segment overrides in immediate and
232 offset operands.
233 (intel_e11): Range-check i.mem_operands before use as array
234 index. Filter out FLAT for uses other than as segment override.
235 (intel_get_token): Remove broken promotion of "FLAT:" to mean
236 "offset FLAT:".
237
34b772a6
JB
2382008-02-13 Jan Beulich <jbeulich@novell.com>
239
240 * config/tc-i386.c (intel_e09): Also special-case 'bound'.
241
a60de03c
JB
2422008-02-13 Jan Beulich <jbeulich@novell.com>
243
244 * config/tc-i386.c (allow_pseudo_reg): New.
245 (parse_real_register): Check for NULL just once. Allow all
246 register table entries when allow_pseudo_reg is non-zero.
247 Don't allow any registers without type when allow_pseudo_reg
248 is zero.
249 (tc_x86_regname_to_dw2regnum): Replace with ...
250 (tc_x86_parse_to_dw2regnum): ... this.
251 (tc_x86_frame_initial_instructions): Adjust for above change.
252 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
253 (tc_parse_to_dw2regnum): New.
254 (tc_x86_regname_to_dw2regnum): Replace with ...
255 (tc_x86_parse_to_dw2regnum): ... this.
256 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
257 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
258 error handling.
259
9c95b521
NC
2602008-02-12 Nick Clifton <nickc@redhat.com>
261
262 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
263 argument.
264 (tic4x_insn_add): Likewise.
265 (md_begin): Drop cast that was discarding a const qualifier.
266 * config/tc-d30v.c (get_reloc): Add const qualifier to op
267 argument.
268 (build_insn): Drop cast that was discarding a const qualifier.
269
f03fe4c1
L
2702008-02-11 H.J. Lu <hongjiu.lu@intel.com>
271
272 * config/tc-i386.c (cpu_arch): Add .xsave.
273 (md_show_usage): Add .xsave.
274
275 * doc/c-i386.texi: Add xsave to -march=.
276
1bf57e9f
AM
2772008-02-07 Alan Modra <amodra@bigpond.net.au>
278
279 * read.c (s_weakref): Don't pass unadorned NULL to concat.
280 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
281
2276bc20
BW
2822008-02-05 Sterling Augustine <sterling@tensilica.com>
283
284 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
285 checks into assertions. When relaxation produces an operation that
286 does not fit in the current FLIX instruction, make sure that the
287 operation is relaxed as needed to account for being placed following
288 the current instruction.
289
bb8541b9
L
2902008-02-04 H.J. Lu <hongjiu.lu@intel.com>
291
292 PR 5715
293 * configure: Regenerated.
294
967344c6
AN
2952008-02-04 Adam Nemet <anemet@caviumnetworks.com>
296
297 * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
298
f8a52b59
BW
2992008-01-31 Marc Gauthier <marc@tensilica.com>
300
301 * configure.tgt (xtensa*-*-*): Recognize processor variants.
302
6e3d6dc1
NC
3032008-01-25 Kai Tietz <kai.tietz@onevision.com>
304
305 * read.c: (emit_expr): Correct for mingw use of printf size
306 specifier.
307
cec28c98
BW
3082008-01-24 Bob Wilson <bob.wilson@acm.org>
309
310 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
311 can only be encoded in FLIX instructions but are not specified as such.
312 (Xtensa Automatic Alignment): Remove obsolete comment about debugging
313 labels.
314
ae40c993
L
3152008-01-24 H.J. Lu <hongjiu.lu@intel.com>
316
317 * NEWS: Mention new command line options for x86 targets.
318
599121aa
L
3192008-01-23 H.J. Lu <hongjiu.lu@intel.com>
320
321 * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
322
2b1ed17b
EW
3232008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
324
325 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
326
2cb4f3d5
L
3272008-01-23 H.J. Lu <hongjiu.lu@intel.com>
328
329 * config/tc-i386.c (md_show_usage): Show more processors for
330 -march=/-mtune=.
331
115c7c25
L
3322008-01-22 H.J. Lu <hongjiu.lu@intel.com>
333
334 * config/tc-i386.c (i386_target_format): Remove cpummx2.
335
6305a203
L
3362008-01-22 H.J. Lu <hongjiu.lu@intel.com>
337
338 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
339 (XXX_MNEM_SUFFIX): Likewise.
340 (END_OF_INSN): Likewise.
341 (templates): Likewise.
342 (modrm_byte): Likewise.
343 (rex_byte): Likewise.
344 (DREX_XXX): Likewise.
345 (drex_byte): Likewise.
346 (sib_byte): Likewise.
347 (processor_type): Likewise.
348 (arch_entry): Likewise.
349 (cpu_sub_arch_name): Remove const.
350 (cpu_arch): Add .vmx and .smx.
351 (set_cpu_arch): Append cpu_sub_arch_name.
352 (md_parse_option): Support -march=CPU[,+EXTENSION...].
353 (md_show_usage): Updated.
354
355 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
356 (XXX_MNEM_SUFFIX): Likewise.
357 (END_OF_INSN): Likewise.
358 (templates): Likewise.
359 (modrm_byte): Likewise.
360 (rex_byte): Likewise.
361 (DREX_XXX): Likewise.
362 (drex_byte): Likewise.
363 (sib_byte): Likewise.
364 (processor_type): Likewise.
365 (arch_entry): Likewise.
366
367 * doc/as.texinfo: Update i386 -march option.
368
369 * doc/c-i386.texi: Update -march= for ISA.
370
fb227da0
BW
3712008-01-18 Bob Wilson <bob.wilson@acm.org>
372
373 * config/tc-xtensa.c (xtensa_leb128): New function.
374 (md_pseudo_table): Use it for sleb128 and uleb128.
375 (is_leb128_expr): New internal flag.
376 (xtensa_symbol_new_hook): Check new flag.
377
982b62a0
EW
3782008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
379
380 * config/tc-avr.c (mcu_types): Change opcode set for avr3,
381 at90usb82, at90usb162.
382 * doc/c-avr.texi: Change architecture grouping for at90usb82,
383 at90usb162.
384 These changes support the new avr35 architecture group in gcc.
385
321fd21e
L
3862008-01-15 H.J. Lu <hongjiu.lu@intel.com>
387
388 * config/tc-i386.c (md_assemble): Also zap movzx and movsx
389 suffix for AT&T syntax.
390
5c07affc
L
3912008-01-14 H.J. Lu <hongjiu.lu@intel.com>
392
393 * config/tc-i386.c (match_reg_size): New.
394 (match_mem_size): Likewise.
395 (operand_size_match): Likewise.
396 (operand_type_match): Also clear all size fields.
397 (match_template): Skip Intel syntax when in AT&T syntax.
398 Call operand_size_match to check operand size.
399 (i386_att_operand): Set the mem field to 1 for memory
400 operand.
401 (i386_intel_operand): Likewise.
402
7d5e4556
L
4032008-01-12 H.J. Lu <hongjiu.lu@intel.com>
404
405 PR gas/5534
406 * config/tc-i386.c (_i386_insn): Update comment.
407 (operand_type_match): Also clear unspecified.
408 (operand_type_register_match): Likewise.
409 (parse_operands): Initialize unspecified.
410 (i386_intel_operand): Likewise.
411 (match_template): Check memory and accumulator operand size.
412 (i386_att_operand): Clear unspecified on register operand.
413 (intel_e11): Likewise.
414 (intel_e09): Set operand size and clean unspecified for
415 "XXX PTR".
416
a4a151e6
AS
4172008-01-11 Andreas Schwab <schwab@suse.de>
418
419 * read.c (s_space): Declare `repeat' as offsetT.
420
50aecf8c
L
4212008-01-10 H.J. Lu <hongjiu.lu@intel.com>
422
423 * config/tc-i386.c (match_template): Check processor support
424 first.
425
2dbab7d5
L
4262008-01-10 H.J. Lu <hongjiu.lu@intel.com>
427
428 * config/tc-i386.c (match_template): Continue if processor
429 doesn't match.
430
417c21b7
AO
4312008-01-09 Alexandre Oliva <aoliva@redhat.com>
432
433 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
434 unwind personality function address.
435
7ddd14de
BW
4362008-01-09 Bob Wilson <bob.wilson@acm.org>
437
438 * dwarf2dbg.c (out_sleb128): Delete.
439 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
440 (out_fixed_inc_line_addr): Delete.
441 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
442 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
443 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
444 (process_entries): Remove calls to out_fixed_inc_line_addr. When
445 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
446 * read.h (emit_expr_fix): New prototype.
447 * read.c (emit_expr): Move code to emit_expr_fix and use it here.
448 (emit_expr_fix): New.
449
45664ddb
L
4502008-01-09 H.J. Lu <hongjiu.lu@intel.com>
451
452 * config/tc-i386.c (match_template): Check register size
453 only when size of operands can be encoded the canonical way.
454
a7619375
L
4552008-01-08 H.J. Lu <hongjiu.lu@intel.com>
456
457 * config/tc-i386.c (i386_operand): Renamed to ...
458 (i386_att_operand): This.
459 (parse_operands): Updated.
460
e1d4d893
L
4612008-01-05 H.J. Lu <hongjiu.lu@intel.com>
462
463 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
464
465 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
466 only.
467 (md_assemble): Remove Intel mode workaround.
468 (match_template): Check support for old gcc, AT&T mnemonic
469 and Intel Syntax.
470 (md_parse_option): Don't set intel_mnemonic to 0 for
471 OPTION_MOLD_GCC.
472
23117009
L
4732008-01-04 H.J. Lu <hongjiu.lu@intel.com>
474
475 * config/tc-i386.h: Update copyright to 2008.
476
b0e34bfe
NC
4772008-01-04 Nick Clifton <nickc@redhat.com>
478
479 * config/tc-ppc.c (parse_cpu): Preserve the settings of the
480 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
481
aacd03c3
L
4822008-01-03 H.J. Lu <hongjiu.lu@intel.com>
483
484 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
485 of SYSV386_COMPAT.
486
3629bb00
L
4872008-01-03 H.J. Lu <hongjiu.lu@intel.com>
488
489 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
490 (cpu_flags_not): Likewise.
491 (cpu_flags_match): Updated to check 64bit and arch.
492 (set_code_flag): Remove cpu_arch_flags_not.
493 (set_16bit_gcc_code_flag): Likewise.
494 (set_cpu_arch): Likewise.
495 (md_begin): Likewise.
496 (parse_insn): Call cpu_flags_match to check 64bit and arch.
497 (match_template): Likewise.
498
5dd15031
JJ
4992008-01-03 Jakub Jelinek <jakub@redhat.com>
500
501 * config/tc-i386.c (process_drex): Initialize modrm_reg and
502 modrm_regmem to 0 instead of None.
503
24995bd6
L
5042008-01-03 H.J. Lu <hongjiu.lu@intel.com>
505
506 * config/tc-i386.c (match_template): Use the xmmword field
507 instead of no_xsuf.
508
fc4adea1
L
5092008-01-02 H.J. Lu <hongjiu.lu@intel.com>
510
511 * config/tc-i386.c (process_suffix): Fix a typo.
512
582d5edd
L
5132008-01-02 H.J. Lu <hongjiu.lu@intel.com>
514
515 PR gas/5534
516 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
517 Check memory size in Intel mode.
518 (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
519 (intel_e09): Likewise.
520
521 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
522
e7c604dd
CM
5232008-01-02 Catherine Moore <clm@codesourcery.com>
524
525 * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
526
6c7ac64e 527For older changes see ChangeLog-2007
08d56133
NC
528\f
529Local Variables:
530mode: change-log
531left-margin: 8
532fill-column: 74
533version-control: never
534End:
This page took 0.345323 seconds and 4 git commands to generate.