diff options
| author | Eli Zaretskii | 2006-03-18 14:52:19 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-03-18 14:52:19 +0000 |
| commit | 73372e83a8f6eeff7da62bcae84726e52e87db42 (patch) | |
| tree | cece9797ee3440971ddc93b3c84e47d387199dfc /src/m | |
| parent | 8daaf78be89633514b94e661945f0814ea3e1f90 (diff) | |
| download | emacs-73372e83a8f6eeff7da62bcae84726e52e87db42.tar.gz emacs-73372e83a8f6eeff7da62bcae84726e52e87db42.zip | |
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.
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/mips.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/m/mips.h b/src/m/mips.h index dc45a99d06b..9ae74178143 100644 --- a/src/m/mips.h +++ b/src/m/mips.h | |||
| @@ -112,10 +112,10 @@ NOTE-END */ | |||
| 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 | ||
| @@ -142,14 +142,6 @@ NOTE-END */ | |||
| 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 | #endif /* bsd with elf */ | ||
| 146 | #else /* not BSD_SYSTEM */ | ||
| 147 | |||
| 148 | #if defined(__GNUC__) && defined(_ABIN32) | ||
| 149 | #define LIBS_MACHINE | ||
| 150 | #else | ||
| 151 | #define LIBS_MACHINE -lmld | ||
| 152 | #endif | ||
| 153 | 145 | ||
| 154 | #define LD_SWITCH_MACHINE -D 800000 -g3 | 146 | #define LD_SWITCH_MACHINE -D 800000 -g3 |
| 155 | #define START_FILES pre-crt0.o /usr/lib/crt1.o | 147 | #define START_FILES pre-crt0.o /usr/lib/crt1.o |
| @@ -159,6 +151,15 @@ NOTE-END */ | |||
| 159 | #define C_SWITCH_MACHINE -I/usr/include/bsd | 151 | #define C_SWITCH_MACHINE -I/usr/include/bsd |
| 160 | #define C_DEBUG_SWITCH -O -g3 | 152 | #define C_DEBUG_SWITCH -O -g3 |
| 161 | 153 | ||
| 154 | #endif /* bsd with elf */ | ||
| 155 | #else /* not BSD_SYSTEM */ | ||
| 156 | |||
| 157 | #if defined(__GNUC__) && defined(_ABIN32) | ||
| 158 | #define LIBS_MACHINE | ||
| 159 | #else | ||
| 160 | #define LIBS_MACHINE -lmld | ||
| 161 | #endif | ||
| 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 | ||