ruby-changes:13720
From: akr <ko1@a...>
Date: Tue, 27 Oct 2009 15:54:17 +0900 (JST)
Subject: [ruby-changes:13720] Ruby:r25511 (trunk): * gc.h (SET_MACHINE_STACK_END): use __i386.
akr 2009-10-27 15:54:03 +0900 (Tue, 27 Oct 2009) New Revision: 25511 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25511 Log: * 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 Modified files: trunk/ChangeLog trunk/gc.h Index: ChangeLog =================================================================== --- ChangeLog (revision 25510) +++ ChangeLog (revision 25511) @@ -1,3 +1,10 @@ +Tue Oct 27 15:53:10 2009 Tanaka Akira <akr@f...> + + * 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@r...> * lib/net/ftp.rb (getbinaryfile, list): call to_s to convert Index: gc.h =================================================================== --- gc.h (revision 25510) +++ gc.h (revision 25511) @@ -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)); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/