diff src/s/linux.h @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents 74fd4e045ea6
children 41dbb7a9d5f2
line wrap: on
line diff
--- a/src/s/linux.h	Mon Aug 13 11:19:22 2007 +0200
+++ b/src/s/linux.h	Mon Aug 13 11:20:41 2007 +0200
@@ -26,12 +26,6 @@
 #define USG
 #define LINUX
 
-/* powerpc gcc 2.8.0 doesn't define __ELF__, but it is */
-
-#if defined(__ELF__) || defined(powerpc)
-#define LINUX_ELF
-#endif
-
 /* SYSTEM_TYPE should indicate the kind of system you are using.
  It sets the Lisp variable system-type.  */
 
@@ -87,7 +81,7 @@
 /* Ask GCC where to find libgcc.a.  */
 #define LIB_GCC "`$(CC) $(C_SWITCH_X_SITE) -print-libgcc-file-name`"
 
-#ifndef LINUX_ELF
+#ifndef __ELF__
 /* Linux has crt0.o in a non-standard place */
 #define START_FILES "pre-crt0.o /usr/lib/crt0.o"
 #else
@@ -112,7 +106,7 @@
 /* Best not to include -lg, unless it is last on the command line */
 #define LIBS_DEBUG
 #define LIBS_TERMCAP "-ltermcap -lcurses" /* save some space with shared libs*/
-#ifndef LINUX_ELF
+#ifndef __ELF__
 #define LIB_STANDARD "-lc" /* avoid -lPW */
 #else
 /*#undef LIB_GCC
@@ -130,7 +124,7 @@
 #define LIBS_SYSTEM
 #endif
 
-#ifdef LINUX_ELF
+#ifdef __ELF__
 #define UNEXEC "unexelf.o"
 #define UNEXEC_USE_MAP_PRIVATE
 #if 0
@@ -148,7 +142,7 @@
 #undef START_FILES
 #undef LIB_GCC
 #endif
-#endif /* LINUX_ELF */
+#endif /* __ELF__ */
 
 #ifdef LINUX_QMAGIC