diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-03-01 16:29:08 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-03-01 16:29:08 -0800 |
commit | 3ae29d632c7f4737b2c4763fe6bce3c479bee241 (patch) | |
tree | 9f9e1a0e4f9223662c7e444930c8e1627058aee3 | |
parent | 46302379df20b88701ca46174719d816e7b6527a (diff) | |
download | gcc-3ae29d632c7f4737b2c4763fe6bce3c479bee241.zip gcc-3ae29d632c7f4737b2c4763fe6bce3c479bee241.tar.gz gcc-3ae29d632c7f4737b2c4763fe6bce3c479bee241.tar.bz2 |
(JUMP_TABLES_IN_TEXT_SECTION): Add.
From-SVN: r6686
-rw-r--r-- | gcc/config/sparc/sysv4.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/sparc/sysv4.h b/gcc/config/sparc/sysv4.h index eee9af9..e331c9d 100644 --- a/gcc/config/sparc/sysv4.h +++ b/gcc/config/sparc/sysv4.h @@ -56,6 +56,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -Asystem(unix) -Asystem(svr4) -Acpu(sparc) -Amachine(sparc) \ -D__GCC_NEW_VARARGS__" +/* The native assembler can't compute differences between symbols in different + sections when generating pic code, so we must put jump tables in the + text section. */ +#define JUMP_TABLES_IN_TEXT_SECTION 1 + /* The specialized code which needs to appear in the .init section prior to the prologue code for `__do_global_ctors' (see crtstuff.c). |