From 3ae29d632c7f4737b2c4763fe6bce3c479bee241 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Tue, 1 Mar 1994 16:29:08 -0800 Subject: [PATCH] (JUMP_TABLES_IN_TEXT_SECTION): Add. From-SVN: r6686 --- gcc/config/sparc/sysv4.h | 5 +++++ 1 file changed, 5 insertions(+) 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). -- 2.7.4