]> git.eshelyaron.com Git - emacs.git/commitdiff
(LD_SWITCH_SYSTEM_TEMACS)
authorGerd Moellmann <gerd@gnu.org>
Mon, 24 Nov 2003 13:13:14 +0000 (13:13 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 24 Nov 2003 13:13:14 +0000 (13:13 +0000)
[__FreeBSD_version >= 500042]: Define as -znocombreloc because
ld's default is incompatible with unexec.

src/ChangeLog
src/s/freebsd.h

index 6b6a85d7cdd964bdf17d934a568ff20119938672..5c6a1de926cdb5267200bd90ec1c4cd7f12ef484 100644 (file)
@@ -1,3 +1,9 @@
+2003-11-24  Gerd Moellmann  <gerd@gnu.org>
+
+       * s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS)
+       [__FreeBSD_version >= 500042]: Define as -znocombreloc because
+       ld's default is incompatible with unexec.
+
 2003-11-23  Kim F. Storm  <storm@cua.dk>
 
        * window.c (enum window_loop): Add REDISPLAY_BUFFER_WINDOWS.
index f3049724d12d6c9d62a1cd1e29d895322f773843..dbd08f5b3bea0fb1232a09b2f508aac0c69541eb 100644 (file)
@@ -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) */