aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390/s390-32/backtrace.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-26 03:44:33 +0000
committerRoland McGrath <roland@gnu.org>2003-03-26 03:44:33 +0000
commitdd410d4d4585883d02aa497f4227551c5c4cf811 (patch)
tree54a7ab4c2c2ca44f5bf7d1cc4fa0f1011312f4fc /sysdeps/s390/s390-32/backtrace.c
parent6a1c6a1f18f6245f1821b8ed9d3f946b4fea541a (diff)
downloadglibc-dd410d4d4585883d02aa497f4227551c5c4cf811.zip
glibc-dd410d4d4585883d02aa497f4227551c5c4cf811.tar.gz
glibc-dd410d4d4585883d02aa497f4227551c5c4cf811.tar.bz2
* sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high order
bit from backtrace addresses. 2003-03-21 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/i386/chown.c: Don't define any versioned __chown symbols.
Diffstat (limited to 'sysdeps/s390/s390-32/backtrace.c')
-rw-r--r--sysdeps/s390/s390-32/backtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/s390/s390-32/backtrace.c b/sysdeps/s390/s390-32/backtrace.c
index b89b5a3..11d2219 100644
--- a/sysdeps/s390/s390-32/backtrace.c
+++ b/sysdeps/s390/s390-32/backtrace.c
@@ -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;
}