(JUMP_TABLES_IN_TEXT_SECTION): Add.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 2 Mar 1994 00:29:08 +0000 (16:29 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 2 Mar 1994 00:29:08 +0000 (16:29 -0800)
From-SVN: r6686

gcc/config/sparc/sysv4.h

index eee9af9..e331c9d 100644 (file)
@@ -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).