diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-08-31 18:10:47 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-08-31 18:10:47 +0000 |
commit | cd2fbe58e617407e79b64c68cef34224803aa910 (patch) | |
tree | b07a2d7ac749cf125426c8deb41668deeaf6d2c8 /nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c | |
parent | b5bc52efe77e9f0deeb2ee141ea066ab18c927da (diff) | |
download | glibc-cd2fbe58e617407e79b64c68cef34224803aa910.tar.gz glibc-cd2fbe58e617407e79b64c68cef34224803aa910.tar.xz glibc-cd2fbe58e617407e79b64c68cef34224803aa910.zip |
Update.
2003-08-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/bsd-_setjmp.S: Use HIDDEN_JUMPTARGET. * include/setjmp.h: Add libc_hidden_proto for __sigsetjmp. (CFLAGS-clnt_perr.c): Likewise.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c b/nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c new file mode 100644 index 0000000000..0d6da82919 --- /dev/null +++ b/nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c @@ -0,0 +1,33 @@ +#include <shlib-compat.h> + +#define aio_cancel64 XXX +#include <aio.h> +#undef aio_cancel64 +#include <errno.h> + +extern __typeof (aio_cancel) __new_aio_cancel; +extern __typeof (aio_cancel) __old_aio_cancel; + +#define aio_cancel __new_aio_cancel + +#include <sysdeps/pthread/aio_cancel.c> + +#undef aio_cancel +strong_alias (__new_aio_cancel, __new_aio_cancel64); +versioned_symbol (librt, __new_aio_cancel, aio_cancel, GLIBC_2_3); +versioned_symbol (librt, __new_aio_cancel64, aio_cancel64, GLIBC_2_3); + +#if SHLIB_COMPAT (librt, GLIBC_2_1, GLIBC_2_3) + +#undef ECANCELED +#define aio_cancel __old_aio_cancel +#define ECANCELED 125 + +#include <sysdeps/pthread/aio_cancel.c> + +#undef aio_cancel +strong_alias (__old_aio_cancel, __old_aio_cancel64); +compat_symbol (librt, __old_aio_cancel, aio_cancel, GLIBC_2_1); +compat_symbol (librt, __old_aio_cancel64, aio_cancel64, GLIBC_2_1); + +#endif |