Mercurial > emacs
changeset 53149:ceeb45621964
(LD_SWITCH_SYSTEM_TEMACS)
[__FreeBSD_version >= 500042]: Define as -znocombreloc because
ld's default is incompatible with unexec.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 24 Nov 2003 13:12:25 +0000 |
parents | 372938ed2ab4 |
children | 96e26ba5026c |
files | src/s/freebsd.h |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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) */