mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-27 05:00:15 +00:00
7b5af2d8f2
In glibc 2.17, the functions clock_getcpuclockid, clock_getres, clock_gettime, clock_nanosleep, and clock_settime were moved from librt.so to libc.so, leaving compatibility stubs behind. Now that the dynamic linker no longer insists on finding versioned symbols in the same library that originally defined them, we do not need the stubs anymore, and this means we don't need GLIBC_PRIVATE __-prefix aliases for most of the functions anymore either. (clock_gettime still needs one.) For ports added before 2.17, libc.so needs to provide two symbol versions for each, the default at GLIBC_2.17 plus a compat version matching what librt had. While I'm at it, move the clock_*.c files and their tests from rt/ to time/.
25 lines
606 B
Plaintext
25 lines
606 B
Plaintext
librt {
|
|
GLIBC_2.1 {
|
|
# AIO functions.
|
|
aio_cancel; aio_cancel64; aio_error; aio_error64; aio_fsync; aio_fsync64;
|
|
aio_init; aio_read; aio_read64; aio_return; aio_return64; aio_suspend;
|
|
aio_suspend64; aio_write; aio_write64; lio_listio; lio_listio64;
|
|
}
|
|
GLIBC_2.2 {
|
|
# s*
|
|
shm_open; shm_unlink;
|
|
|
|
# t*
|
|
timer_create; timer_delete; timer_getoverrun; timer_gettime;
|
|
timer_settime;
|
|
}
|
|
GLIBC_2.3.4 {
|
|
# m*
|
|
mq_open; mq_close; mq_unlink; mq_getattr; mq_setattr;
|
|
mq_notify; mq_send; mq_receive; mq_timedsend; mq_timedreceive;
|
|
}
|
|
GLIBC_2.7 {
|
|
__mq_open_2;
|
|
}
|
|
}
|