glibc/rt
Florian Weimer f289e656ec rt: Turn forwards from librt to libc into compat symbols [BZ #24194]
As the  result of commit 6e6249d0b4
("BZ#14743: Move clock_* symbols from librt to libc."), in glibc 2.17,
clock_gettime, clock_getres, clock_settime, clock_getcpuclockid,
clock_nanosleep were added to libc, and the file rt/clock-compat.c
was added with forwarders to the actual implementations in libc.
These forwarders were wrapped in

#if SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_17)

so that they are not present for newer architectures (such as
powerpc64le) with a 2.17 or later ABI baseline.  But the forwarders
were not marked as compatibility symbols.  As a result, on older
architectures, historic configure checks such as

AC_CHECK_LIB(rt, clock_gettime)

still cause linking against librt, even though this is completely
unnecessary.  It also creates a needless porting hazard because
architectures behave differently when it comes to symbol availability.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2019-02-08 10:43:17 +01:00
..
bits Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_cancel.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_error.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_fsync.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_misc.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_notify.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_read64.c * elf/cache.c: Use <> rather than "" #includes. 2005-12-21 22:16:34 +00:00
aio_read.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_return.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_sigqueue.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_suspend.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio_write64.c * elf/cache.c: Use <> rather than "" #includes. 2005-12-21 22:16:34 +00:00
aio_write.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
aio.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
clock_getcpuclockid.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
clock_getres.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
clock_gettime.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
clock_nanosleep.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
clock_settime.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
clock-compat.c rt: Turn forwards from librt to libc into compat symbols [BZ #24194] 2019-02-08 10:43:17 +01:00
Depend hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
get_clockfreq.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
lio_listio64.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
lio_listio.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mq_close.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mq_getattr.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mq_notify.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mq_open.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mq_receive.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mq_send.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mq_setattr.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mq_timedreceive.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mq_timedsend.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mq_unlink.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
mqueue.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
shm_open.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
shm_unlink.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timer_create.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timer_delete.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timer_getoverr.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timer_gettime.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
timer_settime.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-aio2.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-aio3.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-aio4.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-aio5.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-aio6.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-aio7.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-aio8.c (do_test): aio_offset should be initialized, too. 2006-01-05 00:26:42 +00:00
tst-aio9.c Don't reduce test timeout to less than default 2018-10-17 09:34:13 +02:00
tst-aio10.c Don't reduce test timeout to less than default 2018-10-17 09:34:13 +02:00
tst-aio64.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-aio.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-clock2.c [BZ #2978] 2006-08-03 08:17:20 +00:00
tst-clock_nanosleep.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-clock.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-cpuclock1.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-cpuclock2.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-cputimer1.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
tst-cputimer2.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
tst-cputimer3.c * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
tst-mqueue1.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-mqueue2.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-mqueue3.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-mqueue4.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-mqueue5.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-mqueue6.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-mqueue7.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-mqueue8.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-mqueue9.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-mqueue.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-shm-cancel.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-shm.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-timer2.c Don't set unused field in rt/tst-timer2. 2015-02-06 12:30:38 -08:00
tst-timer3.c Update. 2004-04-16 20:44:32 +00:00
tst-timer4.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-timer5.c 2004-12-07 Roland McGrath <roland@redhat.com> 2004-12-07 20:44:46 +00:00
tst-timer.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Versions BZ#14743: Move clock_* symbols from librt to libc. 2012-10-24 14:50:46 -07:00