diff options
author | Gerd Moellmann <gerd@gnu.org> | 2003-11-24 13:13:14 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2003-11-24 13:13:14 +0000 |
commit | 74d6f539adb717b4894fc6113bdfd671563f44b6 (patch) | |
tree | 829b5da649fa30dd2216ccedc8978c976c6886f4 /src/s/freebsd.h | |
parent | 80586d892706065fb5c252a4692165895bf2ce13 (diff) | |
download | emacs-74d6f539adb717b4894fc6113bdfd671563f44b6.tar.gz |
(LD_SWITCH_SYSTEM_TEMACS)
[__FreeBSD_version >= 500042]: Define as -znocombreloc because
ld's default is incompatible with unexec.
Diffstat (limited to 'src/s/freebsd.h')
-rw-r--r-- | src/s/freebsd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h index f3049724d12..dbd08f5b3be 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h @@ -220,5 +220,13 @@ Boston, MA 02111-1307, USA. */ #define POSIX_SIGNALS 1 +/* The `combreloc' setting became the default, and it seems to be + incompatible with unexec. Symptom is an immediate SEGV in + XtInitializeWidget when starting Emacs under X11. */ + +#if defined __FreeBSD_version && __FreeBSD_version >= 500042 +#define LD_SWITCH_SYSTEM_TEMACS -znocombreloc +#endif + /* arch-tag: 426529ca-b7c4-448f-b10a-d4dcdc9c78eb (do not change this comment) */ |