diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-05-20 19:23:00 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2008-05-20 19:23:00 +0000 |
commit | ed8f38ba440fcad087ce7fa0f06e05a1e4b39bbd (patch) | |
tree | ff65917095744eb97b0230872233179cb41ff2cc /sysdeps/unix/sysv/linux | |
parent | c1b8190a1d648ebda8211a6a44e2c7d32ecff484 (diff) | |
download | glibc-ed8f38ba440fcad087ce7fa0f06e05a1e4b39bbd.tar glibc-ed8f38ba440fcad087ce7fa0f06e05a1e4b39bbd.tar.gz glibc-ed8f38ba440fcad087ce7fa0f06e05a1e4b39bbd.tar.bz2 glibc-ed8f38ba440fcad087ce7fa0f06e05a1e4b39bbd.zip |
* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h cvs/fedora-glibc-20080520T1924
(FIRST_FRAME_POINTER): Define.
* sysdeps/sparc/sparc64/backtrace.c: New file.
2008-05-20 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
(FIRST_FRAME_POINTER): Define.
2008-05-09 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/sparc64/backtrace.c: New file.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h b/sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h index 2c2770d071..59656978b8 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h @@ -20,6 +20,9 @@ #define SIGCONTEXT struct sigcontext * #define SIGCONTEXT_EXTRA_ARGS #define GET_PC(__ctx) ((void *) ((__ctx)->si_regs.pc)) +#define FIRST_FRAME_POINTER \ + ({ void *ret; \ + asm volatile ("ta 3; add %%fp, 56, %0" : "=r" (ret)); ret; }) #define ADVANCE_STACK_FRAME(__next) \ ((void *) (((unsigned *)(__next))+14)) |