diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-13 20:10:13 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:23 +0200 |
commit | 8f86b8a1977128e2795737fed2577b377cc2b15e (patch) | |
tree | efe970f2c360ff69636f4625517e275346d9975d /libpthread/nptl/sysdeps/sh/jmpbuf-unwind.h | |
parent | 17967fd080face7e64a3c25b323760deab106096 (diff) |
move *longjmp related prototypes to setjmp.h
Provide common prototypes for __longjmp, __libc_longjmp, __libc_siglongjmp
_longjmp_unwind, __libc_unwind_longjmp in setjmp.h in preparation for use in LT new
Add __longjmp to h8300 and i960
Make common longjmp.c good for NPTL
Guard _longjmp_unwind use in sh's longjmp.c for NPTL (I think sh could use the common one)
Remove unneeded attribute_noreturn, prototype provides it already
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/sh/jmpbuf-unwind.h')
-rw-r--r-- | libpthread/nptl/sysdeps/sh/jmpbuf-unwind.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libpthread/nptl/sysdeps/sh/jmpbuf-unwind.h b/libpthread/nptl/sysdeps/sh/jmpbuf-unwind.h index 41c3c3984..116d21442 100644 --- a/libpthread/nptl/sysdeps/sh/jmpbuf-unwind.h +++ b/libpthread/nptl/sysdeps/sh/jmpbuf-unwind.h @@ -26,8 +26,3 @@ #define _JMPBUF_UNWINDS_ADJ(jmpbuf, address, adj) \ ((uintptr_t) (address) - (adj) < (uintptr_t) (jmpbuf)[0].__regs[7] - (adj)) - -extern __typeof(longjmp) __libc_longjmp attribute_noreturn; - -/* We use the normal lobngjmp for unwinding. */ -#define __libc_unwind_longjmp(buf, val) __libc_longjmp (buf, val) |