[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109081: Move GC_MARK_SECONDARY_STACK
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109081: Move GC_MARK_SECONDARY_STACK from src/s to configure |
Date: |
Fri, 13 Jul 2012 17:54:35 -0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109081
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2012-07-13 17:54:35 -0400
message:
Move GC_MARK_SECONDARY_STACK from src/s to configure
* configure.ac (GC_MARK_SECONDARY_STACK): Move here from src/s.
* src/s/gnu-linux.h (GC_MARK_SECONDARY_STACK): Let configure set it.
modified:
ChangeLog
configure.ac
src/ChangeLog
src/s/gnu-linux.h
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-07-13 02:38:30 +0000
+++ b/ChangeLog 2012-07-13 21:54:35 +0000
@@ -8,8 +8,8 @@
(BSD_SYSTEM_AHB): New hack macro.
(AH_BOTTOM): Set BSD_SYSTEM, using BSD_SYSTEM_AHB.
- * configure.ac (NSIG_MINIMUM, ULIMIT_BREAK_VALUE):
- Move here from src/s.
+ * configure.ac (NSIG_MINIMUM, ULIMIT_BREAK_VALUE, SETUP_SLAVE_PTY)
+ (GC_MARK_SECONDARY_STACK): Move here from src/s.
2012-07-12 Glenn Morris <address@hidden>
=== modified file 'configure.ac'
--- a/configure.ac 2012-07-13 21:45:55 +0000
+++ b/configure.ac 2012-07-13 21:54:35 +0000
@@ -3578,6 +3578,14 @@
# error "not i386"
#endif
]], [[]])], AC_DEFINE(ULIMIT_BREAK_VALUE, [(32*1024*1024)]), [])
+
+ AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[
+#ifndef __ia64__
+# error "not ia64"
+#endif
+ ]], [[]])], AC_DEFINE(GC_MARK_SECONDARY_STACK(),
+ [do { extern void *__libc_ia64_register_backing_store_base;
__builtin_ia64_flushrs (); mark_memory
(__libc_ia64_register_backing_store_base, __builtin_ia64_bsp ());} while (0)],
+ [Mark a secondary stack, like the register stack on the ia64.]), [])
;;
hpux*)
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-07-13 21:45:55 +0000
+++ b/src/ChangeLog 2012-07-13 21:54:35 +0000
@@ -1,5 +1,7 @@
2012-07-13 Glenn Morris <address@hidden>
+ * s/gnu-linux.h (GC_MARK_SECONDARY_STACK): Let configure set it.
+
* s/usg5-4-common.h (SETUP_SLAVE_PTY): Let configure set it.
* s/irix6-5.h (SETUP_SLAVE_PTY): No more need to unset it.
=== modified file 'src/s/gnu-linux.h'
--- a/src/s/gnu-linux.h 2012-07-13 02:34:05 +0000
+++ b/src/s/gnu-linux.h 2012-07-13 21:54:35 +0000
@@ -20,16 +20,6 @@
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
-#ifdef __ia64__
-#define GC_MARK_SECONDARY_STACK() \
- do { \
- extern void *__libc_ia64_register_backing_store_base; \
- __builtin_ia64_flushrs (); \
- mark_memory (__libc_ia64_register_backing_store_base, \
- __builtin_ia64_bsp ()); \
- } while (0)
-#endif
-
/* Tell that garbage collector that setjmp is known to save all
registers relevant for conservative garbage collection in the jmp_buf.
Not all the architectures are tested, but there are Debian packages
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109081: Move GC_MARK_SECONDARY_STACK from src/s to configure,
Glenn Morris <=