mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
* sysdeps/unix/sysv/linux/alpha/timer_create.c: New file.
* sysdeps/unix/sysv/linux/alpha/timer_delete.c: New file. * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: New file. * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: New file. * sysdeps/unix/sysv/linux/alpha/timer_settime.c: New file. * sysdeps/unix/sysv/linux/alpha/Versions: New file. * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: New file.
This commit is contained in:
parent
4861475309
commit
56a1b8778c
@ -1,5 +1,14 @@
|
||||
2003-09-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/alpha/timer_create.c: New file.
|
||||
* sysdeps/unix/sysv/linux/alpha/timer_delete.c: New file.
|
||||
* sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: New file.
|
||||
* sysdeps/unix/sysv/linux/alpha/timer_gettime.c: New file.
|
||||
* sysdeps/unix/sysv/linux/alpha/timer_settime.c: New file.
|
||||
* sysdeps/unix/sysv/linux/alpha/Versions: New file.
|
||||
|
||||
* sysdeps/unix/sysv/linux/alpha/aio_cancel.c: New file.
|
||||
|
||||
* sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: Define
|
||||
_POSIX_THREAD_PRIORITY_SCHEDULING.
|
||||
* sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: Likewise.
|
||||
|
7
nptl/sysdeps/unix/sysv/linux/alpha/Versions
Normal file
7
nptl/sysdeps/unix/sysv/linux/alpha/Versions
Normal file
@ -0,0 +1,7 @@
|
||||
librt {
|
||||
GLIBC_2.3.3 {
|
||||
# Changed timer_t.
|
||||
timer_create; timer_delete; timer_getoverrun; timer_gettime;
|
||||
timer_settime;
|
||||
}
|
||||
}
|
33
nptl/sysdeps/unix/sysv/linux/alpha/aio_cancel.c
Normal file
33
nptl/sysdeps/unix/sysv/linux/alpha/aio_cancel.c
Normal file
@ -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
|
1
nptl/sysdeps/unix/sysv/linux/alpha/timer_create.c
Normal file
1
nptl/sysdeps/unix/sysv/linux/alpha/timer_create.c
Normal file
@ -0,0 +1 @@
|
||||
#include "../x86_64/timer_create.c"
|
1
nptl/sysdeps/unix/sysv/linux/alpha/timer_delete.c
Normal file
1
nptl/sysdeps/unix/sysv/linux/alpha/timer_delete.c
Normal file
@ -0,0 +1 @@
|
||||
#include "../x86_64/timer_delete.c"
|
1
nptl/sysdeps/unix/sysv/linux/alpha/timer_getoverr.c
Normal file
1
nptl/sysdeps/unix/sysv/linux/alpha/timer_getoverr.c
Normal file
@ -0,0 +1 @@
|
||||
#include "../x86_64/timer_getoverr.c"
|
1
nptl/sysdeps/unix/sysv/linux/alpha/timer_gettime.c
Normal file
1
nptl/sysdeps/unix/sysv/linux/alpha/timer_gettime.c
Normal file
@ -0,0 +1 @@
|
||||
#include "../x86_64/timer_gettime.c"
|
1
nptl/sysdeps/unix/sysv/linux/alpha/timer_settime.c
Normal file
1
nptl/sysdeps/unix/sysv/linux/alpha/timer_settime.c
Normal file
@ -0,0 +1 @@
|
||||
#include "../x86_64/timer_settime.c"
|
Loading…
Reference in New Issue
Block a user