From 7cc1a562b3859130e6f80278d0d503e6c70eac36 Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 27 Nov 2003 13:08:27 +0000 Subject: * eval.c, gc.c: FreeBSD/ia64 currently does not have a way for a process to get the base address for the RSE backing store, so hardcode it for the moment. [submitted by: Marcel Moolenaar ] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 9737c7d7e..217c5c7f4 100644 --- a/eval.c +++ b/eval.c @@ -7841,9 +7841,17 @@ Init_Proc() #ifdef __ia64__ #include +#if defined(__FreeBSD__) +/* + * FreeBSD/ia64 currently does not have a way for a process to get the + * base address for the RSE backing store, so hardcode it. + */ +#define __libc_ia64_register_backing_store_base (4ULL<<61) +#else #pragma weak __libc_ia64_register_backing_store_base extern unsigned long __libc_ia64_register_backing_store_base; #endif +#endif /* Windows SEH refers data on the stack. */ #undef SAVE_WIN32_EXCEPTION_LIST -- cgit