Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 480238 | Differences between
and this patch

Collapse All | Expand All

(-)ChangeLog (+4 lines)
Lines 1-3 Link Here
1
Thu Feb  7 23:12:31 2013  KOSAKI Motohiro  <kosaki.motohiro@gmail.com>
2
3
	* gc.h (SET_MACHINE_STACK_END): use __volatile__ instead of volatile.
4
1
Sun Feb 10 14:25:00 2013  Zachary Scott  <zachary@zacharyscott.net>
5
Sun Feb 10 14:25:00 2013  Zachary Scott  <zachary@zacharyscott.net>
2
6
3
	* doc/rake/, lib/rake/doc/: Move Rake rdoc files to lib/rake
7
	* doc/rake/, lib/rake/doc/: Move Rake rdoc files to lib/rake
(-)gc.h (-2 / +2 lines)
Lines 3-11 Link Here
3
#define RUBY_GC_H 1
3
#define RUBY_GC_H 1
4
4
5
#if defined(__x86_64__) && defined(__GNUC__) && !defined(__native_client__)
5
#if defined(__x86_64__) && defined(__GNUC__) && !defined(__native_client__)
6
#define SET_MACHINE_STACK_END(p) __asm__ volatile ("movq\t%%rsp, %0" : "=r" (*(p)))
6
#define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movq\t%%rsp, %0" : "=r" (*(p)))
7
#elif defined(__i386) && defined(__GNUC__) && !defined(__native_client__)
7
#elif defined(__i386) && defined(__GNUC__) && !defined(__native_client__)
8
#define SET_MACHINE_STACK_END(p) __asm__ volatile ("movl\t%%esp, %0" : "=r" (*(p)))
8
#define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movl\t%%esp, %0" : "=r" (*(p)))
9
#else
9
#else
10
NOINLINE(void rb_gc_set_stack_end(VALUE **stack_end_p));
10
NOINLINE(void rb_gc_set_stack_end(VALUE **stack_end_p));
11
#define SET_MACHINE_STACK_END(p) rb_gc_set_stack_end(p)
11
#define SET_MACHINE_STACK_END(p) rb_gc_set_stack_end(p)

Return to bug 480238