gas: blackfin: catch invalid dest dregs in dsp mult insns
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
a0bc8198
MF
12011-03-24 Mike Frysinger <vapier@gentoo.org>
2
3 * config/bfin-parse.y (check_macfuncs): Clarify error message when
4 P is mismatched. Check destination regno are off by one when P is
5 set, or are equal when P is not set.
6
ba48c47b
MF
72011-03-23 Mike Frysinger <vapier@gentoo.org>
8
9 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
10 the same as dest reg $4.
11 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
12
6f8a4444
EW
132011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
14
15 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
16 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
17 * doc/c-avr.texi: Document new device names.
18
8cc66334
EW
192011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
20
21 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
22 (AVR_INSN): Change definition to match.
23 (avr_opcodes): Likewise, change to match.
24 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
25 (md_show_usage): Add XMEGA architecture names.
26 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
27 Add support for SPM Z+ instruction.
28 * doc/c-avr.texi: Add documentation for XMEGA architectures and
29 devices.
30
4fb8d1c6
EW
312011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
32
33 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
34
869fe6ea
AM
352011-03-18 Alan Modra <amodra@gmail.com>
36
37 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
38 on .size expression errors rather than symbols in the size expression.
39
144886fa
AM
402011-03-18 Alan Modra <amodra@gmail.com>
41
42 * input-scrub.c (line_numberT): Delete.
43 (input_scrub_close): Reset line counters.
44 * messages.c (as_show_where): Don't print invalid line number.
45 (as_warn_internal, as_bad_internal): Likewise.
46
04648e65
AM
472011-03-18 Alan Modra <amodra@gmail.com>
48
49 * read.c (read_a_source_file): Remove md_after_pass_hook.
50 Move "quit" label before set of dot_symbol.
51 * config/tc-d10v.h (md_after_pass_hook): Don't define.
52 * config/tc-d30v.h (md_after_pass_hook): Likewise.
53 * config/tc-m32r.h (md_after_pass_hook): Likewise.
54 (md_cleanup): Define to call m32r_fill_insn.
55
db3a4e40
AK
562011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57
58 * config/tc-s390.c (md_parse_option): Add -march=all option which
59 switches to the highest available CPU.
60
259af69e
AM
612011-03-17 Alan Modra <amodra@gmail.com>
62
63 PR 12569
64 * expr.c (operand): Correct passing of "mode" to expr.
65 * read.c (do_org): Allow expr_section.
66 (get_known_segmented_expression): Don't assert anything about the
67 segment.
68
21be61f5
L
692011-03-16 H.J. Lu <hongjiu.lu@intel.com>
70
71 * as.c (show_usage): Add --size-check=.
72 (parse_args): Add and handle OPTION_SIZE_CHECK.
73
74 * as.h (flag_size_check): New.
75
76 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
77 bad .size directive only for --size-check=error.
78
79 * doc/as.texinfo: Document --size-check=.
80
7f35e991
MF
812011-03-14 Mike Frysinger <vapier@gentoo.org>
82
83 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
84 bf542/bf544/bf547/bf548/bf549.
85
34e77a92
RS
862011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
87
88 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
89 determine whether a relocation is needed.
90 (md_apply_fix, arm_apply_sym_value): Likewise.
91
35fc36a8
RS
922011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
93
94 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
95 for Thumb symbols.
96
502df130
NC
972011-03-11 Nick Clifton <nickc@redhat.com>
98
99 * remap.c (remap_debug_filename): Always allocate a buffer for the
100 returned pointer.
101 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
102 remap_debug_filename.
103
5652b491
MS
1042011-03-10 Michael Snyder <msnyder@vmware.com>
105
106 Revert the following change:
107 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
108 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
109
293855c8
AM
1102011-03-10 Alan Modra <amodra@gmail.com>
111
112 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
113 TARGET_SYMBOL_FIELDS): Don't define.
114 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
115
9f6db0d3
MS
1162011-03-09 Michael Snyder <msnyder@vmware.com>
117
118 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
119 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
5652b491
MS
120 (emit_fixed_inc_line_addr): Assign instead of conditional in
121 assert.
9f6db0d3 122
49002d7f
L
1232011-03-05 H.J. Lu <hongjiu.lu@intel.com>
124
125 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
126 non-constant .size expression.
127
14aa5a8b
NC
1282011-03-02 Nick Clifton <nickc@redhat.com>
129
130 * ecoff.c: Incldue filenames.h
131
8b6efd89
KT
1322011-02-28 Kai Tietz <kai.tietz@onevision.com>
133
134 * depend.c (register_dependency): Use filename_(n)cmp.
135 * dwarf2dbg.c (get_filenum): Likewise.
136 * ecoff.c (add_file): Likewise.
137 (ecoff_generate_asm_lineno): Likewise.
138 * input-scrub.c (new_logical_line_flags): Likewise.
139 * listing.c (file_info): Likewise.
140 (listing_newline): Likewise.
141 * remap.c (remap_debug_filename): Likewise.
142 * stabs.c (generate_asm_file): Likewise.
143 (stabs_generate_asm_lineno): Likewise.
144
d455268f
MR
1452011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
146
147 * config/tc-mips.c (append_insn): Disable branch relaxation for
148 DSP instructions.
149
3eebd5eb
MR
1502011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
151
152 * config/tc-mips.c (macro): Handle M_PREF_AB.
153
66b3e8da
MR
1542011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
155
156 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
157 register to use.
158 (RELAX_BRANCH_UNCOND): Adjust accordingly.
159 (RELAX_BRANCH_LIKELY): Likewise.
160 (RELAX_BRANCH_LINK): Likewise.
161 (RELAX_BRANCH_TOOFAR): Likewise.
162 (RELAX_BRANCH_AT): New macro.
163 (append_insn): Encode the temporary register to use in standard
164 MIPS branch relaxation.
165 (relaxed_branch_length): Update according to changes to
166 RELAX_BRANCH_ENCODE.
167 (md_convert_frag): Use the encoded register as the temporary.
168
ce70d90a
MR
1692011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
170
171 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
172 reject PC-relative relocations.
173
5c4f07ba
MR
1742011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
175
176 * config/tc-mips.c (md_convert_frag): Correct message
177 capitalization.
178
5a0ade8b
AM
1792011-02-28 Alan Modra <amodra@gmail.com>
180
181 * symbols.c (report_op_error): Remove unnecessary forward declaration.
182 Add "op" parameter. Report operator and operand segments in error
183 message, not operand symbols.
184 (resolve_symbol_value): Always set segment for equated symbols, not
185 just when finalizing. Adjust report_op_error calls.
186
f2d8a97c
L
1872011-02-25 H.J. Lu <hongjiu.lu@intel.com>
188
7f648587
L
189 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
190 if 64bit relocations aren't allowed.
f2d8a97c 191
e1e90034
AM
1922011-02-25 Alan Modra <amodra@gmail.com>
193
194 PR gas/12519
195 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
196
dfa58db1
MR
1972011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
198
199 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
200 initialization of offset_reloc.
201
d58a1929
RH
2022011-02-15 Richard Henderson <rth@redhat.com>
203
204 * dw2gencfi.c (dot_cfi_dummy): New.
205 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
206 * read.c (pobegin): Unconditionally call cfi_pop_insert.
207
822ce8ee
RW
2082011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
209
210 * configure: Regenerate.
211
36f44611
MF
2122011-02-13 Mike Frysinger <vapier@gentoo.org>
213
214 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
215 * config/bfin-parse.y (BYTEOP2M): Delete token.
216 (asm_1): Remove BYTEOP2M insn matching.
217
26bb3ddd
MF
2182011-02-12 Mike Frysinger <vapier@gentoo.org>
219
220 * config/bfin-defs.h: Include opcode/bfin.h.
221 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
222
347d120a
MF
2232011-02-11 Mike Frysinger <vapier@gentoo.org>
224
225 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
226 (Modify Registers): Fix subtracted typo.
227 (.byte2): Extend and swap descriptions with .byte4.
228 (.byte4): Extend and swap descriptions with .byte2.
229 (.db, .dw, .dd): Document behavior.
230
5f956293
MF
2312011-02-11 Mike Frysinger <vapier@gentoo.org>
232
233 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
234
c0e524fe
AM
2352011-02-11 Alan Modra <amodra@gmail.com>
236
237 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
238
635fb38d
AM
2392011-02-10 Alan Modra <amodra@gmail.com>
240
241 * doc/as.texinfo (Overview): Add missing markup around Blackfin
242 and PowerPC options.
243
b8b738ac
AM
2442011-02-10 Alan Modra <amodra@gmail.com>
245
246 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
247 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
248 (Overview <Target PowerPC options>): Add a number of missing options.
249 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
250
2dde1948
L
2512011-02-08 H.J. Lu <hongjiu.lu@intel.com>
252
253 PR gas/6957
254 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
255 for i686.
256
a586129e
L
2572011-02-08 H.J. Lu <hongjiu.lu@intel.com>
258
259 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
260 for ISA extensions.
261 (md_parse_option): Likewise.
262
98d23bef
BS
2632011-02-04 Bernd Schmidt <bernds@codesourcery.com>
264
265 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
266 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
267 (TIC6X Options): Don't mention "-matomic".
268 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
269 (md_longopts): Remove corresponding entries.
270 (md_parse_option): Don't handle them.
271 (md_show_usage): Don't document them.
272 (tic6x_atomic): Delete variable.
273 (tic6x_update_features): Always copy tic6x_arch_enable to
274 tic6x_features.
275 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
276 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
277 (md_pseudo_table): Remove ".atomic" and ".noatomic".
278
a22429b9
NC
2792011-01-31 Nick Clifton <nickc@redhat.com>
280
281 * write.c (write_contents): Include output file name and bfd error
282 value when reporting the inability to write to the output file.
283 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
284 frag that has a non-zero fill value.
285
eb6fae19
DD
2862011-01-27 DJ Delorie <dj@redhat.com>
287
288 * config/tc-rx.c (md_convert_frag): If we can't compute the target
289 address, zero out the values stored in the object file to make
290 objdump's output consistent.
291
ca19b261
KT
2922011-01-26 Kai Tietz <kai.tietz@onevision.com>
293
294 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
295 x86_dwarf2_return_column to 32.
296
b37a4e79
NC
2972011-01-20 Nick Clifton <nickc@redhat.com>
298
299 PR gas/12384
300 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
301 comparison.
302
6ac88ef3
L
3032011-01-18 H.J. Lu <hongjiu.lu@intel.com>
304
305 * write.c (compress_debug): Return if section size is smaller
306 than 32 bytes.
307
24a2d04d
L
3082011-01-18 H.J. Lu <hongjiu.lu@intel.com>
309
310 PR gas/12409
311 * write.c (compress_debug): Return if section size is 0.
312
4a58c4bd
NC
3132011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
314
315 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
316 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
317 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
318 fmp626} options.
319
7c31ae13
NC
3202011-01-18 Nick Clifton <nickc@redhat.com>
321
322 PR gas/12390
323 * doc/all.texi: Add NS32K
324 * doc/as.texinfo: Remove target specific details of which
325 characters act as comment initiators and statement separators into
326 individual target specific files.
327 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
328 the hash character at the start of a line.
329 * doc/c-arm.texi (ARM-Chars): Likewise.
330 * doc/c-avr.texi (AVR-Chars): Likewise.
331 * doc/c-d10v.texi (D10V-Chars): Likewise.
332 * doc/c-d30v.texi (D30V-Chars): Likewise.
333 * doc/c-mmix.texi (MMIX-Chars): Likewise.
334 * doc/c-s390.texi (s390 characters): Likewise.
335 * doc/c-sh.texi (SH-Chars): Likewise.
336 * doc/c-sh64.texi (SH64-Chars): Likewise.
337 * doc/c-sparc.texi (SPARC-Chars): Likewise.
338 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
339 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
340 * doc/c-z80.texi (Z80-Chars): Likewise.
341 * doc/c-z8k.texi (Z8000-Chars): Likewise.
342 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
343 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
344 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
345 line separator characters.
346 * doc/c-cr16.texi (CR16 Syntax): Likewise.
347 * doc/c-i386.texi (i386-Chars): Likewise.
348 * doc/c-i860.texi (i860-Chars): Likewise.
349 * doc/c-i960.texi (i960-Chars): Likewise.
350 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
351 * doc/c-lm32.texi (LM32-Chars): likewise.
352 * doc/c-m32c.texi (M32C-Chars): Likewise.
353 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
354 * doc/c-m68k.texi (M68K-Chars): Likewise.
355 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
356 * doc/c-msp430.texi (MSP430-Chars): Likewise.
357 * doc/c-mt.texi (MT-Chars): Likewise.
358 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
359 * doc/c-pj.texi (PJ-Chars): Likewise.
360 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
361 * doc/c-rx.texi (RX-Chars): Likewise.
362 * doc/c-score.texi (SCORE-Chars): Likewise.
363 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
364 * doc/c-v850.texi (V850-Chars): Likewise.
365 * doc/c-vax.texi (VAX-Chars): Likewise.
366 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
367
2a2a0f38
QN
3682011-01-17 Quentin Neill <quentin.neill@amd.com>
369
370 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
371
372 * doc/c-i386.texi (i386-TBM): New section.
373
862be3fb
L
3742011-01-16 H.J. Lu <hongjiu.lu@intel.com>
375
376 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
377 (disallow_64bit_reloc): This.
378 (md_assemble): Don't check movabs for x32 mode here.
379 (i386_target_format): Updated.
380 (tc_gen_reloc): Check if 64bit relocations are allowed.
381
7f56bc95
L
3822011-01-15 H.J. Lu <hongjiu.lu@intel.com>
383
384 * config/tc-i386.c (disallow_64bit_disp): New.
385 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
386 X86_64_ABI/X86_64_X32_ABI.
387 (md_assemble): Don't allow movabs with relocation in x32 mode.
388 (i386_target_format): Updated.
389
570561f7
L
3902011-01-14 H.J. Lu <hongjiu.lu@intel.com>
391
392 * config/tc-i386.c (OPTION_N32): Renamed to ...
393 (OPTION_X32): This.
394 (md_longopts): Replace n32 with x32.
395 (md_parse_option): Updated.
396 (md_show_usage): Likewise.
397
4a22cb7c 398 * doc/c-i386.texi: Replace --n32 with --x32.
570561f7 399
c95354ed
MX
4002011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
401
402 * config/tc-mips.c (mips_ip): Update error messages. Take an
403 unadjusted offset for "+c" argument.
404
7af8ed2d
NC
4052011-01-10 Nick Clifton <nickc@redhat.com>
406
407 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
408 it.
409
cdf9ccec
NC
4102011-01-10 Nick Clifton <nickc@redhat.com>
411
412 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
413 part of the file.
414
0855e32b
NS
4152011-01-10 Nathan Sidwell <nathan@codesourcery.com>
416 Glauber de Oliveira Costa <glommer@gmail.com>
417
418 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
419 .tlsdescseq directive.
420 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
421 following a symbol.
422 (s_arm_tls_descseq): New directive.
423 (md_pseudo_table): Add it.
424 (encode_branch): Allow TLS_CALL relocs too.
425 (do_t_blx, do_t_branch23): Use encode_branch.
426 (reloc_names): Add tlsdesc and tlscall.
427 (md_apply_fix): Process tls desc relocations.
428 (tc_gen_reloc): Likewise.
429 (arm_fix_adjustable): Likewise.
430
87973e9f
QN
4312011-01-07 Quentin Neill <quentin.neill@amd.com>
432
433 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
434
435 * doc/c-i386.texi (i386-BMI): New section.
436
12505806
PK
4372011-01-06 Paul Koning <ni1d@arrl.net>
438
439 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
440 references to absolute addresses.
441
9689e3a3
DD
4422011-01-05 DJ Delorie <dj@redhat.com>
443
444 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
445 instead of an RH_NEG32 one.
446
35cc6a0b
L
4472011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
448
449 * doc/c-i386.texi: Clarify --n32.
450
f12dc422
L
4512011-01-04 H.J. Lu <hongjiu.lu@intel.com>
452
453 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
454 integer registers in VEX.vvvv. Check register-only source
455 operand when two source operands are swapped. Properly update
456 destination when two source operands are swapped.
457
0db46eb4
L
4582011-01-01 H.J. Lu <hongjiu.lu@intel.com>
459
460 * gas.c (parse_args): Update copyright to 2011.
461
5b326c3e 462For older changes see ChangeLog-2010
08d56133
NC
463\f
464Local Variables:
465mode: change-log
466left-margin: 8
467fill-column: 74
468version-control: never
469End:
This page took 0.481379 seconds and 4 git commands to generate.