2003-03-21 Martin Schwidefsky <schwidefskyde.ibm.com>
authorroland <roland>
Wed, 26 Mar 2003 03:43:53 +0000 (03:43 +0000)
committerroland <roland>
Wed, 26 Mar 2003 03:43:53 +0000 (03:43 +0000)
* sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high order
bit from backtrace addresses.

sysdeps/s390/s390-32/backtrace.c

index b89b5a3..11d2219 100644 (file)
@@ -71,7 +71,7 @@ __backtrace (array, size)
           out of range.  */
        break;
 
-      array[cnt++] = stack->save_grps[8];
+      array[cnt++] = stack->save_grps[8] & 0x7fffffff;
 
       stack = (struct layout *) stack->back_chain;
     }