Mercurial > emacs
diff src/m/amdx86-64.h @ 96985:e58e8418725b
* m/amdx86-64.h (HAVE_LIB64_DIR): Consolidate ifdefs.
* m/alpha.h (TEXT_END):
* m/ibmrs6000.h (TEXT_END):
* m/macppc.h (TEXT_END):
* s/darwin.h (TEXT_END):
* s/msdos.h (TEXT_END): Remove, unused.
* s/gnu-linux.h (BSD_PGRPS): Add a comment.
* s/cygwin.h: Remove comment.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 24 Jul 2008 18:45:45 +0000 |
parents | 2262534e4e66 |
children | e038c1a8307c |
line wrap: on
line diff
--- a/src/m/amdx86-64.h Thu Jul 24 18:39:48 2008 +0000 +++ b/src/m/amdx86-64.h Thu Jul 24 18:45:45 2008 +0000 @@ -107,23 +107,18 @@ #undef LIB_STANDARD #else /* !__OpenBSD__ && !__FreeBSD__ && !__NetBSD__ && !SOLARIS2 */ - -#undef START_FILES -#ifdef HAVE_LIB64_DIR -#define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o -#else -#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o -#endif - /* The duplicate -lgcc is intentional in the definition of LIB_STANDARD. The reason is that some functions in libgcc.a call functions from libc.a, and some libc.a functions need functions from libgcc.a. Since most versions of ld are one-pass linkers, we need to mention -lgcc twice, or else we risk getting unresolved externals. */ +#undef START_FILES #undef LIB_STANDARD #ifdef HAVE_LIB64_DIR +#define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o #else +#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o #endif