diff options
author | 2004-02-10 18:24:31 +0000 | |
---|---|---|
committer | 2004-02-10 18:24:31 +0000 | |
commit | 82b670060ac151892f5dece8c8fc9e8f98bb162f (patch) | |
tree | 8d1a8c294df02202e9f8ea22e9daa0a7bf12717b | |
parent | add MLINKS for 64-bit functions in byteorder(3); (diff) | |
download | wireguard-openbsd-82b670060ac151892f5dece8c8fc9e8f98bb162f.tar.xz wireguard-openbsd-82b670060ac151892f5dece8c8fc9e8f98bb162f.zip |
force jump tables into .text for they get screwed in .rodata for -fpic; espie@ ok
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h b/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h index 1bd17d75686..e2181a237d0 100644 --- a/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h +++ b/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h @@ -116,6 +116,9 @@ Boston, MA 02111-1307, USA. */ #define OBSD_HAS_CORRECT_SPECS +#undef JUMP_TABLES_IN_TEXT_SECTION +#define JUMP_TABLES_IN_TEXT_SECTION (flag_pic) + /* pick up defines for mprotect (used in TRANSFER_FROM_TRANPOLINE) */ #include <sys/types.h> #include <sys/mman.h> |