diff options
Diffstat (limited to 'src/m/alpha.h')
| -rw-r--r-- | src/m/alpha.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h index f1bd6e4b603..2bd42bdf9d2 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -96,12 +96,15 @@ NOTE-END | |||
| 96 | #ifdef __ELF__ | 96 | #ifdef __ELF__ |
| 97 | #undef UNEXEC | 97 | #undef UNEXEC |
| 98 | #define UNEXEC unexelf.o | 98 | #define UNEXEC unexelf.o |
| 99 | #ifndef LINUX | 99 | #ifndef GNU_LINUX |
| 100 | #define DATA_START 0x140000000 | 100 | #define DATA_START 0x140000000 |
| 101 | #endif | 101 | #endif |
| 102 | |||
| 103 | #if (defined (__NetBSD__) || defined (__OpenBSD__)) | ||
| 104 | #define HAVE_TEXT_START | ||
| 102 | #endif | 105 | #endif |
| 103 | 106 | ||
| 104 | #ifndef __ELF__ | 107 | #else /* not __ELF__ */ |
| 105 | 108 | ||
| 106 | /* Describe layout of the address space in an executing process. */ | 109 | /* Describe layout of the address space in an executing process. */ |
| 107 | 110 | ||
| @@ -112,9 +115,9 @@ NOTE-END | |||
| 112 | 115 | ||
| 113 | #define UNEXEC unexalpha.o | 116 | #define UNEXEC unexalpha.o |
| 114 | 117 | ||
| 115 | #endif /* notdef __ELF__ */ | 118 | #endif /* __ELF__ */ |
| 116 | 119 | ||
| 117 | #if defined (LINUX) && __GNU_LIBRARY__ - 0 < 6 | 120 | #if defined (GNU_LINUX) && __GNU_LIBRARY__ - 0 < 6 |
| 118 | /* This controls a conditional in main. */ | 121 | /* This controls a conditional in main. */ |
| 119 | #define LINUX_SBRK_BUG | 122 | #define LINUX_SBRK_BUG |
| 120 | #endif | 123 | #endif |
| @@ -123,7 +126,7 @@ NOTE-END | |||
| 123 | termio and struct termios are mutually incompatible. */ | 126 | termio and struct termios are mutually incompatible. */ |
| 124 | #define NO_TERMIO | 127 | #define NO_TERMIO |
| 125 | 128 | ||
| 126 | #if defined (LINUX) || defined (__NetBSD__) || defined (__OpenBSD__) | 129 | #if defined (GNU_LINUX) || defined (__NetBSD__) || defined (__OpenBSD__) |
| 127 | # define TEXT_END ({ extern int _etext; &_etext; }) | 130 | # define TEXT_END ({ extern int _etext; &_etext; }) |
| 128 | # ifndef __ELF__ | 131 | # ifndef __ELF__ |
| 129 | # define COFF | 132 | # define COFF |
| @@ -131,10 +134,6 @@ NOTE-END | |||
| 131 | # endif /* notdef __ELF__ */ | 134 | # endif /* notdef __ELF__ */ |
| 132 | #endif | 135 | #endif |
| 133 | 136 | ||
| 134 | #if (defined (__NetBSD__) || defined (__OpenBSD__)) && defined (__ELF__) | ||
| 135 | #define HAVE_TEXT_START | ||
| 136 | #endif | ||
| 137 | |||
| 138 | /* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN: | 137 | /* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN: |
| 139 | they generate code that uses a signaling NaN instead of DBL_MIN. | 138 | they generate code that uses a signaling NaN instead of DBL_MIN. |
| 140 | Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN: | 139 | Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN: |