mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c: FreeBSD/ia64's mcontext_t is a bit different from that of
Linux/ia64. This makes gc.c compile but miniruby coredumps for the moment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
657a5c4b96
commit
1e51675654
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Thu Aug 7 04:19:15 2003 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* gc.c: FreeBSD/ia64's mcontext_t is a bit different from that of
|
||||
Linux/ia64. This makes gc.c compile but miniruby coredumps for
|
||||
the moment.
|
||||
|
||||
Wed Aug 7 00:15:00 2003 Shigeo Kobayashi <shigek@ruby-lang.org>
|
||||
|
||||
* ext/bigdecimal.c: Comparison results adjusted to Float's.
|
||||
|
|
4
gc.c
4
gc.c
|
@ -1260,7 +1260,11 @@ rb_gc()
|
|||
mark_locations_array((VALUE*)&ctx.uc_mcontext,
|
||||
((size_t)(sizeof(VALUE)-1 + sizeof ctx.uc_mcontext)/sizeof(VALUE)));
|
||||
bot = (VALUE*)__libc_ia64_register_backing_store_base;
|
||||
#if defined(__FreeBSD__)
|
||||
top = (VALUE*)ctx.uc_mcontext.mc_special.bspstore;
|
||||
#else
|
||||
top = (VALUE*)ctx.uc_mcontext.sc_ar_bsp;
|
||||
#endif
|
||||
rb_gc_mark_locations(bot, top);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue