diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-06 19:21:24 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-06 19:21:24 +0000 |
| commit | 16264971bb38a5e1b3916cad7027eb7a88335a15 (patch) | |
| tree | 28b3cbaba9ca30b0c7aee001b3ae8995b3d6f373 | |
| parent | e0ef97ccce03d5e103410bcfe7ef326656fc1713 (diff) | |
| download | ruby-16264971bb38a5e1b3916cad7027eb7a88335a15.tar.gz ruby-16264971bb38a5e1b3916cad7027eb7a88335a15.tar.xz ruby-16264971bb38a5e1b3916cad7027eb7a88335a15.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@4345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | gc.c | 4 |
2 files changed, 10 insertions, 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. @@ -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 |
