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