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