Mercurial > emacs
diff src/m/alpha.h @ 15719:fdac027af4e1
Undo previous change.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Tue, 16 Jul 1996 22:39:31 +0000 |
| parents | 2dff41f1ef30 |
| children | d6c4d581ad25 |
line wrap: on
line diff
--- a/src/m/alpha.h Tue Jul 16 22:37:24 1996 +0000 +++ b/src/m/alpha.h Tue Jul 16 22:39:31 1996 +0000 @@ -139,21 +139,6 @@ /* #define NO_SOCK_SIGIO */ -#ifdef __ELF__ -/* With ELF, make sure that all common symbols get allocated to in the - data section. Otherwise, the dump of temacs may miss variables in - the shared library that have been initialized. For example, with - GNU libc, __malloc_initialized would normally be resolved to the - shared library's .bss section, which is fatal. */ -# ifdef __GNUC__ -# define C_SWITCH_MACHINE -fno-common -# else -# error What gives? Fix me if DEC Unix supports ELF now. -# endif -#endif - -#ifndef __ELF__ - /* Describe layout of the address space in an executing process. */ #define TEXT_START 0x120000000 @@ -164,12 +149,6 @@ #define DATA_SEG_BITS 0x140000000 -/* The program to be used for unexec. */ - -#define UNEXEC unexalpha.o - -#endif /* ! __ELF__ */ - #ifdef OSF1 #define ORDINARY_LINK @@ -196,11 +175,15 @@ #define START_FILES pre-crt0.o #endif -#if defined(LINUX) && __GNU_LIBRARY__ - 0 < 6 +#ifdef LINUX /* This controls a conditional in main. */ #define LINUX_SBRK_BUG #endif +/* The program to be used for unexec. */ + +#define UNEXEC unexalpha.o + #define PNTR_COMPARISON_TYPE unsigned long @@ -290,14 +273,12 @@ while (0) #endif -/* On the Alpha it's best to avoid including TERMIO since struct - termio and struct termios are mutually incompatible. */ +#ifdef linux +#define COFF +/* Linux/Alpha doesn't like it if termio.h and termios.h get included + simultaneously. */ #define NO_TERMIO -#ifdef LINUX -# define TEXT_END ({ extern int _etext; &_etext; }) -# ifndef __ELF__ -# define COFF -# define DATA_END ({ extern int _EDATA; &_EDATA; }) -# endif /* ! __ELF__ */ +#define TEXT_END ({ extern int _etext; &_etext; }) +#define DATA_END ({ extern int _EDATA; &_EDATA; }) #endif
