Mercurial > emacs
comparison src/m/amdx86-64.h @ 91367:c70e45a7acfd
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-324
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 30 Jan 2008 07:57:28 +0000 |
parents | 606f2d163a64 a183f87087f5 |
children |
comparison
equal
deleted
inserted
replaced
91366:86f3a8f0a3a6 | 91367:c70e45a7acfd |
---|---|
144 #undef LIB_STANDARD | 144 #undef LIB_STANDARD |
145 | 145 |
146 #else /* !__OpenBSD__ && !__FreeBSD__ && !__NetBSD__ && !sun */ | 146 #else /* !__OpenBSD__ && !__FreeBSD__ && !__NetBSD__ && !sun */ |
147 | 147 |
148 #undef START_FILES | 148 #undef START_FILES |
149 #ifdef HAVE_X86_64_LIB64_DIR | 149 #ifdef HAVE_LIB64_DIR |
150 #define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o | 150 #define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o |
151 #else | 151 #else |
152 #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o | 152 #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o |
153 #endif | 153 #endif |
154 | 154 |
156 The reason is that some functions in libgcc.a call functions from libc.a, | 156 The reason is that some functions in libgcc.a call functions from libc.a, |
157 and some libc.a functions need functions from libgcc.a. Since most | 157 and some libc.a functions need functions from libgcc.a. Since most |
158 versions of ld are one-pass linkers, we need to mention -lgcc twice, | 158 versions of ld are one-pass linkers, we need to mention -lgcc twice, |
159 or else we risk getting unresolved externals. */ | 159 or else we risk getting unresolved externals. */ |
160 #undef LIB_STANDARD | 160 #undef LIB_STANDARD |
161 #ifdef HAVE_X86_64_LIB64_DIR | 161 #ifdef HAVE_LIB64_DIR |
162 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o | 162 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o |
163 #else | 163 #else |
164 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o | 164 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtn.o |
165 #endif | 165 #endif |
166 | 166 |