old-cross-binutils/gas/config
Mike Frysinger 65646555b2 gas: blackfin: reign in overeager insn flag handling
Currently, trying to declare single letter variables in Blackfin assembly
can sometimes lead to parser errors if that letter is used for insn flags.
For example, X, Z, S, M, and T are used to change the behavior of insns:
    R0 = 1; R0 = 1 (X); R0 = 1 (Z);
But the current parser just looks for single letter tokens rather than
ones that show up in the (FLAGS) field.  So only match these letters as
flags when they're in parentheses.

Not a complete fix, but it at least lets gcc tests pass now (the test
gcc/testsuite/gcc.c-torture/compile/mangle-1.c to be exact).  A complete
fix would require a significant parser rewrite in order to handle:
    R0 = (x) (x);   /* zero extend the address of the symbol "x" */
    R0 = W; R0 = W[P0];

Signed-off-by: Steve Kilbane <steve.kilbane@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-11 08:37:20 +00:00
..
aout_gnu.h update copyright dates 2009-09-02 07:25:43 +00:00
atof-ieee.c PR 10437 2009-07-24 11:45:01 +00:00
atof-vax.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
bfin-aux.h gas: blackfin: support numeric local labels with LOOP_BEGIN/LOOP_END pseudo insns 2010-10-11 08:36:30 +00:00
bfin-defs.h gas: blackfin: add missing register move insns 2010-09-22 21:30:35 +00:00
bfin-lex.l gas: blackfin: reign in overeager insn flag handling 2010-10-11 08:37:20 +00:00
bfin-parse.y gas: blackfin: support numeric local labels with LOOP_BEGIN/LOOP_END pseudo insns 2010-10-11 08:36:30 +00:00
e-crisaout.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-criself.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-i386aout.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-i386coff.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-i386elf.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-mipsecoff.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-mipself.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
itbl-mips.h update copyright dates 2009-09-02 07:25:43 +00:00
m68k-parse.h * config/m68k-parse.h (enum m68k_register): Add ACR[4-7], RGPIOBAR. 2009-11-10 18:05:24 +00:00
m68k-parse.y update copyright dates 2009-09-02 07:25:43 +00:00
obj-aout.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
obj-aout.h Update soruces to make alpha, arc and arm targets compile cleanly 2009-09-25 19:13:27 +00:00
obj-coff-seh.c ChangeLog gas 2010-09-15 19:48:52 +00:00
obj-coff-seh.h ChangeLog gas 2010-09-15 19:43:56 +00:00
obj-coff.c Fix build with -DDEBUG=7 2010-10-08 14:00:50 +00:00
obj-coff.h remove maxq-coff port 2010-06-29 04:17:34 +00:00
obj-ecoff.c * ecoff.c (ecoff_symbol_clone_hook): New function. 2009-11-02 11:49:48 +00:00
obj-ecoff.h * ecoff.c (ecoff_symbol_clone_hook): New function. 2009-11-02 11:49:48 +00:00
obj-elf.c PR gas/12011 2010-09-16 23:55:10 +00:00
obj-elf.h * config/tc-h8300.c (h8300_elf_section): New function - issue a 2010-01-13 14:08:54 +00:00
obj-evax.c 2010-05-31 Tristan Gingold <gingold@adacore.com> 2010-05-31 15:53:13 +00:00
obj-evax.h * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
obj-fdpicelf.c 2008-04-23 Mike Frysinger <vapier@gentoo.org> 2008-04-23 18:40:34 +00:00
obj-fdpicelf.h 2008-04-23 Mike Frysinger <vapier@gentoo.org> 2008-04-23 18:40:34 +00:00
obj-macho.c 2009-07-02 Tristan Gingold <gingold@adacore.com> 2009-07-02 08:09:35 +00:00
obj-macho.h 2009-07-02 Tristan Gingold <gingold@adacore.com> 2009-07-02 08:09:35 +00:00
obj-multi.c update copyright dates 2009-09-02 07:25:43 +00:00
obj-multi.h * ecoff.c (ecoff_symbol_clone_hook): New function. 2009-11-02 11:49:48 +00:00
obj-som.c update copyright dates 2009-09-02 07:25:43 +00:00
obj-som.h bfd/ 2010-06-10 08:51:46 +00:00
rx-defs.h bfd 2009-09-29 14:17:19 +00:00
rx-parse.y [opcodes] 2009-11-05 00:38:45 +00:00
tc-alpha.c Use bfd_elf_generic_reloc for alpha-elf. 2010-09-20 16:09:03 +00:00
tc-alpha.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-arc.c Update soruces to make alpha, arc and arm targets compile cleanly 2009-09-25 19:13:27 +00:00
tc-arc.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-arm.c bfd/ 2010-10-06 08:22:21 +00:00
tc-arm.h * write.c (fixup_segment): Revert previous delta. 2010-05-04 16:21:07 +00:00
tc-avr.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-avr.h 2009-10-27 Tristan Gingold <gingold@adacore.com> 2009-10-27 15:39:27 +00:00
tc-bfin.c gas: blackfin: support numeric local labels with LOOP_BEGIN/LOOP_END pseudo insns 2010-10-11 08:36:30 +00:00
tc-bfin.h strip trailing whitespace in Blackfin files 2010-03-10 14:23:58 +00:00
tc-cr16.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-cr16.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-cris.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-cris.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-crx.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-crx.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-d10v.c * config/tc-d10v.c (do_assemble): Correctly detect overflow of 2010-08-25 11:51:07 +00:00
tc-d10v.h * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1. 2010-08-03 10:53:10 +00:00
tc-d30v.c * config/tc-d30v.c (d30v_cons_align): Don't align constants 2010-08-02 13:53:29 +00:00
tc-d30v.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-dlx.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-dlx.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-fr30.c PR 10437 2009-07-24 11:45:01 +00:00
tc-fr30.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-frv.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-frv.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-generic.c update copyright dates 2009-09-02 07:25:43 +00:00
tc-generic.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-h8300.c * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list 2010-05-19 10:47:49 +00:00
tc-h8300.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-hppa.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-hppa.h binutils/3807 2009-03-03 23:21:52 +00:00
tc-i370.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-i370.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-i386-intel.c Reformat config/tc-i386-intel.c. 2010-07-29 19:23:38 +00:00
tc-i386.c PR gas/12011 2010-09-16 23:55:10 +00:00
tc-i386.h * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define. 2010-03-08 14:07:45 +00:00
tc-i860.c * read.c (emit_expr_fix): Handle size 3. 2009-09-08 10:36:39 +00:00
tc-i860.h PR gas/5172 2007-10-18 13:03:12 +00:00
tc-i960.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-i960.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-ia64.c PR gas/12011 2010-09-16 23:55:10 +00:00
tc-ia64.h bfd: 2010-03-25 21:12:36 +00:00
tc-ip2k.c update copyright dates 2009-09-02 07:25:43 +00:00
tc-ip2k.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-iq2000.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-iq2000.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-lm32.c * config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach. 2009-10-19 15:30:06 +00:00
tc-lm32.h Add LM32 port. 2008-12-23 19:10:25 +00:00
tc-m32c.c * configure.tgt (m32c): Set endian=little. 2010-08-04 04:21:06 +00:00
tc-m32c.h * configure.tgt (m32c): Set endian=little. 2010-08-04 04:21:06 +00:00
tc-m32r.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-m32r.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-m68hc11.c * config/tc-d10v.c (do_assemble): Correctly detect overflow of 2010-08-25 11:51:07 +00:00
tc-m68hc11.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-m68k.c * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined 2010-09-09 10:48:17 +00:00
tc-m68k.h 2009-11-04 Daniel Jacobowitz <dan@codesourcery.com> 2009-11-04 09:52:00 +00:00
tc-m68851.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-mcore.c update copyright dates 2009-09-02 07:25:43 +00:00
tc-mcore.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mep.c PR gas/12011 2010-09-16 23:55:10 +00:00
tc-mep.h * read.c (TC_START_LABEL): Add a new argument. 2009-09-01 00:24:02 +00:00
tc-microblaze.c * config/tc-d10v.c (do_assemble): Correctly detect overflow of 2010-08-25 11:51:07 +00:00
tc-microblaze.h Add support for Xilinx MicroBlaze processor. 2009-08-06 17:38:04 +00:00
tc-mips.c 2010-10-04 David Daney <ddaney@caviumnetworks.com> 2010-10-04 15:24:49 +00:00
tc-mips.h 2010-07-22 Thomas Schwinge <thomas@codesourcery.com> 2010-07-22 07:39:20 +00:00
tc-mmix.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-mmix.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-mn10200.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-mn10200.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mn10300.c * config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols 2010-09-23 12:11:31 +00:00
tc-mn10300.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-moxie.c * config/tc-moxie.c (md_apply_fix): Delete set but otherwise 2010-07-05 05:56:11 +00:00
tc-moxie.h Add new binutils target: moxie 2009-04-16 15:39:48 +00:00
tc-msp430.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-msp430.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mt.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-mt.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-ns32k.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-ns32k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-openrisc.c PR 10437 2009-07-24 11:45:01 +00:00
tc-openrisc.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-or32.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-or32.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-pdp11.c Updated sources to avoid using the identifier name "new", which is a 2009-08-29 22:11:02 +00:00
tc-pdp11.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-pj.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-pj.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-ppc.c * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used 2010-07-29 07:48:43 +00:00
tc-ppc.h Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
tc-rx.c * config/tc-rx.c (md_estimate_size_before_relax): Fix format 2010-07-16 06:32:46 +00:00
tc-rx.h * config/tc-rx.h (md_do_align): New. 2010-07-02 20:40:28 +00:00
tc-s390.c 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2010-09-27 13:36:48 +00:00
tc-s390.h 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2010-01-21 11:40:28 +00:00
tc-score.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-score.h Add support for Score7 architecture. 2009-03-02 10:33:08 +00:00
tc-score7.c 2010-03-01 Tristan Gingold <gingold@adacore.com> 2010-03-01 16:47:52 +00:00
tc-sh.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-sh.h 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
tc-sh64.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-sh64.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-sparc.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-sparc.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-spu.c 2009-10-29 Tristan Gingold <gingold@adacore.com> 2009-10-29 09:43:18 +00:00
tc-spu.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-tic4x.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-tic4x.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-tic6x.c gas/ 2010-10-07 11:28:49 +00:00
tc-tic6x.h gas/ 2010-09-27 15:52:40 +00:00
tc-tic30.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-tic30.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-tic54x.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-tic54x.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-v850.c * config/tc-v850.c (md_assemble): Always pass format string to 2010-08-02 08:43:18 +00:00
tc-v850.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-vax.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-vax.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-xc16x.c * config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set 2009-10-19 15:27:39 +00:00
tc-xc16x.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-xstormy16.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-xstormy16.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-xtensa.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-xtensa.h update copyright dates 2009-09-02 07:25:43 +00:00
tc-z8k.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-z8k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-z80.c * config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' or 2009-10-25 16:15:19 +00:00
tc-z80.h update copyright dates 2009-09-02 07:25:43 +00:00
te-386bsd.h update copyright dates 2009-09-02 07:25:43 +00:00
te-aix5.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-armeabi.h update copyright dates 2009-09-02 07:25:43 +00:00
te-armlinuxeabi.h update copyright dates 2009-09-02 07:25:43 +00:00
te-dynix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-epoc-pe.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-freebsd.h update copyright dates 2009-09-02 07:25:43 +00:00
te-generic.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-gnu.h update copyright dates 2009-09-02 07:25:43 +00:00
te-go32.h update copyright dates 2009-09-02 07:25:43 +00:00
te-hppa.h update copyright dates 2009-09-02 07:25:43 +00:00
te-hppa64.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hppalinux64.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hpux.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-i386aix.h bfd/ 2010-01-23 12:05:33 +00:00
te-ia64aix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-interix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-irix.h update copyright dates 2009-09-02 07:25:43 +00:00
te-linux.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-lnews.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-lynx.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-mach.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-macos.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-nbsd.h update copyright dates 2009-09-02 07:25:43 +00:00
te-nbsd532.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-netware.h update copyright dates 2009-09-02 07:25:43 +00:00
te-pc532mach.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-pe.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-pep.h update copyright dates 2009-09-02 07:25:43 +00:00
te-psos.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-riscix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-solaris.h * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only 2010-01-21 20:58:34 +00:00
te-sparcaout.h update copyright dates 2009-09-02 07:25:43 +00:00
te-sun3.h update copyright dates 2009-09-02 07:25:43 +00:00
te-svr4.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-symbian.h update copyright dates 2009-09-02 07:25:43 +00:00
te-tmips.h update copyright dates 2009-09-02 07:25:43 +00:00
te-uclinux.h 2009-11-04 Daniel Jacobowitz <dan@codesourcery.com> 2009-11-04 09:52:00 +00:00
te-vms.c bfd/: 2009-09-07 09:15:31 +00:00
te-vms.h bfd/: 2009-09-07 09:15:31 +00:00
te-vxworks.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-wince-pe.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
vax-inst.h update copyright dates 2009-09-02 07:25:43 +00:00
xtensa-istack.h update copyright dates 2009-09-02 07:25:43 +00:00
xtensa-relax.c update copyright dates 2009-09-02 07:25:43 +00:00
xtensa-relax.h update copyright dates 2009-09-02 07:25:43 +00:00