OSDN Git Service

* i386/freebsd-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Jun 1998 23:06:58 +0000 (23:06 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Jun 1998 23:06:58 +0000 (23:06 +0000)
* i386/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20665 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/freebsd-elf.h
gcc/config/i386/sysv4.h

index 178ad7f..62564a7 100644 (file)
@@ -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>
index 6f99a88..ca37c21 100644 (file)
@@ -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.
index 0127d69..e688f7b 100644 (file)
@@ -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