diff options
| author | Andreas Schwab | 2001-09-28 12:58:23 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2001-09-28 12:58:23 +0000 |
| commit | 854ad2d56b8fdb88fec25a0900919d468d63c33d (patch) | |
| tree | e6d24ad72eca86549a1ab49cf202347adb3dc9c2 /src/s/gnu-linux.h | |
| parent | a74b48cfd30c1b783c7cad24b639ee89697faff7 (diff) | |
| download | emacs-854ad2d56b8fdb88fec25a0900919d468d63c33d.tar.gz emacs-854ad2d56b8fdb88fec25a0900919d468d63c33d.zip | |
(LD_SWITCH_SYSTEM_TEMACS): Link temacs with -z
nocombreloc, in case -z combreloc is the default.
Diffstat (limited to 'src/s/gnu-linux.h')
| -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 7b2a6647f84..f9a95e5672c 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -185,6 +185,12 @@ Boston, MA 02111-1307, USA. */ | |||
| 185 | #else | 185 | #else |
| 186 | #define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX | 186 | #define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX |
| 187 | #endif /* __mips__ */ | 187 | #endif /* __mips__ */ |
| 188 | |||
| 189 | /* Link temacs with -z nocombreloc so that unexec works right, whether or | ||
| 190 | not -z combreloc is the default. GNU ld ignores unknown -z KEYOWRD | ||
| 191 | switches, so this also works with older versions that don't implement | ||
| 192 | -z combreloc. */ | ||
| 193 | #define LD_SWITCH_SYSTEM_TEMACS -z nocombreloc | ||
| 188 | #endif /* __ELF__ */ | 194 | #endif /* __ELF__ */ |
| 189 | 195 | ||
| 190 | /* As of version 1.1.51, Linux did not actually implement SIGIO. | 196 | /* As of version 1.1.51, Linux did not actually implement SIGIO. |