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
This commit is contained in:
John David Anglin 2007-10-11 00:36:08 +00:00 committed by John David Anglin
parent 96a4a5068c
commit d05d4c4eab
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -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