b2958437a1
The __libc_ia64_register_backing_store_base variable is defined on Linux (in glibc) to allow processes to obtain the base of the RSE backing store. On FreeBSD we do not have such a variable. We also do not yet have a different interface for processes to use. So, for now, hardcode the base address of the RSE backing store as it is on FreeBSD. There's little chance this will change in the future, so it's not that evil. Approved by: portmgr (kris)
13 lines
373 B
C
13 lines
373 B
C
--- eval.c.orig Wed Nov 26 22:41:47 2003
|
|
+++ eval.c Wed Nov 26 22:40:38 2003
|
|
@@ -7788,8 +7788,7 @@
|
|
|
|
#ifdef __ia64__
|
|
#include <ucontext.h>
|
|
-#pragma weak __libc_ia64_register_backing_store_base
|
|
-extern unsigned long __libc_ia64_register_backing_store_base;
|
|
+#define __libc_ia64_register_backing_store_base (4ULL<<61)
|
|
#endif
|
|
|
|
/* Windows SEH refers data on the stack. */
|