From eaf4d779b6aaf40090c3d3ea598c1429156ca169 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 23 Oct 2001 06:43:52 +0000 Subject: [PATCH] [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". From Andreas Schwab. --- src/ChangeLog | 5 +++++ src/m/macppc.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index b6633fc6a9d..9894fcd1139 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-10-23 Andreas Schwab + + * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override + LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". + 2001-10-22 Gerd Moellmann * xdisp.c (display_line): Fix computation of continuation lines diff --git a/src/m/macppc.h b/src/m/macppc.h index 3e5dffec26d..860371d34e6 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h @@ -96,6 +96,10 @@ Boston, MA 02111-1307, USA. */ #ifdef LINUX #define LINKER $(CC) -nostdlib #define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc +/* s/gnu-linux.h defines this to `-z nocombreloc' which does not work here + because prefix-args is not used. */ +#undef LD_SWITCH_SYSTEM_TEMACS +#define LD_SWITCH_MACHINE_TEMACS -Xlinker -znocombreloc #endif #if 0 /* This breaks things on PPC GNU/Linux ecept for Yellowdog, -- 2.39.2