diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-11 15:32:09 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-11 15:32:09 +0000 |
commit | c2a329735e7381aed4b98c7639b20e201d8adaeb (patch) | |
tree | 1cc58978dca34536c327bc6c511329c929a16a12 /sysdeps/powerpc/backtrace.c | |
parent | 486fa0b7d4358f52bb885d9177db196478ba980b (diff) | |
download | glibc-c2a329735e7381aed4b98c7639b20e201d8adaeb.tar.gz glibc-c2a329735e7381aed4b98c7639b20e201d8adaeb.tar.xz glibc-c2a329735e7381aed4b98c7639b20e201d8adaeb.zip |
Update.
* sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark static inline, not extern inline. (elf_machine_dynamic): Likewise. (elf_machine_lazy_rel): Likewise. (elf_machine_plt_value): Likewise. * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL definition. Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
Diffstat (limited to 'sysdeps/powerpc/backtrace.c')
-rw-r--r-- | sysdeps/powerpc/backtrace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/powerpc/backtrace.c b/sysdeps/powerpc/backtrace.c index 7d71fbd9a8..a89d33294b 100644 --- a/sysdeps/powerpc/backtrace.c +++ b/sysdeps/powerpc/backtrace.c @@ -18,6 +18,7 @@ Boston, MA 02111-1307, USA. */ #include <execinfo.h> +#include <stddef.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 @@ -40,7 +41,7 @@ __backtrace (void **array, int size) { struct layout *current; int count; - + /* Force gcc to spill LR. */ asm volatile ("" : "=l"(current)); |