* thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
This fixes a compilation failure while cross-compiling for ARM. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1eb5004660
commit
ed9e1f9ad9
@ -1,3 +1,8 @@
|
|||||||
|
Fri Apr 26 17:41:17 2013 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
|
||||||
|
This fixes a compilation failure while cross-compiling for ARM.
|
||||||
|
|
||||||
Fri Apr 26 14:35:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
Fri Apr 26 14:35:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||||
|
|
||||||
* lib/rss/atom.rb: Documentation for RSS::Atom based on a patch by
|
* lib/rss/atom.rb: Documentation for RSS::Atom based on a patch by
|
||||||
|
@ -672,6 +672,7 @@ ruby_init_stack(volatile VALUE *addr
|
|||||||
/* it should be on co-routine (alternative stack). [Feature #2294] */
|
/* it should be on co-routine (alternative stack). [Feature #2294] */
|
||||||
{
|
{
|
||||||
void *start, *end;
|
void *start, *end;
|
||||||
|
STACK_GROW_DIR_DETECTION;
|
||||||
|
|
||||||
if (IS_STACK_DIR_UPPER()) {
|
if (IS_STACK_DIR_UPPER()) {
|
||||||
start = native_main_thread.stack_start;
|
start = native_main_thread.stack_start;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user