diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/amdx86-64.h | 6 | ||||
| -rw-r--r-- | src/m/hp800.h | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h index 670360336a8..36e62ef6166 100644 --- a/src/m/amdx86-64.h +++ b/src/m/amdx86-64.h | |||
| @@ -125,12 +125,16 @@ Boston, MA 02110-1301, USA. */ | |||
| 125 | #undef LIB_STANDARD | 125 | #undef LIB_STANDARD |
| 126 | #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o | 126 | #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o |
| 127 | 127 | ||
| 128 | #elif defined(__NetBSD__) | ||
| 129 | |||
| 130 | /* LIB_STANDARD and START_FILES set correctly in s/netbsd.h */ | ||
| 131 | |||
| 128 | #elif defined(sun) | 132 | #elif defined(sun) |
| 129 | 133 | ||
| 130 | #undef START_FILES | 134 | #undef START_FILES |
| 131 | #undef LIB_STANDARD | 135 | #undef LIB_STANDARD |
| 132 | 136 | ||
| 133 | #else /* !__OpenBSD__ && !__FreeBSD__ && !sun */ | 137 | #else /* !__OpenBSD__ && !__FreeBSD__ && !__NetBSD__ && !sun */ |
| 134 | 138 | ||
| 135 | #undef START_FILES | 139 | #undef START_FILES |
| 136 | #ifdef HAVE_X86_64_LIB64_DIR | 140 | #ifdef HAVE_X86_64_LIB64_DIR |
diff --git a/src/m/hp800.h b/src/m/hp800.h index 01146e52359..1630a0bc883 100644 --- a/src/m/hp800.h +++ b/src/m/hp800.h | |||
| @@ -174,6 +174,14 @@ Boston, MA 02110-1301, USA. */ | |||
| 174 | #define rindex strrchr | 174 | #define rindex strrchr |
| 175 | 175 | ||
| 176 | #endif /* __hpux */ | 176 | #endif /* __hpux */ |
| 177 | |||
| 178 | /* Systems with GCC don't need to lose. */ | ||
| 179 | #ifdef __NetBSD__ | ||
| 180 | # ifdef __GNUC__ | ||
| 181 | # define alloca __builtin_alloca | ||
| 182 | # define HAVE_ALLOCA | ||
| 183 | # endif /* __GNUC__ */ | ||
| 184 | #endif /* __NetBSD__ */ | ||
| 177 | 185 | ||
| 178 | /* arch-tag: 809436e6-1645-4b92-b40d-2de5d6e7227c | 186 | /* arch-tag: 809436e6-1645-4b92-b40d-2de5d6e7227c |
| 179 | (do not change this comment) */ | 187 | (do not change this comment) */ |