From 2b0052606a9c63e07852cd29c13c9f511b96bd3e Mon Sep 17 00:00:00 2001 From: John Wehle Date: Mon, 22 Jun 1998 23:06:58 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/config/i386/freebsd-elf.h | 2 +- gcc/config/i386/sysv4.h | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 178ad7f596d..62564a7d449 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -4,6 +4,9 @@ Mon Jun 22 22:21:46 1998 Richard Henderson 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 diff --git a/gcc/config/i386/freebsd-elf.h b/gcc/config/i386/freebsd-elf.h index 6f99a886e87..ca37c211721 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 0127d69cbb6..e688f7b8c9f 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 -- 2.30.2