changeset 30011:aa56df73f23a

(LINKER, LD_SWITCH_MACHINE) [LINUX]: Define.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 03 Jul 2000 13:48:21 +0000
parents 281fa98f5c87
children c4958e8c427f
files src/m/macppc.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/macppc.h	Mon Jul 03 13:47:23 2000 +0000
+++ b/src/m/macppc.h	Mon Jul 03 13:48:21 2000 +0000
@@ -89,3 +89,11 @@
 #if (defined (__NetBSD__) || defined (__OpenBSD__)) && defined (__ELF__)
 #define HAVE_TEXT_START
 #endif
+
+/* NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> says this is needed
+   For MkLinux/LinuxPPC.  */
+
+#ifdef LINUX
+#define LINKER $(CC) -nostdlib
+#define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc
+#endif