diff options
| author | Karl Heuer | 1996-07-15 21:48:55 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-07-15 21:48:55 +0000 |
| commit | f6142d98f0ed603513c50a728cebef2210ca8462 (patch) | |
| tree | 61f2d80abeb9f19590984ca3e5df6ed961543503 /src | |
| parent | 4aa4d69bab629cec17529460f23dd58581adc181 (diff) | |
| download | emacs-f6142d98f0ed603513c50a728cebef2210ca8462.tar.gz emacs-f6142d98f0ed603513c50a728cebef2210ca8462.zip | |
(TEXT_START, DATA_START, DATA_SEG_BITS, UNEXEC, DATA_END):
Omit these definitions if ELF.
(LINUX_SBRK_BUG): Omit this if using a recent GNU library.
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/alpha.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h index 606b7aab469..f3ee56f3a73 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -139,6 +139,8 @@ NOTE-END | |||
| 139 | /* #define NO_SOCK_SIGIO */ | 139 | /* #define NO_SOCK_SIGIO */ |
| 140 | 140 | ||
| 141 | 141 | ||
| 142 | #ifndef __ELF__ | ||
| 143 | |||
| 142 | /* Describe layout of the address space in an executing process. */ | 144 | /* Describe layout of the address space in an executing process. */ |
| 143 | 145 | ||
| 144 | #define TEXT_START 0x120000000 | 146 | #define TEXT_START 0x120000000 |
| @@ -149,6 +151,12 @@ NOTE-END | |||
| 149 | 151 | ||
| 150 | #define DATA_SEG_BITS 0x140000000 | 152 | #define DATA_SEG_BITS 0x140000000 |
| 151 | 153 | ||
| 154 | /* The program to be used for unexec. */ | ||
| 155 | |||
| 156 | #define UNEXEC unexalpha.o | ||
| 157 | |||
| 158 | #endif /* ! __ELF__ */ | ||
| 159 | |||
| 152 | #ifdef OSF1 | 160 | #ifdef OSF1 |
| 153 | #define ORDINARY_LINK | 161 | #define ORDINARY_LINK |
| 154 | 162 | ||
| @@ -175,15 +183,11 @@ NOTE-END | |||
| 175 | #define START_FILES pre-crt0.o | 183 | #define START_FILES pre-crt0.o |
| 176 | #endif | 184 | #endif |
| 177 | 185 | ||
| 178 | #ifdef LINUX | 186 | #if defined(LINUX) && __GNU_LIBRARY__ - 0 < 6 |
| 179 | /* This controls a conditional in main. */ | 187 | /* This controls a conditional in main. */ |
| 180 | #define LINUX_SBRK_BUG | 188 | #define LINUX_SBRK_BUG |
| 181 | #endif | 189 | #endif |
| 182 | 190 | ||
| 183 | /* The program to be used for unexec. */ | ||
| 184 | |||
| 185 | #define UNEXEC unexalpha.o | ||
| 186 | |||
| 187 | 191 | ||
| 188 | #define PNTR_COMPARISON_TYPE unsigned long | 192 | #define PNTR_COMPARISON_TYPE unsigned long |
| 189 | 193 | ||
| @@ -280,5 +284,7 @@ extern void r_alloc_free (); | |||
| 280 | #define NO_TERMIO | 284 | #define NO_TERMIO |
| 281 | 285 | ||
| 282 | #define TEXT_END ({ extern int _etext; &_etext; }) | 286 | #define TEXT_END ({ extern int _etext; &_etext; }) |
| 283 | #define DATA_END ({ extern int _EDATA; &_EDATA; }) | 287 | #ifndef __ELF__ |
| 288 | # define DATA_END ({ extern int _EDATA; &_EDATA; }) | ||
| 289 | #endif /* notdef __ELF__ */ | ||
| 284 | #endif | 290 | #endif |