diff options
| author | Dave Love | 2003-01-24 12:22:01 +0000 |
|---|---|---|
| committer | Dave Love | 2003-01-24 12:22:01 +0000 |
| commit | e7b6b57283dfae891cc6ea9704c06145f1804c94 (patch) | |
| tree | 61efc05fa8eeb2dbb0f2d23b89e010b52a60bfeb /src | |
| parent | c4d9ba398e7100fac6fcffb3d8f0640829ade828 (diff) | |
| download | emacs-e7b6b57283dfae891cc6ea9704c06145f1804c94.tar.gz emacs-e7b6b57283dfae891cc6ea9704c06145f1804c94.zip | |
(GC_SETJMP_WORKS, GC_MARK_STACK): Define for more
architectures.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/gnu-linux.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 6b3f9c35841..83201e080a9 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -251,6 +251,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 251 | /* alane@wozzle.linet.org says that -lipc is not a separate library, | 251 | /* alane@wozzle.linet.org says that -lipc is not a separate library, |
| 252 | since libc-4.4.1. So -lipc was deleted. */ | 252 | since libc-4.4.1. So -lipc was deleted. */ |
| 253 | #define LIBS_SYSTEM | 253 | #define LIBS_SYSTEM |
| 254 | /* _BSD_SOURCE is redundant, at least in glibc2, since we define | ||
| 255 | _GNU_SOURCE. Left in in case it's relevant to libc5 systems and | ||
| 256 | anyone's still using Emacs on those. --fx 2002-12-14 */ | ||
| 254 | #define C_SWITCH_SYSTEM -D_BSD_SOURCE | 257 | #define C_SWITCH_SYSTEM -D_BSD_SOURCE |
| 255 | #endif | 258 | #endif |
| 256 | 259 | ||
| @@ -332,13 +335,17 @@ Boston, MA 02111-1307, USA. */ | |||
| 332 | /* Tell that garbage collector that setjmp is known to save all | 335 | /* Tell that garbage collector that setjmp is known to save all |
| 333 | registers relevant for conservative garbage collection in the | 336 | registers relevant for conservative garbage collection in the |
| 334 | jmp_buf. */ | 337 | jmp_buf. */ |
| 335 | /* m68k and alpha aren't tested, but there are Debian packages for SCM | 338 | /* Not all the architectures are tested, but there are Debian packages |
| 336 | and/or Guile on them, so the technique must work. */ | 339 | for SCM and/or Guile on them, so the technique must work. See also |
| 337 | 340 | comments in alloc.c concerning setjmp and gcc. Fixme: it's | |
| 341 | probably safe to make this conditional just on GCC, except for ia64 | ||
| 342 | register window-flushing. */ | ||
| 338 | /* Don't use #cpu here since in newest development versions of GCC, | 343 | /* Don't use #cpu here since in newest development versions of GCC, |
| 339 | we must call cpp with -traditional, and that disables #cpu. */ | 344 | we must call cpp with -traditional, and that disables #cpu. */ |
| 340 | 345 | ||
| 341 | #if defined __i386__ || defined __sparc__ || defined __mc68000__ || defined __alpha__ | 346 | #if defined __i386__ || defined __sparc__ || defined __mc68000__ \ |
| 347 | || defined __alpha__ || defined __mips__ || defined __s390__ \ | ||
| 348 | || defined __arm__ || defined __powerpc__ | ||
| 342 | #define GC_SETJMP_WORKS 1 | 349 | #define GC_SETJMP_WORKS 1 |
| 343 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | 350 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
| 344 | #ifdef __mc68000__ | 351 | #ifdef __mc68000__ |