summaryrefslogtreecommitdiff
path: root/src/m
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-05-03 19:56:19 -0700
committerGlenn Morris <rgm@gnu.org>2010-05-03 19:56:19 -0700
commit496287859b525d24bf38ef19a38ea2fd7d309bd1 (patch)
tree834b0172fea80021902a60f2febec10d6a709706 /src/m
parent7dff330b76dd3421febadb5e11509d36ddaf39ed (diff)
downloademacs-496287859b525d24bf38ef19a38ea2fd7d309bd1.tar.gz
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.h10
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
/* #define SYSTEM_MALLOC */
#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
#undef UNEXEC
#define UNEXEC unexelf.o