diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/ruby/defines.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Oct 20 13:09:35 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * include/ruby/defines.h (flush_register_windows): use software + trap on Debian Sparc 32-bit userspace. [Bug #5244] + Thu Oct 20 14:28:22 2011 Martin Bosslet <Martin.Bosslet@googlemail.com> * test/openssl/test_pkcs5.rb: add RFC 6070 tests for PBKDF2 with diff --git a/include/ruby/defines.h b/include/ruby/defines.h index c81efd56fd..875e870ed3 100644 --- a/include/ruby/defines.h +++ b/include/ruby/defines.h @@ -205,7 +205,7 @@ flush_register_windows(void) #ifdef __GNUC__ volatile #endif -# if defined(__sparc_v9__) || defined(__sparcv9) || defined(__arch64__) +# if SIZEOF_VOIDP > 4 /* workaround for Debian Sparc quirk */ ("flushw") # else ("ta 0x03") |