Commit d05d4c4e by John David Anglin Committed by John David Anglin

re PR boehm-gc/33442 (1938 unexpected fails in libjava testsuite)

	PR boehm-gc/33442
	* pthread_support.c (GC_PTR GC_get_thread_stack_base): If stack grows
	up, return stack_addr instead of stack_addr - stack_size.

From-SVN: r129224
parent 96a4a506
2007-10-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR boehm-gc/33442
* pthread_support.c (GC_PTR GC_get_thread_stack_base): If stack grows
up, return stack_addr instead of stack_addr - stack_size.
2007-08-14 David Daney <ddaney@avtrex.com>
* include/private/gcconfig.h: Handle mips64-linux n64 ABI.
......
......@@ -1153,7 +1153,7 @@ GC_PTR GC_get_thread_stack_base()
# ifdef STACK_GROWS_DOWN
return stack_addr + stack_size;
# else
return stack_addr - stack_size;
return stack_addr;
# endif
# else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment