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