diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-02-01 06:35:29 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-02-01 06:35:29 +0000 |
commit | e782a927c24430100bf2008c96cd421a70285a7e (patch) | |
tree | ca91c08070e38fa5c2c9ed085f4835eb5ab3704b /sysdeps/powerpc/powerpc32/backtrace.c | |
parent | 3a7ac8a0f596bb73093212cd1109c1413777e1f8 (diff) | |
download | glibc-e782a927c24430100bf2008c96cd421a70285a7e.tar.gz glibc-e782a927c24430100bf2008c96cd421a70285a7e.tar.xz glibc-e782a927c24430100bf2008c96cd421a70285a7e.zip |
Remove BOUNDED_N and BOUNDED_1.
Diffstat (limited to 'sysdeps/powerpc/powerpc32/backtrace.c')
-rw-r--r-- | sysdeps/powerpc/powerpc32/backtrace.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/powerpc/powerpc32/backtrace.c b/sysdeps/powerpc/powerpc32/backtrace.c index b1b4b8e10d..cd04450337 100644 --- a/sysdeps/powerpc/powerpc32/backtrace.c +++ b/sysdeps/powerpc/powerpc32/backtrace.c @@ -18,7 +18,6 @@ #include <execinfo.h> #include <stddef.h> -#include <bp-checks.h> /* This is the stack layout we see with every stack frame. Note that every routine is required by the ABI to lay out the stack @@ -47,11 +46,10 @@ __backtrace (void **array, int size) /* Get the address on top-of-stack. */ asm volatile ("lwz %0,0(1)" : "=r"(current)); - current = BOUNDED_1 (current); for ( count = 0; current != NULL && count < size; - current = BOUNDED_1 (current->next), count++) + current = current->next, count++) array[count] = current->return_address; /* It's possible the second-last stack frame can't return |