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