diff options
| author | Glenn Morris | 2010-05-03 19:56:19 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-03 19:56:19 -0700 |
| commit | 496287859b525d24bf38ef19a38ea2fd7d309bd1 (patch) | |
| tree | 834b0172fea80021902a60f2febec10d6a709706 /src/m | |
| parent | 7dff330b76dd3421febadb5e11509d36ddaf39ed (diff) | |
| download | emacs-496287859b525d24bf38ef19a38ea2fd7d309bd1.tar.gz emacs-496287859b525d24bf38ef19a38ea2fd7d309bd1.zip | |
Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
* configure.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM): New output
variables, replacing c_switch_machine, c_switch_system.
* src/s/aix4-2.h (C_SWITCH_SYSTEM):
* src/m/alpha.h (C_SWITCH_MACHINE):
Move to configure.in.
* src/Makefile.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM):
New variables, set by configure.
(ALL_CFLAGS): Use $C_SWITCH_MACHINE and $C_SWITCH_SYSTEM in place of
$c_switch_machine and $c_switch_system.
* lib-src/Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@
rather than @c_switch_system@, @c_switch_machine@.
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/alpha.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h index 80f9d6c02fe..ec0ed92e24a 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -77,16 +77,6 @@ NOTE-END | |||
| 77 | /* #define SYSTEM_MALLOC */ | 77 | /* #define SYSTEM_MALLOC */ |
| 78 | 78 | ||
| 79 | #ifdef __ELF__ | 79 | #ifdef __ELF__ |
| 80 | /* With ELF, make sure that all common symbols get allocated to in the | ||
| 81 | data section. Otherwise, the dump of temacs may miss variables in | ||
| 82 | the shared library that have been initialized. For example, with | ||
| 83 | GNU libc, __malloc_initialized would normally be resolved to the | ||
| 84 | shared library's .bss section, which is fatal. */ | ||
| 85 | # ifdef __GNUC__ | ||
| 86 | # define C_SWITCH_MACHINE -fno-common | ||
| 87 | # else | ||
| 88 | # error What gives? Fix me if DEC Unix supports ELF now. | ||
| 89 | # endif | ||
| 90 | 80 | ||
| 91 | #undef UNEXEC | 81 | #undef UNEXEC |
| 92 | #define UNEXEC unexelf.o | 82 | #define UNEXEC unexelf.o |