mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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>.
This commit is contained in:
@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user