diff options
| author | Florian Weimer <fweimer@redhat.com> | 2021-06-28 09:51:00 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2021-06-28 09:51:00 +0200 |
| commit | df6d227e69082c5cab33b60aa676aebf08b7585e (patch) | |
| tree | 691811c64b55d6705a433064beee645ac61c386c | |
| parent | 273a2a2ae8b097672cdc8e9888548b134955af42 (diff) | |
| download | glibc-df6d227e69082c5cab33b60aa676aebf08b7585e.tar.xz glibc-df6d227e69082c5cab33b60aa676aebf08b7585e.zip | |
Linux: Move timer_getoverrun from librt to libc
The symbol was moved using scripts/move-symbol-to-libc.py.
The way the ABI intransition is implemented is changed with this
commit: the implementation is now consolidated in one file with a
TIMER_T_WAS_INT_COMPAT check.
Reviewed-by: Adhemerva Zanella <adhemerval.zanella@linaro.org>
79 files changed, 107 insertions, 95 deletions
diff --git a/rt/Makefile b/rt/Makefile index 5de91fe213..8d9a03a241 100644 --- a/rt/Makefile +++ b/rt/Makefile @@ -30,7 +30,6 @@ routines = \ librt-routines = \ librt-compat \ - timer_getoverr \ timer_gettime \ timer_settime \ @@ -63,6 +62,7 @@ $(librt-routines-var) += \ mq_unlink \ timer_create \ timer_delete \ + timer_getoverr \ tests := tst-shm tst-timer tst-timer2 \ tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6 \ diff --git a/rt/Versions b/rt/Versions index fca804148c..de78be15dc 100644 --- a/rt/Versions +++ b/rt/Versions @@ -24,6 +24,7 @@ libc { %if PTHREAD_IN_LIBC timer_create; timer_delete; + timer_getoverrun; %endif shm_open; shm_unlink; @@ -85,6 +86,7 @@ libc { mq_unlink; timer_create; timer_delete; + timer_getoverrun; %endif shm_open; shm_unlink; @@ -131,8 +133,8 @@ librt { %if !PTHREAD_IN_LIBC timer_create; timer_delete; -%endif timer_getoverrun; +%endif timer_gettime; timer_settime; } diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions index 0db1b9c31c..31fb4a437b 100644 --- a/sysdeps/unix/sysv/linux/Versions +++ b/sysdeps/unix/sysv/linux/Versions @@ -125,6 +125,7 @@ libc { # Changed timer_t. Only used by some 64-bit targets. timer_create; timer_delete; + timer_getoverrun; } GLIBC_2.3.4 { sched_getaffinity; sched_setaffinity; diff --git a/sysdeps/unix/sysv/linux/aarch64/libc.abilist b/sysdeps/unix/sysv/linux/aarch64/libc.abilist index 17779baac1..9426bbe3f8 100644 --- a/sysdeps/unix/sysv/linux/aarch64/libc.abilist +++ b/sysdeps/unix/sysv/linux/aarch64/libc.abilist @@ -2008,6 +2008,7 @@ GLIBC_2.17 timegm F GLIBC_2.17 timelocal F GL |
