diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-27 06:54:03 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-27 06:54:03 +0000 |
| commit | 5385023112af199efa6cf1837fe65349abb5d2c7 (patch) | |
| tree | 1d8bc8e8531ba54f1bf75e0db5d91378606d2f15 | |
| parent | dc127e467a7e5d04291b1f76633f235de70728b6 (diff) | |
| download | ruby-5385023112af199efa6cf1837fe65349abb5d2c7.tar.gz ruby-5385023112af199efa6cf1837fe65349abb5d2c7.tar.xz ruby-5385023112af199efa6cf1837fe65349abb5d2c7.zip | |
* gc.h (SET_MACHINE_STACK_END): use __i386.
Some compiler may not define __i386__.
Solaris 64-bit Developer's Guide:
http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | gc.h | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +Tue Oct 27 15:53:10 2009 Tanaka Akira <akr@fsij.org> + + * gc.h (SET_MACHINE_STACK_END): use __i386. + Some compiler may not define __i386__. + Solaris 64-bit Developer's Guide: + http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view + Tue Oct 27 15:44:48 2009 Shugo Maeda <shugo@ruby-lang.org> * lib/net/ftp.rb (getbinaryfile, list): call to_s to convert @@ -4,7 +4,7 @@ #if defined(__x86_64__) && defined(__GNUC__) #define SET_MACHINE_STACK_END(p) __asm__("movq\t%%rsp, %0" : "=r" (*p)) -#elif defined(__i386__) && defined(__GNUC__) +#elif defined(__i386) && defined(__GNUC__) #define SET_MACHINE_STACK_END(p) __asm__("movl\t%%esp, %0" : "=r" (*p)) #else NOINLINE(void rb_gc_set_stack_end(VALUE **stack_end_p)); |
