Mercurial > emacs
comparison src/m/mips.h @ 69561:496d2fcbae73
Don't use unexmips on NetBSD.
(LIBS_MACHINE): Move definition lower, so it doesn't use
LD_SWITCH_MACHINE, START_FILES, LIB_STANDARD, LIBS_TERMCAP,
C_SWITCH_MACHINE, and C_DEBUG_SWITCH.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 18 Mar 2006 14:52:19 +0000 |
parents | 3bd95f4f2941 |
children | e90d04cd455a e3bacb89536a |
comparison
equal
deleted
inserted
replaced
69560:dab2f548eda2 | 69561:496d2fcbae73 |
---|---|
110 #define NO_REMAP | 110 #define NO_REMAP |
111 | 111 |
112 /* This machine requires completely different unexec code | 112 /* This machine requires completely different unexec code |
113 which lives in a separate file. Specify the file name. */ | 113 which lives in a separate file. Specify the file name. */ |
114 | 114 |
115 #ifndef __linux__ | 115 #if !defined(__linux__) && !defined(__NetBSD__) |
116 #undef UNEXEC | 116 #undef UNEXEC |
117 #define UNEXEC unexmips.o | 117 #define UNEXEC unexmips.o |
118 #endif /* not __linux__ */ | 118 #endif /* not __linux__ && not __NetBSD__ */ |
119 | 119 |
120 /* Describe layout of the address space in an executing process. */ | 120 /* Describe layout of the address space in an executing process. */ |
121 | 121 |
122 #ifdef __linux__ | 122 #ifdef __linux__ |
123 #define TEXT_START 0x00400000 | 123 #define TEXT_START 0x00400000 |
140 #define LIBS_DEBUG | 140 #define LIBS_DEBUG |
141 | 141 |
142 #if defined (__NetBSD__) || defined (__OpenBSD__) | 142 #if defined (__NetBSD__) || defined (__OpenBSD__) |
143 #else /* bsd with elf */ | 143 #else /* bsd with elf */ |
144 #define LINKER /bsd43/bin/ld | 144 #define LINKER /bsd43/bin/ld |
145 | |
146 #define LD_SWITCH_MACHINE -D 800000 -g3 | |
147 #define START_FILES pre-crt0.o /usr/lib/crt1.o | |
148 #define LIB_STANDARD -lbsd -lc /usr/lib/crtn.o | |
149 #define LIBS_TERMCAP -lcurses | |
150 | |
151 #define C_SWITCH_MACHINE -I/usr/include/bsd | |
152 #define C_DEBUG_SWITCH -O -g3 | |
153 | |
145 #endif /* bsd with elf */ | 154 #endif /* bsd with elf */ |
146 #else /* not BSD_SYSTEM */ | 155 #else /* not BSD_SYSTEM */ |
147 | 156 |
148 #if defined(__GNUC__) && defined(_ABIN32) | 157 #if defined(__GNUC__) && defined(_ABIN32) |
149 #define LIBS_MACHINE | 158 #define LIBS_MACHINE |
150 #else | 159 #else |
151 #define LIBS_MACHINE -lmld | 160 #define LIBS_MACHINE -lmld |
152 #endif | 161 #endif |
153 | |
154 #define LD_SWITCH_MACHINE -D 800000 -g3 | |
155 #define START_FILES pre-crt0.o /usr/lib/crt1.o | |
156 #define LIB_STANDARD -lbsd -lc /usr/lib/crtn.o | |
157 #define LIBS_TERMCAP -lcurses | |
158 | |
159 #define C_SWITCH_MACHINE -I/usr/include/bsd | |
160 #define C_DEBUG_SWITCH -O -g3 | |
161 | 162 |
162 #endif /* not BSD_SYSTEM */ | 163 #endif /* not BSD_SYSTEM */ |
163 #endif /* not NEWSOS5 && not __linux__ */ | 164 #endif /* not NEWSOS5 && not __linux__ */ |
164 | 165 |
165 /* The standard definitions of these macros would work ok, | 166 /* The standard definitions of these macros would work ok, |