gas: blackfin: gas: blackfin: reject invalid BYTEOP16M insns
[binutils-gdb.git] / gas / ChangeLog
1 2011-03-29 Mike Frysinger <vapier@gentoo.org>
2
3 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
4 reg $2 is the same as dest reg $4.
5
6 2011-03-29 Mike Frysinger <vapier@gentoo.org>
7
8 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
9 reg $2 is the same as dest reg $4.
10
11 2011-03-28 Mike Frysinger <vapier@gentoo.org>
12
13 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
14 reg $1 is the same as dest reg $7.
15
16 2011-03-28 H.J. Lu <hongjiu.lu@intel.com>
17
18 * config/tc-i386.c (handle_quad): New.
19 (md_pseudo_table): Add "quad".
20
21 2011-03-26 John Marino <binutils@marino.st>
22
23 * configure.tgt: Fix support for *-*-dragonfly*.
24 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
25 * config/te-dragonfly.h: New file.
26
27 2011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
28
29 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
30 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
31 at90pwm161.
32 * doc/c-avr.texi: Document new device names.
33
34 2011-03-24 Mike Frysinger <vapier@gentoo.org>
35
36 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
37 reg $1 is the same as dest reg $7.
38 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
39 dest reg $7.
40
41 2011-03-24 Mike Frysinger <vapier@gentoo.org>
42
43 * config/bfin-parse.y (check_macfuncs): Clarify error message when
44 P is mismatched. Check destination regno are off by one when P is
45 set, or are equal when P is not set.
46
47 2011-03-23 Mike Frysinger <vapier@gentoo.org>
48
49 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
50 the same as dest reg $4.
51 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
52
53 2011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
54
55 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
56 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
57 * doc/c-avr.texi: Document new device names.
58
59 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
60
61 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
62 (AVR_INSN): Change definition to match.
63 (avr_opcodes): Likewise, change to match.
64 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
65 (md_show_usage): Add XMEGA architecture names.
66 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
67 Add support for SPM Z+ instruction.
68 * doc/c-avr.texi: Add documentation for XMEGA architectures and
69 devices.
70
71 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
72
73 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
74
75 2011-03-18 Alan Modra <amodra@gmail.com>
76
77 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
78 on .size expression errors rather than symbols in the size expression.
79
80 2011-03-18 Alan Modra <amodra@gmail.com>
81
82 * input-scrub.c (line_numberT): Delete.
83 (input_scrub_close): Reset line counters.
84 * messages.c (as_show_where): Don't print invalid line number.
85 (as_warn_internal, as_bad_internal): Likewise.
86
87 2011-03-18 Alan Modra <amodra@gmail.com>
88
89 * read.c (read_a_source_file): Remove md_after_pass_hook.
90 Move "quit" label before set of dot_symbol.
91 * config/tc-d10v.h (md_after_pass_hook): Don't define.
92 * config/tc-d30v.h (md_after_pass_hook): Likewise.
93 * config/tc-m32r.h (md_after_pass_hook): Likewise.
94 (md_cleanup): Define to call m32r_fill_insn.
95
96 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
97
98 * config/tc-s390.c (md_parse_option): Add -march=all option which
99 switches to the highest available CPU.
100
101 2011-03-17 Alan Modra <amodra@gmail.com>
102
103 PR 12569
104 * expr.c (operand): Correct passing of "mode" to expr.
105 * read.c (do_org): Allow expr_section.
106 (get_known_segmented_expression): Don't assert anything about the
107 segment.
108
109 2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
110
111 * as.c (show_usage): Add --size-check=.
112 (parse_args): Add and handle OPTION_SIZE_CHECK.
113
114 * as.h (flag_size_check): New.
115
116 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
117 bad .size directive only for --size-check=error.
118
119 * doc/as.texinfo: Document --size-check=.
120
121 2011-03-14 Mike Frysinger <vapier@gentoo.org>
122
123 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
124 bf542/bf544/bf547/bf548/bf549.
125
126 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
127
128 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
129 determine whether a relocation is needed.
130 (md_apply_fix, arm_apply_sym_value): Likewise.
131
132 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
133
134 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
135 for Thumb symbols.
136
137 2011-03-11 Nick Clifton <nickc@redhat.com>
138
139 * remap.c (remap_debug_filename): Always allocate a buffer for the
140 returned pointer.
141 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
142 remap_debug_filename.
143
144 2011-03-10 Michael Snyder <msnyder@vmware.com>
145
146 Revert the following change:
147 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
148 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
149
150 2011-03-10 Alan Modra <amodra@gmail.com>
151
152 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
153 TARGET_SYMBOL_FIELDS): Don't define.
154 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
155
156 2011-03-09 Michael Snyder <msnyder@vmware.com>
157
158 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
159 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
160 (emit_fixed_inc_line_addr): Assign instead of conditional in
161 assert.
162
163 2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
164
165 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
166 non-constant .size expression.
167
168 2011-03-02 Nick Clifton <nickc@redhat.com>
169
170 * ecoff.c: Incldue filenames.h
171
172 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
173
174 * depend.c (register_dependency): Use filename_(n)cmp.
175 * dwarf2dbg.c (get_filenum): Likewise.
176 * ecoff.c (add_file): Likewise.
177 (ecoff_generate_asm_lineno): Likewise.
178 * input-scrub.c (new_logical_line_flags): Likewise.
179 * listing.c (file_info): Likewise.
180 (listing_newline): Likewise.
181 * remap.c (remap_debug_filename): Likewise.
182 * stabs.c (generate_asm_file): Likewise.
183 (stabs_generate_asm_lineno): Likewise.
184
185 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
186
187 * config/tc-mips.c (append_insn): Disable branch relaxation for
188 DSP instructions.
189
190 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
191
192 * config/tc-mips.c (macro): Handle M_PREF_AB.
193
194 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
195
196 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
197 register to use.
198 (RELAX_BRANCH_UNCOND): Adjust accordingly.
199 (RELAX_BRANCH_LIKELY): Likewise.
200 (RELAX_BRANCH_LINK): Likewise.
201 (RELAX_BRANCH_TOOFAR): Likewise.
202 (RELAX_BRANCH_AT): New macro.
203 (append_insn): Encode the temporary register to use in standard
204 MIPS branch relaxation.
205 (relaxed_branch_length): Update according to changes to
206 RELAX_BRANCH_ENCODE.
207 (md_convert_frag): Use the encoded register as the temporary.
208
209 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
210
211 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
212 reject PC-relative relocations.
213
214 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
215
216 * config/tc-mips.c (md_convert_frag): Correct message
217 capitalization.
218
219 2011-02-28 Alan Modra <amodra@gmail.com>
220
221 * symbols.c (report_op_error): Remove unnecessary forward declaration.
222 Add "op" parameter. Report operator and operand segments in error
223 message, not operand symbols.
224 (resolve_symbol_value): Always set segment for equated symbols, not
225 just when finalizing. Adjust report_op_error calls.
226
227 2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
228
229 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
230 if 64bit relocations aren't allowed.
231
232 2011-02-25 Alan Modra <amodra@gmail.com>
233
234 PR gas/12519
235 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
236
237 2011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
238
239 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
240 initialization of offset_reloc.
241
242 2011-02-15 Richard Henderson <rth@redhat.com>
243
244 * dw2gencfi.c (dot_cfi_dummy): New.
245 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
246 * read.c (pobegin): Unconditionally call cfi_pop_insert.
247
248 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
249
250 * configure: Regenerate.
251
252 2011-02-13 Mike Frysinger <vapier@gentoo.org>
253
254 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
255 * config/bfin-parse.y (BYTEOP2M): Delete token.
256 (asm_1): Remove BYTEOP2M insn matching.
257
258 2011-02-12 Mike Frysinger <vapier@gentoo.org>
259
260 * config/bfin-defs.h: Include opcode/bfin.h.
261 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
262
263 2011-02-11 Mike Frysinger <vapier@gentoo.org>
264
265 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
266 (Modify Registers): Fix subtracted typo.
267 (.byte2): Extend and swap descriptions with .byte4.
268 (.byte4): Extend and swap descriptions with .byte2.
269 (.db, .dw, .dd): Document behavior.
270
271 2011-02-11 Mike Frysinger <vapier@gentoo.org>
272
273 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
274
275 2011-02-11 Alan Modra <amodra@gmail.com>
276
277 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
278
279 2011-02-10 Alan Modra <amodra@gmail.com>
280
281 * doc/as.texinfo (Overview): Add missing markup around Blackfin
282 and PowerPC options.
283
284 2011-02-10 Alan Modra <amodra@gmail.com>
285
286 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
287 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
288 (Overview <Target PowerPC options>): Add a number of missing options.
289 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
290
291 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
292
293 PR gas/6957
294 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
295 for i686.
296
297 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
298
299 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
300 for ISA extensions.
301 (md_parse_option): Likewise.
302
303 2011-02-04 Bernd Schmidt <bernds@codesourcery.com>
304
305 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
306 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
307 (TIC6X Options): Don't mention "-matomic".
308 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
309 (md_longopts): Remove corresponding entries.
310 (md_parse_option): Don't handle them.
311 (md_show_usage): Don't document them.
312 (tic6x_atomic): Delete variable.
313 (tic6x_update_features): Always copy tic6x_arch_enable to
314 tic6x_features.
315 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
316 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
317 (md_pseudo_table): Remove ".atomic" and ".noatomic".
318
319 2011-01-31 Nick Clifton <nickc@redhat.com>
320
321 * write.c (write_contents): Include output file name and bfd error
322 value when reporting the inability to write to the output file.
323 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
324 frag that has a non-zero fill value.
325
326 2011-01-27 DJ Delorie <dj@redhat.com>
327
328 * config/tc-rx.c (md_convert_frag): If we can't compute the target
329 address, zero out the values stored in the object file to make
330 objdump's output consistent.
331
332 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
333
334 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
335 x86_dwarf2_return_column to 32.
336
337 2011-01-20 Nick Clifton <nickc@redhat.com>
338
339 PR gas/12384
340 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
341 comparison.
342
343 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
344
345 * write.c (compress_debug): Return if section size is smaller
346 than 32 bytes.
347
348 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
349
350 PR gas/12409
351 * write.c (compress_debug): Return if section size is 0.
352
353 2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
354
355 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
356 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
357 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
358 fmp626} options.
359
360 2011-01-18 Nick Clifton <nickc@redhat.com>
361
362 PR gas/12390
363 * doc/all.texi: Add NS32K
364 * doc/as.texinfo: Remove target specific details of which
365 characters act as comment initiators and statement separators into
366 individual target specific files.
367 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
368 the hash character at the start of a line.
369 * doc/c-arm.texi (ARM-Chars): Likewise.
370 * doc/c-avr.texi (AVR-Chars): Likewise.
371 * doc/c-d10v.texi (D10V-Chars): Likewise.
372 * doc/c-d30v.texi (D30V-Chars): Likewise.
373 * doc/c-mmix.texi (MMIX-Chars): Likewise.
374 * doc/c-s390.texi (s390 characters): Likewise.
375 * doc/c-sh.texi (SH-Chars): Likewise.
376 * doc/c-sh64.texi (SH64-Chars): Likewise.
377 * doc/c-sparc.texi (SPARC-Chars): Likewise.
378 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
379 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
380 * doc/c-z80.texi (Z80-Chars): Likewise.
381 * doc/c-z8k.texi (Z8000-Chars): Likewise.
382 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
383 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
384 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
385 line separator characters.
386 * doc/c-cr16.texi (CR16 Syntax): Likewise.
387 * doc/c-i386.texi (i386-Chars): Likewise.
388 * doc/c-i860.texi (i860-Chars): Likewise.
389 * doc/c-i960.texi (i960-Chars): Likewise.
390 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
391 * doc/c-lm32.texi (LM32-Chars): likewise.
392 * doc/c-m32c.texi (M32C-Chars): Likewise.
393 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
394 * doc/c-m68k.texi (M68K-Chars): Likewise.
395 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
396 * doc/c-msp430.texi (MSP430-Chars): Likewise.
397 * doc/c-mt.texi (MT-Chars): Likewise.
398 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
399 * doc/c-pj.texi (PJ-Chars): Likewise.
400 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
401 * doc/c-rx.texi (RX-Chars): Likewise.
402 * doc/c-score.texi (SCORE-Chars): Likewise.
403 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
404 * doc/c-v850.texi (V850-Chars): Likewise.
405 * doc/c-vax.texi (VAX-Chars): Likewise.
406 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
407
408 2011-01-17 Quentin Neill <quentin.neill@amd.com>
409
410 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
411
412 * doc/c-i386.texi (i386-TBM): New section.
413
414 2011-01-16 H.J. Lu <hongjiu.lu@intel.com>
415
416 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
417 (disallow_64bit_reloc): This.
418 (md_assemble): Don't check movabs for x32 mode here.
419 (i386_target_format): Updated.
420 (tc_gen_reloc): Check if 64bit relocations are allowed.
421
422 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
423
424 * config/tc-i386.c (disallow_64bit_disp): New.
425 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
426 X86_64_ABI/X86_64_X32_ABI.
427 (md_assemble): Don't allow movabs with relocation in x32 mode.
428 (i386_target_format): Updated.
429
430 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
431
432 * config/tc-i386.c (OPTION_N32): Renamed to ...
433 (OPTION_X32): This.
434 (md_longopts): Replace n32 with x32.
435 (md_parse_option): Updated.
436 (md_show_usage): Likewise.
437
438 * doc/c-i386.texi: Replace --n32 with --x32.
439
440 2011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
441
442 * config/tc-mips.c (mips_ip): Update error messages. Take an
443 unadjusted offset for "+c" argument.
444
445 2011-01-10 Nick Clifton <nickc@redhat.com>
446
447 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
448 it.
449
450 2011-01-10 Nick Clifton <nickc@redhat.com>
451
452 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
453 part of the file.
454
455 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
456 Glauber de Oliveira Costa <glommer@gmail.com>
457
458 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
459 .tlsdescseq directive.
460 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
461 following a symbol.
462 (s_arm_tls_descseq): New directive.
463 (md_pseudo_table): Add it.
464 (encode_branch): Allow TLS_CALL relocs too.
465 (do_t_blx, do_t_branch23): Use encode_branch.
466 (reloc_names): Add tlsdesc and tlscall.
467 (md_apply_fix): Process tls desc relocations.
468 (tc_gen_reloc): Likewise.
469 (arm_fix_adjustable): Likewise.
470
471 2011-01-07 Quentin Neill <quentin.neill@amd.com>
472
473 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
474
475 * doc/c-i386.texi (i386-BMI): New section.
476
477 2011-01-06 Paul Koning <ni1d@arrl.net>
478
479 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
480 references to absolute addresses.
481
482 2011-01-05 DJ Delorie <dj@redhat.com>
483
484 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
485 instead of an RH_NEG32 one.
486
487 2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
488
489 * doc/c-i386.texi: Clarify --n32.
490
491 2011-01-04 H.J. Lu <hongjiu.lu@intel.com>
492
493 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
494 integer registers in VEX.vvvv. Check register-only source
495 operand when two source operands are swapped. Properly update
496 destination when two source operands are swapped.
497
498 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
499
500 * gas.c (parse_args): Update copyright to 2011.
501
502 For older changes see ChangeLog-2010
503 \f
504 Local Variables:
505 mode: change-log
506 left-margin: 8
507 fill-column: 74
508 version-control: never
509 End: