diff options
author | Andreas Schwab <[email protected]> | 2001-09-28 12:58:23 +0000 |
---|---|---|
committer | Andreas Schwab <[email protected]> | 2001-09-28 12:58:23 +0000 |
commit | 854ad2d56b8fdb88fec25a0900919d468d63c33d (patch) | |
tree | e6d24ad72eca86549a1ab49cf202347adb3dc9c2 /src/s | |
parent | a74b48cfd30c1b783c7cad24b639ee89697faff7 (diff) |
(LD_SWITCH_SYSTEM_TEMACS): Link temacs with -z
nocombreloc, in case -z combreloc is the default.
Diffstat (limited to 'src/s')
-rw-r--r-- | src/s/gnu-linux.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 7b2a6647f8..f9a95e5672 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h @@ -185,6 +185,12 @@ Boston, MA 02111-1307, USA. */ #else #define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX #endif /* __mips__ */ + +/* Link temacs with -z nocombreloc so that unexec works right, whether or + not -z combreloc is the default. GNU ld ignores unknown -z KEYOWRD + switches, so this also works with older versions that don't implement + -z combreloc. */ +#define LD_SWITCH_SYSTEM_TEMACS -z nocombreloc #endif /* __ELF__ */ /* As of version 1.1.51, Linux did not actually implement SIGIO. |