From d05d4c4eabf14e2cdfa62bd852c6ceb133f73584 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Thu, 11 Oct 2007 00:36:08 +0000 Subject: 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 --- boehm-gc/ChangeLog | 6 ++++++ boehm-gc/pthread_support.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'boehm-gc') diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index eaef529ba80..60eac094906 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,9 @@ +2007-10-10 John David Anglin + + 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 * include/private/gcconfig.h: Handle mips64-linux n64 ABI. diff --git a/boehm-gc/pthread_support.c b/boehm-gc/pthread_support.c index 8210357766c..57c8a16a1fa 100644 --- a/boehm-gc/pthread_support.c +++ b/boehm-gc/pthread_support.c @@ -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 -- cgit v1.2.1