# HG changeset patch # User Gerd Moellmann # Date 1069679545 0 # Node ID ceeb45621964b94d50030a41171a1bc73dce6313 # Parent 372938ed2ab4cf36ec0725b3c0a23b9f9919ec14 (LD_SWITCH_SYSTEM_TEMACS) [__FreeBSD_version >= 500042]: Define as -znocombreloc because ld's default is incompatible with unexec. diff -r 372938ed2ab4 -r ceeb45621964 src/s/freebsd.h --- a/src/s/freebsd.h Mon Nov 24 09:28:49 2003 +0000 +++ b/src/s/freebsd.h Mon Nov 24 13:12:25 2003 +0000 @@ -220,5 +220,13 @@ #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) */