diff options
| author | Paul Eggert | 2012-04-13 23:18:49 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-04-13 23:18:49 -0700 |
| commit | b948ce8b0244181c9e08d6bfc635ead24b4e9742 (patch) | |
| tree | 5f8b392f53b88dc2759cb29af6189910d6660e9a /src/s/gnu-linux.h | |
| parent | 5ae255c7e9a2bd1ac594afe99fb24e9a0091d414 (diff) | |
| download | emacs-b948ce8b0244181c9e08d6bfc635ead24b4e9742.tar.gz emacs-b948ce8b0244181c9e08d6bfc635ead24b4e9742.zip | |
Make GC_MAKE_GCPROS_NOOPS the default (Bug#9926).
* lisp.h (GC_MARK_STACK): Default to GC_MAKE_GCPROS_NOOPS.
* s/cygwin.h, s/darwin.h, s/freebsd.h, s/gnu.h, s/irix6-5.h, s/msdos.h:
* s/netbsd.h, s/sol2-6.h:
Remove definition of GC_MARK_STACK, since the default now works.
* s/aix4-2.h, s/hpux10-20.h, s/unixware.h:
Define GC_MARK_STACK to GC_USE_GCPROS_AS_BEFORE, since that's
no longer the default.
* s/gnu-linux.h (GC_MARK_STACK): Adjust to change in default.
Diffstat (limited to 'src/s/gnu-linux.h')
| -rw-r--r-- | src/s/gnu-linux.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index c1233c0e6ce..d04ea33068a 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -145,7 +145,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 145 | || defined __arm__ || defined __powerpc__ || defined __amd64__ \ | 145 | || defined __arm__ || defined __powerpc__ || defined __amd64__ \ |
| 146 | || defined __ia64__ || defined __sh__ | 146 | || defined __ia64__ || defined __sh__ |
| 147 | #define GC_SETJMP_WORKS 1 | 147 | #define GC_SETJMP_WORKS 1 |
| 148 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | ||
| 149 | #ifdef __ia64__ | 148 | #ifdef __ia64__ |
| 150 | #define GC_MARK_SECONDARY_STACK() \ | 149 | #define GC_MARK_SECONDARY_STACK() \ |
| 151 | do { \ | 150 | do { \ |
| @@ -155,4 +154,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 155 | __builtin_ia64_bsp ()); \ | 154 | __builtin_ia64_bsp ()); \ |
| 156 | } while (0) | 155 | } while (0) |
| 157 | #endif | 156 | #endif |
| 157 | #else | ||
| 158 | #define GC_MARK_STACK GC_USE_GCPROS_AS_BEFORE | ||
| 158 | #endif | 159 | #endif |