From 2c8a6e9e96a4c5450f0d1c439376b7ddc4c515c5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 3 Jul 2000 13:48:21 +0000 Subject: [PATCH] (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define. --- src/m/macppc.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/m/macppc.h b/src/m/macppc.h index 9f91930173b..ea7f7b248d0 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h @@ -89,3 +89,11 @@ Boston, MA 02111-1307, USA. */ #if (defined (__NetBSD__) || defined (__OpenBSD__)) && defined (__ELF__) #define HAVE_TEXT_START #endif + +/* NAKAJI Hiroyuki says this is needed + For MkLinux/LinuxPPC. */ + +#ifdef LINUX +#define LINKER $(CC) -nostdlib +#define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc +#endif -- 2.39.2