Update.
* sysdeps/unix/sysv/linux/powerpc/ptlongjmp.c [SHARED]: Code only valid for SHARED case. Correct spelling of __vmx_longjmp.
This commit is contained in:
parent
f1c616fc8e
commit
5990e1fe12
|
@ -1,5 +1,8 @@
|
||||||
2004-02-20 Steven Munroe <sjmunroe@us.ibm.com>
|
2004-02-20 Steven Munroe <sjmunroe@us.ibm.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/powerpc/ptlongjmp.c [SHARED]: Code only
|
||||||
|
valid for SHARED case. Correct spelling of __vmx_longjmp.
|
||||||
|
|
||||||
* sysdeps/powerpc/pspinlock.c: Move from here.
|
* sysdeps/powerpc/pspinlock.c: Move from here.
|
||||||
* sysdeps/powerpc/powerpc32/pspinlock.c: To here.
|
* sysdeps/powerpc/powerpc32/pspinlock.c: To here.
|
||||||
* sysdeps/powerpc/powerpc64/pspinlock.c: New file.
|
* sysdeps/powerpc/powerpc64/pspinlock.c: New file.
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <bits/wordsize.h>
|
#include <bits/wordsize.h>
|
||||||
#include <shlib-compat.h>
|
#include <shlib-compat.h>
|
||||||
#if defined SHARED && SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_3_4)
|
#if defined SHARED
|
||||||
|
# if SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_3_4)
|
||||||
|
|
||||||
/* These functions are not declared anywhere since they shouldn't be
|
/* These functions are not declared anywhere since they shouldn't be
|
||||||
used at another place but here. */
|
used at another place but here. */
|
||||||
|
@ -46,7 +47,7 @@ symbol_version (__novmx_siglongjmp,siglongjmp,GLIBC_2.3);
|
||||||
symbol_version (__novmx_longjmp,longjmp,GLIBC_2.0);
|
symbol_version (__novmx_longjmp,longjmp,GLIBC_2.0);
|
||||||
symbol_version (__novmx_siglongjmp,siglongjmp,GLIBC_2.0);
|
symbol_version (__novmx_siglongjmp,siglongjmp,GLIBC_2.0);
|
||||||
# endif
|
# endif
|
||||||
#endif /* defined SHARED && SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_3_4) ) */
|
# endif /* SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_3_4) ) */
|
||||||
|
|
||||||
/* These functions are not declared anywhere since they shouldn't be
|
/* These functions are not declared anywhere since they shouldn't be
|
||||||
used at another place but here. */
|
used at another place but here. */
|
||||||
|
@ -55,16 +56,15 @@ extern void __vmx__libc_siglongjmp (sigjmp_buf env, int val)
|
||||||
extern void __vmx__libc_longjmp (sigjmp_buf env, int val)
|
extern void __vmx__libc_longjmp (sigjmp_buf env, int val)
|
||||||
__attribute__ ((noreturn));
|
__attribute__ ((noreturn));
|
||||||
|
|
||||||
#ifdef SHARED
|
|
||||||
void __vmx_siglongjmp (sigjmp_buf env, int val)
|
void __vmx_siglongjmp (sigjmp_buf env, int val)
|
||||||
{
|
{
|
||||||
__vmx__libc_siglongjmp (env, val);
|
__vmx__libc_siglongjmp (env, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
void __vmxlongjmp (jmp_buf env, int val)
|
void __vmx_longjmp (jmp_buf env, int val)
|
||||||
{
|
{
|
||||||
__vmx__libc_longjmp (env, val);
|
__vmx__libc_longjmp (env, val);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
default_symbol_version (__vmx_longjmp,longjmp,GLIBC_2.3.4);
|
default_symbol_version (__vmx_longjmp,longjmp,GLIBC_2.3.4);
|
||||||
default_symbol_version (__vmx_siglongjmp,siglongjmp,GLIBC_2.3.4);
|
default_symbol_version (__vmx_siglongjmp,siglongjmp,GLIBC_2.3.4);
|
||||||
|
#endif /* SHARED */
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2004-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
||||||
|
|
||||||
|
* sysdeps/sh/jmpbuf-unwind.h (_JMPBUF_UNWINDS_ADJ): Fix variable name.
|
||||||
|
|
||||||
2004-02-20 Jakub Jelinek <jakub@redhat.com>
|
2004-02-20 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h
|
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h
|
||||||
|
|
|
@ -25,4 +25,4 @@
|
||||||
_JMPBUF_UNWINDS_ADJ (_jmpbuf, (void *) _Unwind_GetCFA (_context), _adj)
|
_JMPBUF_UNWINDS_ADJ (_jmpbuf, (void *) _Unwind_GetCFA (_context), _adj)
|
||||||
|
|
||||||
#define _JMPBUF_UNWINDS_ADJ(jmpbuf, address, adj) \
|
#define _JMPBUF_UNWINDS_ADJ(jmpbuf, address, adj) \
|
||||||
((uintptr_t) (address) - (adj) < (uintptr_t) (_jmpbuf)[0].__regs[7] - (adj))
|
((uintptr_t) (address) - (adj) < (uintptr_t) (jmpbuf)[0].__regs[7] - (adj))
|
||||||
|
|
Loading…
Reference in New Issue