aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn Wehle <john@feith.com>1998-06-22 23:06:58 +0000
committerJeff Law <law@gcc.gnu.org>1998-06-22 17:06:58 -0600
commit2b0052606a9c63e07852cd29c13c9f511b96bd3e (patch)
tree50a8a07547c6f9ff3e97e42bbffc8f394f40c8a1 /gcc
parent9bf09437c61ab59f1c3d39b199d792c4eeef2c3c (diff)
downloadgcc-2b0052606a9c63e07852cd29c13c9f511b96bd3e.zip
gcc-2b0052606a9c63e07852cd29c13c9f511b96bd3e.tar.gz
gcc-2b0052606a9c63e07852cd29c13c9f511b96bd3e.tar.bz2
freebsd-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
* i386/freebsd-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic. * i386/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic. From-SVN: r20665
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/i386/freebsd-elf.h2
-rw-r--r--gcc/config/i386/sysv4.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 178ad7f..62564a7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -4,6 +4,9 @@ Mon Jun 22 22:21:46 1998 Richard Henderson <rth@cygnus.com>
Mon Jun 22 23:13:47 1998 John Wehle (john@feith.com)
+ * i386/freebsd-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
+ * i386/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
+
* i386.md (exception_receiver): Define.
Mon Jun 22 12:01:48 1998 Jim Wilson <wilson@cygnus.com>
diff --git a/gcc/config/i386/freebsd-elf.h b/gcc/config/i386/freebsd-elf.h
index 6f99a88..ca37c21 100644
--- a/gcc/config/i386/freebsd-elf.h
+++ b/gcc/config/i386/freebsd-elf.h
@@ -38,7 +38,7 @@ Boston, MA 02111-1307, USA. */
/* Indicate that jump tables go in the text section. This is
necessary when compiling PIC code. */
-#define JUMP_TABLES_IN_TEXT_SECTION 1
+#define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)
/* Copy this from the svr4 specifications... */
/* Define the register numbers to be used in Dwarf debugging information.
diff --git a/gcc/config/i386/sysv4.h b/gcc/config/i386/sysv4.h
index 0127d69..e688f7b 100644
--- a/gcc/config/i386/sysv4.h
+++ b/gcc/config/i386/sysv4.h
@@ -242,7 +242,7 @@ do { long value[3]; \
/* Indicate that jump tables go in the text section. This is
necessary when compiling PIC code. */
-#define JUMP_TABLES_IN_TEXT_SECTION 1
+#define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)
/* A C statement (sans semicolon) to output to the stdio stream
FILE the assembler definition of uninitialized global DECL named