aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-04-25 14:30:41 +0000
committerChong Yidong2008-04-25 14:30:41 +0000
commit1bdbfed76bf9f3bb265cfdc21f624fb342944890 (patch)
treef536a9038d7b44b4c19c39b2f57addca88573dcd /src
parent5cc830c61ae301b4aaee79d170a7474ef5044bf3 (diff)
downloademacs-1bdbfed76bf9f3bb265cfdc21f624fb342944890.tar.gz
emacs-1bdbfed76bf9f3bb265cfdc21f624fb342944890.zip
Additional redefinitions for GNU/Linux.
Diffstat (limited to 'src')
-rw-r--r--src/m/sparc.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/m/sparc.h b/src/m/sparc.h
index f4847676c3b..333d78863ad 100644
--- a/src/m/sparc.h
+++ b/src/m/sparc.h
@@ -93,6 +93,18 @@ NOTE-END */
93 93
94#ifdef __arch64__ /* GCC, 64-bit ABI. */ 94#ifdef __arch64__ /* GCC, 64-bit ABI. */
95#define BITS_PER_LONG 64 95#define BITS_PER_LONG 64
96#ifdef __linux__
97#undef START_FILES
98#define START_FILES pre-crt0.o /usr/lib64/crt1.o /usr/lib64/crti.o
99
100/* The duplicate -lgcc is intentional in the definition of LIB_STANDARD.
101 The reason is that some functions in libgcc.a call functions from libc.a,
102 and some libc.a functions need functions from libgcc.a. Since most
103 versions of ld are one-pass linkers, we need to mention -lgcc twice,
104 or else we risk getting unresolved externals. */
105#undef LIB_STANDARD
106#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib64/crtn.o
107#endif
96#ifndef _LP64 108#ifndef _LP64
97#define _LP64 /* Done on Alpha -- not sure if it 109#define _LP64 /* Done on Alpha -- not sure if it
98 should be here. -- fx */ 110 should be here. -- fx */