[31/34] Linux: Move timer_getoverrun from librt to libc

Message ID 97c6a98a8c5a1b4ece4204619968a8ec9b30b981.1623956058.git.fweimer@redhat.com
State Superseded
Headers show
Series
  • Move librt into libc
Related show

Commit Message

Pali Rohár via Libc-alpha June 17, 2021, 6:59 p.m.
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.
---
 rt/Makefile                                   |  2 +-
 rt/Versions                                   |  4 +-
 sysdeps/unix/sysv/linux/Versions              |  1 +
 sysdeps/unix/sysv/linux/aarch64/libc.abilist  |  2 +
 sysdeps/unix/sysv/linux/aarch64/librt.abilist |  1 -
 sysdeps/unix/sysv/linux/alpha/Versions        |  2 +-
 sysdeps/unix/sysv/linux/alpha/libc.abilist    |  3 ++
 sysdeps/unix/sysv/linux/alpha/librt.abilist   |  2 -
 .../unix/sysv/linux/alpha/timer_getoverr.c    |  1 -
 sysdeps/unix/sysv/linux/arc/libc.abilist      |  2 +
 sysdeps/unix/sysv/linux/arc/librt.abilist     |  1 -
 sysdeps/unix/sysv/linux/arm/be/libc.abilist   |  2 +
 sysdeps/unix/sysv/linux/arm/be/librt.abilist  |  1 -
 sysdeps/unix/sysv/linux/arm/le/libc.abilist   |  2 +
 sysdeps/unix/sysv/linux/arm/le/librt.abilist  |  1 -
 sysdeps/unix/sysv/linux/csky/libc.abilist     |  2 +
 sysdeps/unix/sysv/linux/csky/librt.abilist    |  1 -
 sysdeps/unix/sysv/linux/hppa/libc.abilist     |  2 +
 sysdeps/unix/sysv/linux/hppa/librt.abilist    |  1 -
 sysdeps/unix/sysv/linux/i386/libc.abilist     |  2 +
 sysdeps/unix/sysv/linux/i386/librt.abilist    |  1 -
 sysdeps/unix/sysv/linux/ia64/Versions         |  2 +-
 sysdeps/unix/sysv/linux/ia64/libc.abilist     |  3 ++
 sysdeps/unix/sysv/linux/ia64/librt.abilist    |  2 -
 sysdeps/unix/sysv/linux/ia64/timer_getoverr.c |  1 -
 sysdeps/unix/sysv/linux/kernel-posix-timers.h |  2 +
 .../sysv/linux/m68k/coldfire/libc.abilist     |  2 +
 .../sysv/linux/m68k/coldfire/librt.abilist    |  1 -
 .../unix/sysv/linux/m68k/m680x0/libc.abilist  |  2 +
 .../unix/sysv/linux/m68k/m680x0/librt.abilist |  1 -
 .../sysv/linux/microblaze/be/libc.abilist     |  2 +
 .../sysv/linux/microblaze/be/librt.abilist    |  1 -
 .../sysv/linux/microblaze/le/libc.abilist     |  2 +
 .../sysv/linux/microblaze/le/librt.abilist    |  1 -
 .../sysv/linux/mips/mips32/fpu/libc.abilist   |  2 +
 .../unix/sysv/linux/mips/mips32/librt.abilist |  1 -
 .../sysv/linux/mips/mips32/nofpu/libc.abilist |  2 +
 .../sysv/linux/mips/mips64/n32/libc.abilist   |  2 +
 .../sysv/linux/mips/mips64/n32/librt.abilist  |  1 -
 .../sysv/linux/mips/mips64/n64/libc.abilist   |  2 +
 .../sysv/linux/mips/mips64/n64/librt.abilist  |  1 -
 sysdeps/unix/sysv/linux/nios2/libc.abilist    |  2 +
 sysdeps/unix/sysv/linux/nios2/librt.abilist   |  1 -
 .../linux/powerpc/powerpc32/fpu/libc.abilist  |  2 +
 .../linux/powerpc/powerpc32/librt.abilist     |  1 -
 .../powerpc/powerpc32/nofpu/libc.abilist      |  2 +
 .../sysv/linux/powerpc/powerpc64/Versions     |  2 +-
 .../linux/powerpc/powerpc64/be/libc.abilist   |  3 ++
 .../linux/powerpc/powerpc64/be/librt.abilist  |  2 -
 .../linux/powerpc/powerpc64/le/libc.abilist   |  2 +
 .../linux/powerpc/powerpc64/le/librt.abilist  |  1 -
 .../linux/powerpc/powerpc64/timer_getoverr.c  |  1 -
 .../unix/sysv/linux/riscv/rv32/libc.abilist   |  2 +
 .../unix/sysv/linux/riscv/rv32/librt.abilist  |  1 -
 .../unix/sysv/linux/riscv/rv64/libc.abilist   |  2 +
 .../unix/sysv/linux/riscv/rv64/librt.abilist  |  1 -
 .../unix/sysv/linux/s390/s390-32/libc.abilist |  2 +
 .../sysv/linux/s390/s390-32/librt.abilist     |  1 -
 sysdeps/unix/sysv/linux/s390/s390-64/Versions |  2 +-
 .../unix/sysv/linux/s390/s390-64/libc.abilist |  3 ++
 .../sysv/linux/s390/s390-64/librt.abilist     |  2 -
 .../sysv/linux/s390/s390-64/timer_getoverr.c  |  1 -
 sysdeps/unix/sysv/linux/sh/be/libc.abilist    |  2 +
 sysdeps/unix/sysv/linux/sh/be/librt.abilist   |  1 -
 sysdeps/unix/sysv/linux/sh/le/libc.abilist    |  2 +
 sysdeps/unix/sysv/linux/sh/le/librt.abilist   |  1 -
 .../sysv/linux/sparc/sparc32/libc.abilist     |  2 +
 .../sysv/linux/sparc/sparc32/librt.abilist    |  1 -
 .../unix/sysv/linux/sparc/sparc64/Versions    |  2 +-
 .../sysv/linux/sparc/sparc64/libc.abilist     |  3 ++
 .../sysv/linux/sparc/sparc64/librt.abilist    |  2 -
 .../sysv/linux/sparc/sparc64/timer_getoverr.c |  1 -
 sysdeps/unix/sysv/linux/timer_getoverr.c      | 32 ++++++++++++----
 .../unix/sysv/linux/x86_64/64/libc.abilist    |  3 ++
 .../unix/sysv/linux/x86_64/64/librt.abilist   |  2 -
 sysdeps/unix/sysv/linux/x86_64/Versions       |  2 +-
 .../unix/sysv/linux/x86_64/timer_getoverr.c   | 38 -------------------
 .../unix/sysv/linux/x86_64/x32/libc.abilist   |  2 +
 .../unix/sysv/linux/x86_64/x32/librt.abilist  |  1 -
 79 files changed, 107 insertions(+), 95 deletions(-)
 delete mode 100644 sysdeps/unix/sysv/linux/alpha/timer_getoverr.c
 delete mode 100644 sysdeps/unix/sysv/linux/ia64/timer_getoverr.c
 delete mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c
 delete mode 100644 sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c
 delete mode 100644 sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c
 delete mode 100644 sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c

-- 
2.31.1

Comments

Pali Rohár via Libc-alpha June 24, 2021, 5:26 p.m. | #1
On 17/06/2021 15:59, Florian Weimer via Libc-alpha wrote:
> 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.



LGTM, thanks. There is only a nit below.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>


> ---

>  rt/Makefile                                   |  2 +-

>  rt/Versions                                   |  4 +-

>  sysdeps/unix/sysv/linux/Versions              |  1 +

>  sysdeps/unix/sysv/linux/aarch64/libc.abilist  |  2 +

>  sysdeps/unix/sysv/linux/aarch64/librt.abilist |  1 -

>  sysdeps/unix/sysv/linux/alpha/Versions        |  2 +-

>  sysdeps/unix/sysv/linux/alpha/libc.abilist    |  3 ++

>  sysdeps/unix/sysv/linux/alpha/librt.abilist   |  2 -

>  .../unix/sysv/linux/alpha/timer_getoverr.c    |  1 -

>  sysdeps/unix/sysv/linux/arc/libc.abilist      |  2 +

>  sysdeps/unix/sysv/linux/arc/librt.abilist     |  1 -

>  sysdeps/unix/sysv/linux/arm/be/libc.abilist   |  2 +

>  sysdeps/unix/sysv/linux/arm/be/librt.abilist  |  1 -

>  sysdeps/unix/sysv/linux/arm/le/libc.abilist   |  2 +

>  sysdeps/unix/sysv/linux/arm/le/librt.abilist  |  1 -

>  sysdeps/unix/sysv/linux/csky/libc.abilist     |  2 +

>  sysdeps/unix/sysv/linux/csky/librt.abilist    |  1 -

>  sysdeps/unix/sysv/linux/hppa/libc.abilist     |  2 +

>  sysdeps/unix/sysv/linux/hppa/librt.abilist    |  1 -

>  sysdeps/unix/sysv/linux/i386/libc.abilist     |  2 +

>  sysdeps/unix/sysv/linux/i386/librt.abilist    |  1 -

>  sysdeps/unix/sysv/linux/ia64/Versions         |  2 +-

>  sysdeps/unix/sysv/linux/ia64/libc.abilist     |  3 ++

>  sysdeps/unix/sysv/linux/ia64/librt.abilist    |  2 -

>  sysdeps/unix/sysv/linux/ia64/timer_getoverr.c |  1 -

>  sysdeps/unix/sysv/linux/kernel-posix-timers.h |  2 +

>  .../sysv/linux/m68k/coldfire/libc.abilist     |  2 +

>  .../sysv/linux/m68k/coldfire/librt.abilist    |  1 -

>  .../unix/sysv/linux/m68k/m680x0/libc.abilist  |  2 +

>  .../unix/sysv/linux/m68k/m680x0/librt.abilist |  1 -

>  .../sysv/linux/microblaze/be/libc.abilist     |  2 +

>  .../sysv/linux/microblaze/be/librt.abilist    |  1 -

>  .../sysv/linux/microblaze/le/libc.abilist     |  2 +

>  .../sysv/linux/microblaze/le/librt.abilist    |  1 -

>  .../sysv/linux/mips/mips32/fpu/libc.abilist   |  2 +

>  .../unix/sysv/linux/mips/mips32/librt.abilist |  1 -

>  .../sysv/linux/mips/mips32/nofpu/libc.abilist |  2 +

>  .../sysv/linux/mips/mips64/n32/libc.abilist   |  2 +

>  .../sysv/linux/mips/mips64/n32/librt.abilist  |  1 -

>  .../sysv/linux/mips/mips64/n64/libc.abilist   |  2 +

>  .../sysv/linux/mips/mips64/n64/librt.abilist  |  1 -

>  sysdeps/unix/sysv/linux/nios2/libc.abilist    |  2 +

>  sysdeps/unix/sysv/linux/nios2/librt.abilist   |  1 -

>  .../linux/powerpc/powerpc32/fpu/libc.abilist  |  2 +

>  .../linux/powerpc/powerpc32/librt.abilist     |  1 -

>  .../powerpc/powerpc32/nofpu/libc.abilist      |  2 +

>  .../sysv/linux/powerpc/powerpc64/Versions     |  2 +-

>  .../linux/powerpc/powerpc64/be/libc.abilist   |  3 ++

>  .../linux/powerpc/powerpc64/be/librt.abilist  |  2 -

>  .../linux/powerpc/powerpc64/le/libc.abilist   |  2 +

>  .../linux/powerpc/powerpc64/le/librt.abilist  |  1 -

>  .../linux/powerpc/powerpc64/timer_getoverr.c  |  1 -

>  .../unix/sysv/linux/riscv/rv32/libc.abilist   |  2 +

>  .../unix/sysv/linux/riscv/rv32/librt.abilist  |  1 -

>  .../unix/sysv/linux/riscv/rv64/libc.abilist   |  2 +

>  .../unix/sysv/linux/riscv/rv64/librt.abilist  |  1 -

>  .../unix/sysv/linux/s390/s390-32/libc.abilist |  2 +

>  .../sysv/linux/s390/s390-32/librt.abilist     |  1 -

>  sysdeps/unix/sysv/linux/s390/s390-64/Versions |  2 +-

>  .../unix/sysv/linux/s390/s390-64/libc.abilist |  3 ++

>  .../sysv/linux/s390/s390-64/librt.abilist     |  2 -

>  .../sysv/linux/s390/s390-64/timer_getoverr.c  |  1 -

>  sysdeps/unix/sysv/linux/sh/be/libc.abilist    |  2 +

>  sysdeps/unix/sysv/linux/sh/be/librt.abilist   |  1 -

>  sysdeps/unix/sysv/linux/sh/le/libc.abilist    |  2 +

>  sysdeps/unix/sysv/linux/sh/le/librt.abilist   |  1 -

>  .../sysv/linux/sparc/sparc32/libc.abilist     |  2 +

>  .../sysv/linux/sparc/sparc32/librt.abilist    |  1 -

>  .../unix/sysv/linux/sparc/sparc64/Versions    |  2 +-

>  .../sysv/linux/sparc/sparc64/libc.abilist     |  3 ++

>  .../sysv/linux/sparc/sparc64/librt.abilist    |  2 -

>  .../sysv/linux/sparc/sparc64/timer_getoverr.c |  1 -

>  sysdeps/unix/sysv/linux/timer_getoverr.c      | 32 ++++++++++++----

>  .../unix/sysv/linux/x86_64/64/libc.abilist    |  3 ++

>  .../unix/sysv/linux/x86_64/64/librt.abilist   |  2 -

>  sysdeps/unix/sysv/linux/x86_64/Versions       |  2 +-

>  .../unix/sysv/linux/x86_64/timer_getoverr.c   | 38 -------------------

>  .../unix/sysv/linux/x86_64/x32/libc.abilist   |  2 +

>  .../unix/sysv/linux/x86_64/x32/librt.abilist  |  1 -

>  79 files changed, 107 insertions(+), 95 deletions(-)

>  delete mode 100644 sysdeps/unix/sysv/linux/alpha/timer_getoverr.c

>  delete mode 100644 sysdeps/unix/sysv/linux/ia64/timer_getoverr.c

>  delete mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c

>  delete mode 100644 sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c

>  delete mode 100644 sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c

>  delete mode 100644 sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c

> 

> diff --git a/rt/Makefile b/rt/Makefile

> index d2ff0221c7..1eadb94ea8 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 \


OK.

> 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;

>    }


Ok.

> 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;


Ok.

> 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

>  GLIBC_2.17 timer_create F

>  GLIBC_2.17 timer_delete F

> +GLIBC_2.17 timer_getoverrun F

>  GLIBC_2.17 timerfd_create F

>  GLIBC_2.17 timerfd_gettime F

>  GLIBC_2.17 timerfd_settime F

> @@ -2533,6 +2534,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F


Ok.

> diff --git a/sysdeps/unix/sysv/linux/aarch64/librt.abilist b/sysdeps/unix/sysv/linux/aarch64/librt.abilist

> index 34768d1472..493768f440 100644

> --- a/sysdeps/unix/sysv/linux/aarch64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/aarch64/librt.abilist

> @@ -1,3 +1,2 @@

> -GLIBC_2.17 timer_getoverrun F

>  GLIBC_2.17 timer_gettime F

>  GLIBC_2.17 timer_settime F


Ok.

> diff --git a/sysdeps/unix/sysv/linux/alpha/Versions b/sysdeps/unix/sysv/linux/alpha/Versions

> index d4bd056f64..dd5b365d77 100644

> --- a/sysdeps/unix/sysv/linux/alpha/Versions

> +++ b/sysdeps/unix/sysv/linux/alpha/Versions

> @@ -104,7 +104,7 @@ librt {

>    }

>    GLIBC_2.3.3 {

>      # Changed timer_t.

> -    timer_getoverrun; timer_gettime;

> +    timer_gettime;

>      timer_settime;

>    }

>  }


Ok.

> diff --git a/sysdeps/unix/sysv/linux/alpha/libc.abilist b/sysdeps/unix/sysv/linux/alpha/libc.abilist

> index 985a1deca9..50ab6f3fc1 100644

> --- a/sysdeps/unix/sysv/linux/alpha/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/alpha/libc.abilist

> @@ -2095,6 +2095,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 vfwprintf F

>  GLIBC_2.2 vfwscanf F

> @@ -2357,6 +2358,7 @@ GLIBC_2.3.3 sys_sigabbrev D 0x208

>  GLIBC_2.3.3 sys_siglist D 0x208

>  GLIBC_2.3.3 timer_create F

>  GLIBC_2.3.3 timer_delete F

> +GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.4 _OtsAddX F

>  GLIBC_2.3.4 _OtsConvertFloatTX F

>  GLIBC_2.3.4 _OtsConvertFloatXT F

> @@ -2629,6 +2631,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/alpha/librt.abilist b/sysdeps/unix/sysv/linux/alpha/librt.abilist

> index 3b744cf5a1..34d42d122b 100644

> --- a/sysdeps/unix/sysv/linux/alpha/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/alpha/librt.abilist

> @@ -1,9 +1,7 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3 __librt_version_placeholder F

> -GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.3 timer_gettime F

>  GLIBC_2.3.3 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/alpha/timer_getoverr.c b/sysdeps/unix/sysv/linux/alpha/timer_getoverr.c

> deleted file mode 100644

> index 22eaff5cda..0000000000

> --- a/sysdeps/unix/sysv/linux/alpha/timer_getoverr.c

> +++ /dev/null

> @@ -1 +0,0 @@

> -#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>

> diff --git a/sysdeps/unix/sysv/linux/arc/libc.abilist b/sysdeps/unix/sysv/linux/arc/libc.abilist

> index 22fa42dfc3..aafc056267 100644

> --- a/sysdeps/unix/sysv/linux/arc/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/arc/libc.abilist

> @@ -1942,6 +1942,7 @@ GLIBC_2.32 timegm F

>  GLIBC_2.32 timelocal F

>  GLIBC_2.32 timer_create F

>  GLIBC_2.32 timer_delete F

> +GLIBC_2.32 timer_getoverrun F

>  GLIBC_2.32 timerfd_create F

>  GLIBC_2.32 timerfd_gettime F

>  GLIBC_2.32 timerfd_settime F

> @@ -2292,6 +2293,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/arc/librt.abilist b/sysdeps/unix/sysv/linux/arc/librt.abilist

> index 7bc7c57bf0..14ae3d7c65 100644

> --- a/sysdeps/unix/sysv/linux/arc/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/arc/librt.abilist

> @@ -1,3 +1,2 @@

> -GLIBC_2.32 timer_getoverrun F

>  GLIBC_2.32 timer_gettime F

>  GLIBC_2.32 timer_settime F

> diff --git a/sysdeps/unix/sysv/linux/arm/be/libc.abilist b/sysdeps/unix/sysv/linux/arm/be/libc.abilist

> index c8ff2a0b74..ac73d766ba 100644

> --- a/sysdeps/unix/sysv/linux/arm/be/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/arm/be/libc.abilist

> @@ -436,6 +436,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> @@ -2354,6 +2355,7 @@ GLIBC_2.4 timegm F

>  GLIBC_2.4 timelocal F

>  GLIBC_2.4 timer_create F

>  GLIBC_2.4 timer_delete F

> +GLIBC_2.4 timer_getoverrun F

>  GLIBC_2.4 times F

>  GLIBC_2.4 timezone D 0x4

>  GLIBC_2.4 tmpfile F

> diff --git a/sysdeps/unix/sysv/linux/arm/be/librt.abilist b/sysdeps/unix/sysv/linux/arm/be/librt.abilist

> index 0887259367..78152d8fa3 100644

> --- a/sysdeps/unix/sysv/linux/arm/be/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/arm/be/librt.abilist

> @@ -1,6 +1,5 @@

>  GLIBC_2.34 __timer_gettime64 F

>  GLIBC_2.34 __timer_settime64 F

> -GLIBC_2.4 timer_getoverrun F

>  GLIBC_2.4 timer_gettime F

>  GLIBC_2.4 timer_settime F

>  GLIBC_2.7 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/arm/le/libc.abilist b/sysdeps/unix/sysv/linux/arm/le/libc.abilist

> index b237b78f85..96ad967292 100644

> --- a/sysdeps/unix/sysv/linux/arm/le/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/arm/le/libc.abilist

> @@ -433,6 +433,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> @@ -2351,6 +2352,7 @@ GLIBC_2.4 timegm F

>  GLIBC_2.4 timelocal F

>  GLIBC_2.4 timer_create F

>  GLIBC_2.4 timer_delete F

> +GLIBC_2.4 timer_getoverrun F

>  GLIBC_2.4 times F

>  GLIBC_2.4 timezone D 0x4

>  GLIBC_2.4 tmpfile F

> diff --git a/sysdeps/unix/sysv/linux/arm/le/librt.abilist b/sysdeps/unix/sysv/linux/arm/le/librt.abilist

> index 0887259367..78152d8fa3 100644

> --- a/sysdeps/unix/sysv/linux/arm/le/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/arm/le/librt.abilist

> @@ -1,6 +1,5 @@

>  GLIBC_2.34 __timer_gettime64 F

>  GLIBC_2.34 __timer_settime64 F

> -GLIBC_2.4 timer_getoverrun F

>  GLIBC_2.4 timer_gettime F

>  GLIBC_2.4 timer_settime F

>  GLIBC_2.7 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/csky/libc.abilist b/sysdeps/unix/sysv/linux/csky/libc.abilist

> index c1b6927cea..980ac9c497 100644

> --- a/sysdeps/unix/sysv/linux/csky/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/csky/libc.abilist

> @@ -2032,6 +2032,7 @@ GLIBC_2.29 timegm F

>  GLIBC_2.29 timelocal F

>  GLIBC_2.29 timer_create F

>  GLIBC_2.29 timer_delete F

> +GLIBC_2.29 timer_getoverrun F

>  GLIBC_2.29 timerfd_create F

>  GLIBC_2.29 timerfd_gettime F

>  GLIBC_2.29 timerfd_settime F

> @@ -2555,6 +2556,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/csky/librt.abilist b/sysdeps/unix/sysv/linux/csky/librt.abilist

> index 3d7c839b9b..9f89eb4e8b 100644

> --- a/sysdeps/unix/sysv/linux/csky/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/csky/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.29 timer_getoverrun F

>  GLIBC_2.29 timer_gettime F

>  GLIBC_2.29 timer_settime F

>  GLIBC_2.34 __timer_gettime64 F

> diff --git a/sysdeps/unix/sysv/linux/hppa/libc.abilist b/sysdeps/unix/sysv/linux/hppa/libc.abilist

> index c5021c8109..0e6e1444d6 100644

> --- a/sysdeps/unix/sysv/linux/hppa/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/hppa/libc.abilist

> @@ -1746,6 +1746,7 @@ GLIBC_2.2 timegm F

>  GLIBC_2.2 timelocal F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 times F

>  GLIBC_2.2 timezone D 0x4

>  GLIBC_2.2 tmpfile F

> @@ -2508,6 +2509,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/hppa/librt.abilist b/sysdeps/unix/sysv/linux/hppa/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/hppa/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/hppa/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/i386/libc.abilist b/sysdeps/unix/sysv/linux/i386/libc.abilist

> index 8055ea6984..d8693b0c7b 100644

> --- a/sysdeps/unix/sysv/linux/i386/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/i386/libc.abilist

> @@ -2108,6 +2108,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 versionsort64 F

>  GLIBC_2.2 vfwprintf F

> @@ -2692,6 +2693,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/i386/librt.abilist b/sysdeps/unix/sysv/linux/i386/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/i386/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/i386/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F


OK.

> diff --git a/sysdeps/unix/sysv/linux/ia64/Versions b/sysdeps/unix/sysv/linux/ia64/Versions

> index 29b0d98cc6..1d09fca7e3 100644

> --- a/sysdeps/unix/sysv/linux/ia64/Versions

> +++ b/sysdeps/unix/sysv/linux/ia64/Versions

> @@ -30,7 +30,7 @@ libc {

>  librt {

>    GLIBC_2.3.3 {

>      # Changed timer_t.

> -    timer_getoverrun; timer_gettime;

> +    timer_gettime;

>      timer_settime;

>    }

>  }


Ok.

> diff --git a/sysdeps/unix/sysv/linux/ia64/libc.abilist b/sysdeps/unix/sysv/linux/ia64/libc.abilist

> index 4cf1da5b62..984b58be61 100644

> --- a/sysdeps/unix/sysv/linux/ia64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/ia64/libc.abilist

> @@ -1767,6 +1767,7 @@ GLIBC_2.2 timegm F

>  GLIBC_2.2 timelocal F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 times F

>  GLIBC_2.2 timezone D 0x8

>  GLIBC_2.2 tmpfile F

> @@ -2222,6 +2223,7 @@ GLIBC_2.3.3 sys_sigabbrev D 0x208

>  GLIBC_2.3.3 sys_siglist D 0x208

>  GLIBC_2.3.3 timer_create F

>  GLIBC_2.3.3 timer_delete F

> +GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.4 __chk_fail F

>  GLIBC_2.3.4 __fprintf_chk F

>  GLIBC_2.3.4 __gets_chk F

> @@ -2467,6 +2469,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/ia64/librt.abilist b/sysdeps/unix/sysv/linux/ia64/librt.abilist

> index 74a4971070..c56040a5f9 100644

> --- a/sysdeps/unix/sysv/linux/ia64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/ia64/librt.abilist

> @@ -1,8 +1,6 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

> -GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.3 timer_gettime F

>  GLIBC_2.3.3 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F


Ok.

> diff --git a/sysdeps/unix/sysv/linux/ia64/timer_getoverr.c b/sysdeps/unix/sysv/linux/ia64/timer_getoverr.c

> deleted file mode 100644

> index 22eaff5cda..0000000000

> --- a/sysdeps/unix/sysv/linux/ia64/timer_getoverr.c

> +++ /dev/null

> @@ -1 +0,0 @@

> -#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>


Ok.

> diff --git a/sysdeps/unix/sysv/linux/kernel-posix-timers.h b/sysdeps/unix/sysv/linux/kernel-posix-timers.h

> index 99a2937458..a976b028e0 100644

> --- a/sysdeps/unix/sysv/linux/kernel-posix-timers.h

> +++ b/sysdeps/unix/sysv/linux/kernel-posix-timers.h

> @@ -52,6 +52,8 @@ extern __typeof (timer_create) __timer_create;

>  libc_hidden_proto (__timer_create)

>  extern __typeof (timer_delete) __timer_delete;

>  libc_hidden_proto (__timer_delete)

> +extern __typeof (timer_getoverrun) __timer_getoverrun;

> +libc_hidden_proto (__timer_getoverrun)

>  

>  /* Type of timers in the kernel.  */

>  typedef int kernel_timer_t;


Ok.

> diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist

> index e7c0a81f37..a8d6ad9a4f 100644

> --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist

> @@ -437,6 +437,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> @@ -2334,6 +2335,7 @@ GLIBC_2.4 timegm F

>  GLIBC_2.4 timelocal F

>  GLIBC_2.4 timer_create F

>  GLIBC_2.4 timer_delete F

> +GLIBC_2.4 timer_getoverrun F

>  GLIBC_2.4 times F

>  GLIBC_2.4 timezone D 0x4

>  GLIBC_2.4 tmpfile F

> diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist

> index 0887259367..78152d8fa3 100644

> --- a/sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist

> @@ -1,6 +1,5 @@

>  GLIBC_2.34 __timer_gettime64 F

>  GLIBC_2.34 __timer_settime64 F

> -GLIBC_2.4 timer_getoverrun F

>  GLIBC_2.4 timer_gettime F

>  GLIBC_2.4 timer_settime F

>  GLIBC_2.7 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist

> index b82f6366ee..62590726a8 100644

> --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist

> @@ -2064,6 +2064,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 versionsort64 F

>  GLIBC_2.2 vfwprintf F

> @@ -2635,6 +2636,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist

> index 3f9dfa7664..3fd1621454 100644

> --- a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist

> @@ -2012,6 +2012,7 @@ GLIBC_2.18 timegm F

>  GLIBC_2.18 timelocal F

>  GLIBC_2.18 timer_create F

>  GLIBC_2.18 timer_delete F

> +GLIBC_2.18 timer_getoverrun F

>  GLIBC_2.18 timerfd_create F

>  GLIBC_2.18 timerfd_gettime F

>  GLIBC_2.18 timerfd_settime F

> @@ -2606,6 +2607,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist b/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist

> index 2efee3a326..f308a63244 100644

> --- a/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.18 timer_getoverrun F

>  GLIBC_2.18 timer_gettime F

>  GLIBC_2.18 timer_settime F

>  GLIBC_2.34 __timer_gettime64 F

> diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist

> index bb2fd6251f..2b839a784d 100644

> --- a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist

> @@ -2012,6 +2012,7 @@ GLIBC_2.18 timegm F

>  GLIBC_2.18 timelocal F

>  GLIBC_2.18 timer_create F

>  GLIBC_2.18 timer_delete F

> +GLIBC_2.18 timer_getoverrun F

>  GLIBC_2.18 timerfd_create F

>  GLIBC_2.18 timerfd_gettime F

>  GLIBC_2.18 timerfd_settime F

> @@ -2603,6 +2604,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/microblaze/le/librt.abilist b/sysdeps/unix/sysv/linux/microblaze/le/librt.abilist

> index 2efee3a326..f308a63244 100644

> --- a/sysdeps/unix/sysv/linux/microblaze/le/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/microblaze/le/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.18 timer_getoverrun F

>  GLIBC_2.18 timer_gettime F

>  GLIBC_2.18 timer_settime F

>  GLIBC_2.34 __timer_gettime64 F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist

> index 938142fb4a..ac623acbd3 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist

> @@ -1995,6 +1995,7 @@ GLIBC_2.2 tcgetsid F

>  GLIBC_2.2 tdestroy F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 tmpfile F

>  GLIBC_2.2 tmpfile64 F

>  GLIBC_2.2 truncate64 F

> @@ -2600,6 +2601,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist b/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist

> index dbc81ebe4b..af07e28f55 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist

> index d62382883b..776b30b48a 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist

> @@ -1993,6 +1993,7 @@ GLIBC_2.2 tcgetsid F

>  GLIBC_2.2 tdestroy F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 tmpfile F

>  GLIBC_2.2 tmpfile64 F

>  GLIBC_2.2 truncate64 F

> @@ -2598,6 +2599,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist

> index 28a8a5d294..1ffaa8e684 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist

> @@ -1991,6 +1991,7 @@ GLIBC_2.2 tcgetsid F

>  GLIBC_2.2 tdestroy F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 tmpfile F

>  GLIBC_2.2 tmpfile64 F

>  GLIBC_2.2 truncate64 F

> @@ -2606,6 +2607,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist

> index dbc81ebe4b..af07e28f55 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist

> index 6748f9beef..b0c5d0a636 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist

> @@ -1987,6 +1987,7 @@ GLIBC_2.2 tcgetsid F

>  GLIBC_2.2 tdestroy F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 tmpfile F

>  GLIBC_2.2 tmpfile64 F

>  GLIBC_2.2 truncate64 F

> @@ -2521,6 +2522,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist

> index 00fd77bbab..a92565949e 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/nios2/libc.abilist b/sysdeps/unix/sysv/linux/nios2/libc.abilist

> index 03d13e5ee1..77778d11f3 100644

> --- a/sysdeps/unix/sysv/linux/nios2/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/nios2/libc.abilist

> @@ -2054,6 +2054,7 @@ GLIBC_2.21 timegm F

>  GLIBC_2.21 timelocal F

>  GLIBC_2.21 timer_create F

>  GLIBC_2.21 timer_delete F

> +GLIBC_2.21 timer_getoverrun F

>  GLIBC_2.21 timerfd_create F

>  GLIBC_2.21 timerfd_gettime F

>  GLIBC_2.21 timerfd_settime F

> @@ -2645,6 +2646,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/nios2/librt.abilist b/sysdeps/unix/sysv/linux/nios2/librt.abilist

> index a83ae32d03..8ab5ece2b0 100644

> --- a/sysdeps/unix/sysv/linux/nios2/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/nios2/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.21 timer_getoverrun F

>  GLIBC_2.21 timer_gettime F

>  GLIBC_2.21 timer_settime F

>  GLIBC_2.34 __timer_gettime64 F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist

> index c9a45ecb17..5562012575 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist

> @@ -2069,6 +2069,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 vfwprintf F

>  GLIBC_2.2 vfwscanf F

> @@ -2662,6 +2663,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist

> index c7fbc347a1..f0adf7b58b 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist

> @@ -2073,6 +2073,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 vfwprintf F

>  GLIBC_2.2 vfwscanf F

> @@ -2695,6 +2696,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F


OK.

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions

> index 4eb22c11ac..a69927d41d 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions

> @@ -29,7 +29,7 @@ libc {

>  librt {

>    GLIBC_2.3.3 {

>      # Changed timer_t.

> -    timer_getoverrun; timer_gettime;

> +    timer_gettime;

>      timer_settime;

>    }

>  }


Ok.

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist

> index fb5eb9c67e..e74ecec60f 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist

> @@ -1888,6 +1888,7 @@ GLIBC_2.3 timegm F

>  GLIBC_2.3 timelocal F

>  GLIBC_2.3 timer_create F

>  GLIBC_2.3 timer_delete F

> +GLIBC_2.3 timer_getoverrun F

>  GLIBC_2.3 times F

>  GLIBC_2.3 timezone D 0x8

>  GLIBC_2.3 tmpfile F

> @@ -2166,6 +2167,7 @@ GLIBC_2.3.3 sys_sigabbrev D 0x208

>  GLIBC_2.3.3 sys_siglist D 0x208

>  GLIBC_2.3.3 timer_create F

>  GLIBC_2.3.3 timer_delete F

> +GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.4 __chk_fail F

>  GLIBC_2.3.4 __fprintf_chk F

>  GLIBC_2.3.4 __gets_chk F

> @@ -2431,6 +2433,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist

> index 914203b043..dd8b2ad6ef 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist

> @@ -1,7 +1,5 @@

> -GLIBC_2.3 timer_getoverrun F

>  GLIBC_2.3 timer_gettime F

>  GLIBC_2.3 timer_settime F

> -GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.3 timer_gettime F

>  GLIBC_2.3.3 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist

> index b89256aba0..2a0c06b881 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist

> @@ -2096,6 +2096,7 @@ GLIBC_2.17 timegm F

>  GLIBC_2.17 timelocal F

>  GLIBC_2.17 timer_create F

>  GLIBC_2.17 timer_delete F

> +GLIBC_2.17 timer_getoverrun F

>  GLIBC_2.17 timerfd_create F

>  GLIBC_2.17 timerfd_gettime F

>  GLIBC_2.17 timerfd_settime F

> @@ -2729,6 +2730,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist

> index 34768d1472..493768f440 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist

> @@ -1,3 +1,2 @@

> -GLIBC_2.17 timer_getoverrun F

>  GLIBC_2.17 timer_gettime F

>  GLIBC_2.17 timer_settime F


Ok.

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c

> deleted file mode 100644

> index 22eaff5cda..0000000000

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c

> +++ /dev/null

> @@ -1 +0,0 @@

> -#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>


Ok.

> diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist

> index c653f52373..3e0e33bbb3 100644

> --- a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist

> @@ -1952,6 +1952,7 @@ GLIBC_2.33 timegm F

>  GLIBC_2.33 timelocal F

>  GLIBC_2.33 timer_create F

>  GLIBC_2.33 timer_delete F

> +GLIBC_2.33 timer_getoverrun F

>  GLIBC_2.33 timerfd_create F

>  GLIBC_2.33 timerfd_gettime F

>  GLIBC_2.33 timerfd_settime F

> @@ -2294,6 +2295,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/librt.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/librt.abilist

> index 09bbee0960..de338094e1 100644

> --- a/sysdeps/unix/sysv/linux/riscv/rv32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/riscv/rv32/librt.abilist

> @@ -1,3 +1,2 @@

> -GLIBC_2.33 timer_getoverrun F

>  GLIBC_2.33 timer_gettime F

>  GLIBC_2.33 timer_settime F

> diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist

> index 711484eee5..1092e5a170 100644

> --- a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist

> @@ -2018,6 +2018,7 @@ GLIBC_2.27 timegm F

>  GLIBC_2.27 timelocal F

>  GLIBC_2.27 timer_create F

>  GLIBC_2.27 timer_delete F

> +GLIBC_2.27 timer_getoverrun F

>  GLIBC_2.27 timerfd_create F

>  GLIBC_2.27 timerfd_gettime F

>  GLIBC_2.27 timerfd_settime F

> @@ -2494,6 +2495,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist

> index 8e1d8b21fe..624ab969d8 100644

> --- a/sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist

> @@ -1,3 +1,2 @@

> -GLIBC_2.27 timer_getoverrun F

>  GLIBC_2.27 timer_gettime F

>  GLIBC_2.27 timer_settime F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist

> index 4040312275..710cafe7c0 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist

> @@ -2067,6 +2067,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 versionsort64 F

>  GLIBC_2.2 vfwprintf F

> @@ -2660,6 +2661,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/Versions b/sysdeps/unix/sysv/linux/s390/s390-64/Versions

> index 5989ac75a9..e7f968fcdf 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-64/Versions

> +++ b/sysdeps/unix/sysv/linux/s390/s390-64/Versions

> @@ -9,7 +9,7 @@ libc {

>  librt {

>    GLIBC_2.3.3 {

>      # Changed timer_t.

> -    timer_getoverrun; timer_gettime;

> +    timer_gettime;

>      timer_settime;

>    }

>  }


Ok.

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist

> index 4cf6a5ea09..6b2c7e7d68 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist

> @@ -1763,6 +1763,7 @@ GLIBC_2.2 timegm F

>  GLIBC_2.2 timelocal F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 times F

>  GLIBC_2.2 timezone D 0x8

>  GLIBC_2.2 tmpfile F

> @@ -2212,6 +2213,7 @@ GLIBC_2.3.3 sys_sigabbrev D 0x208

>  GLIBC_2.3.3 sys_siglist D 0x208

>  GLIBC_2.3.3 timer_create F

>  GLIBC_2.3.3 timer_delete F

> +GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.4 __chk_fail F

>  GLIBC_2.3.4 __fprintf_chk F

>  GLIBC_2.3.4 __gets_chk F

> @@ -2468,6 +2470,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist

> index 34e8d31133..35dc39d27d 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist

> @@ -1,7 +1,5 @@

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

> -GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.3 timer_gettime F

>  GLIBC_2.3.3 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c b/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c

> deleted file mode 100644

> index 22eaff5cda..0000000000

> --- a/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c

> +++ /dev/null

> @@ -1 +0,0 @@

> -#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>


Ok.

> diff --git a/sysdeps/unix/sysv/linux/sh/be/libc.abilist b/sysdeps/unix/sysv/linux/sh/be/libc.abilist

> index 6fd93a5445..51a493aadb 100644

> --- a/sysdeps/unix/sysv/linux/sh/be/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/sh/be/libc.abilist

> @@ -1750,6 +1750,7 @@ GLIBC_2.2 timegm F

>  GLIBC_2.2 timelocal F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 times F

>  GLIBC_2.2 timezone D 0x4

>  GLIBC_2.2 tmpfile F

> @@ -2515,6 +2516,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/sh/be/librt.abilist b/sysdeps/unix/sysv/linux/sh/be/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/sh/be/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/sh/be/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/sh/le/libc.abilist b/sysdeps/unix/sysv/linux/sh/le/libc.abilist

> index c5c41bf0e6..cb37ba55cb 100644

> --- a/sysdeps/unix/sysv/linux/sh/le/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/sh/le/libc.abilist

> @@ -1750,6 +1750,7 @@ GLIBC_2.2 timegm F

>  GLIBC_2.2 timelocal F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 times F

>  GLIBC_2.2 timezone D 0x4

>  GLIBC_2.2 tmpfile F

> @@ -2512,6 +2513,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/sh/le/librt.abilist b/sysdeps/unix/sysv/linux/sh/le/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/sh/le/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/sh/le/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist

> index 132470d40b..05b4e88794 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist

> @@ -2062,6 +2062,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 vfwprintf F

>  GLIBC_2.2 vfwscanf F

> @@ -2655,6 +2656,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist

> index d8ff3b0988..0de56c2c15 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/Versions b/sysdeps/unix/sysv/linux/sparc/sparc64/Versions

> index 358081399a..d04738fafc 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc64/Versions

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/Versions

> @@ -14,7 +14,7 @@ libc {

>  librt {

>    GLIBC_2.3.3 {

>      # Changed timer_t.

> -    timer_getoverrun; timer_gettime;

> +    timer_gettime;

>      timer_settime;

>    }

>  }


Ok.

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist

> index 6ee552611b..72591794e8 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist

> @@ -1793,6 +1793,7 @@ GLIBC_2.2 timegm F

>  GLIBC_2.2 timelocal F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 times F

>  GLIBC_2.2 timezone D 0x8

>  GLIBC_2.2 tmpfile F

> @@ -2246,6 +2247,7 @@ GLIBC_2.3.3 sys_sigabbrev D 0x208

>  GLIBC_2.3.3 sys_siglist D 0x208

>  GLIBC_2.3.3 timer_create F

>  GLIBC_2.3.3 timer_delete F

> +GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.4 __chk_fail F

>  GLIBC_2.3.4 __fprintf_chk F

>  GLIBC_2.3.4 __gets_chk F

> @@ -2490,6 +2492,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist

> index 3b744cf5a1..34d42d122b 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist

> @@ -1,9 +1,7 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3 __librt_version_placeholder F

> -GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.3 timer_gettime F

>  GLIBC_2.3.3 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c b/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c

> deleted file mode 100644

> index 22eaff5cda..0000000000

> --- a/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c

> +++ /dev/null

> @@ -1 +0,0 @@

> -#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>


Ok.

> diff --git a/sysdeps/unix/sysv/linux/timer_getoverr.c b/sysdeps/unix/sysv/linux/timer_getoverr.c

> index b997290768..accec3757d 100644

> --- a/sysdeps/unix/sysv/linux/timer_getoverr.c

> +++ b/sysdeps/unix/sysv/linux/timer_getoverr.c

> @@ -20,17 +20,33 @@

>  #include <time.h>

>  #include <sysdep.h>

>  #include <kernel-posix-timers.h>

> -

> -

> -#ifdef timer_getoverrun_alias

> -# define timer_getoverrun timer_getoverrun_alias

> -#endif

> -

> +#include <shlib-compat.h>

>  

>  int

> -timer_getoverrun (timer_t timerid)

> +___timer_getoverrun (timer_t timerid)

>  {

> -#undef timer_getoverrun

>    kernel_timer_t ktimerid = timerid_to_kernel_timer (timerid);

>    return INLINE_SYSCALL_CALL (timer_getoverrun, ktimerid);

>  }

> +versioned_symbol (libc, ___timer_getoverrun, timer_getoverrun, GLIBC_2_34);

> +libc_hidden_ver (___timer_getoverrun, __timer_getoverrun)

> +

> +#if TIMER_T_WAS_INT_COMPAT

> +# if OTHER_SHLIB_COMPAT (librt, GLIBC_2_3_3, GLIBC_2_34)

> +compat_symbol (librt, ___timer_getoverrun, timer_getoverrun, GLIBC_2_3_3);

> +# endif

> +

> +# if OTHER_SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_3_3)

> +int

> +__timer_getoverrun_old (int timerid)

> +{

> +  return __timer_getoverrun (__timer_compat_list[timerid]);

> +}

> +compat_symbol (librt, __timer_getoverrun_old, timer_getoverrun, GLIBC_2_2);

> +# endif /* OTHER_SHLIB_COMPAT */

> +

> +#else /* !TIMER_T_WAS_INT_COMPAT */

> +# if OTHER_SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_34)

> +compat_symbol (librt, ___timer_getoverrun, timer_getoverrun, GLIBC_2_2);

> +# endif

> +#endif /* !TIMER_T_WAS_INT_COMPAT */


Ok.

> diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist

> index 377d35a04f..92f4369765 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist

> @@ -1762,6 +1762,7 @@ GLIBC_2.2.5 timegm F

>  GLIBC_2.2.5 timelocal F

>  GLIBC_2.2.5 timer_create F

>  GLIBC_2.2.5 timer_delete F

> +GLIBC_2.2.5 timer_getoverrun F

>  GLIBC_2.2.5 times F

>  GLIBC_2.2.5 timezone D 0x8

>  GLIBC_2.2.5 tmpfile F

> @@ -2200,6 +2201,7 @@ GLIBC_2.3.3 sys_sigabbrev D 0x208

>  GLIBC_2.3.3 sys_siglist D 0x208

>  GLIBC_2.3.3 timer_create F

>  GLIBC_2.3.3 timer_delete F

> +GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.4 __chk_fail F

>  GLIBC_2.3.4 __fprintf_chk F

>  GLIBC_2.3.4 __gets_chk F

> @@ -2446,6 +2448,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/x86_64/64/librt.abilist b/sysdeps/unix/sysv/linux/x86_64/64/librt.abilist

> index 13a2bf2022..379fa6930c 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/x86_64/64/librt.abilist

> @@ -1,7 +1,5 @@

> -GLIBC_2.2.5 timer_getoverrun F

>  GLIBC_2.2.5 timer_gettime F

>  GLIBC_2.2.5 timer_settime F

> -GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.3 timer_gettime F

>  GLIBC_2.3.3 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/x86_64/Versions b/sysdeps/unix/sysv/linux/x86_64/Versions

> index c4d1c5fb79..a97b6c7413 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/Versions

> +++ b/sysdeps/unix/sysv/linux/x86_64/Versions

> @@ -11,7 +11,7 @@ libc {

>  librt {

>    GLIBC_2.3.3 {

>      # Changed timer_t.

> -    timer_getoverrun; timer_gettime;

> +    timer_gettime;

>      timer_settime;

>    }

>  }


Ok.

> diff --git a/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c b/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c

> deleted file mode 100644

> index fb6e631a00..0000000000

> --- a/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c

> +++ /dev/null

> @@ -1,38 +0,0 @@

> -/* Copyright (C) 2003-2021 Free Software Foundation, Inc.

> -   This file is part of the GNU C Library.

> -   Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.

> -

> -   The GNU C Library is free software; you can redistribute it and/or

> -   modify it under the terms of the GNU Lesser General Public License as

> -   published by the Free Software Foundation; either version 2.1 of the

> -   License, or (at your option) any later version.

> -

> -   The GNU C Library is distributed in the hope that it will be useful,

> -   but WITHOUT ANY WARRANTY; without even the implied warranty of

> -   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU

> -   Lesser General Public License for more details.

> -

> -   You should have received a copy of the GNU Lesser General Public

> -   License along with the GNU C Library; see the file COPYING.LIB.  If

> -   not, see <https://www.gnu.org/licenses/>.  */

> -

> -#include <shlib-compat.h>

> -#include "compat-timer.h"

> -

> -

> -#define timer_getoverrun_alias __timer_getoverrun_new

> -#include <sysdeps/unix/sysv/linux/timer_getoverr.c>

> -

> -#undef timer_getoverrun

> -versioned_symbol (librt, __timer_getoverrun_new, timer_getoverrun,

> -		  GLIBC_2_3_3);

> -

> -

> -#if SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_3_3)

> -int

> -__timer_getoverrun_old (int timerid)

> -{

> -  return __timer_getoverrun_new (__timer_compat_list[timerid]);

> -}

> -compat_symbol (librt, __timer_getoverrun_old, timer_getoverrun, GLIBC_2_2);

> -#endif


Ok.

> diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist

> index 620f35836c..25b177fda0 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist

> @@ -2013,6 +2013,7 @@ GLIBC_2.16 timegm F

>  GLIBC_2.16 timelocal F

>  GLIBC_2.16 timer_create F

>  GLIBC_2.16 timer_delete F

> +GLIBC_2.16 timer_getoverrun F

>  GLIBC_2.16 timerfd_create F

>  GLIBC_2.16 timerfd_gettime F

>  GLIBC_2.16 timerfd_settime F

> @@ -2548,6 +2549,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist

> index 4b3e816fdd..0b969910ba 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist

> @@ -1,3 +1,2 @@

> -GLIBC_2.16 timer_getoverrun F

>  GLIBC_2.16 timer_gettime F

>  GLIBC_2.16 timer_settime F

> 


Ok.
Pali Rohár via Libc-alpha June 24, 2021, 5:38 p.m. | #2
On 17/06/2021 15:59, Florian Weimer via Libc-alpha wrote:
> 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.



LGTM, thanks.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>


> ---

>  rt/Makefile                                   |  2 +-

>  rt/Versions                                   |  4 +-

>  sysdeps/unix/sysv/linux/Versions              |  1 +

>  sysdeps/unix/sysv/linux/aarch64/libc.abilist  |  2 +

>  sysdeps/unix/sysv/linux/aarch64/librt.abilist |  1 -

>  sysdeps/unix/sysv/linux/alpha/Versions        |  2 +-

>  sysdeps/unix/sysv/linux/alpha/libc.abilist    |  3 ++

>  sysdeps/unix/sysv/linux/alpha/librt.abilist   |  2 -

>  .../unix/sysv/linux/alpha/timer_getoverr.c    |  1 -

>  sysdeps/unix/sysv/linux/arc/libc.abilist      |  2 +

>  sysdeps/unix/sysv/linux/arc/librt.abilist     |  1 -

>  sysdeps/unix/sysv/linux/arm/be/libc.abilist   |  2 +

>  sysdeps/unix/sysv/linux/arm/be/librt.abilist  |  1 -

>  sysdeps/unix/sysv/linux/arm/le/libc.abilist   |  2 +

>  sysdeps/unix/sysv/linux/arm/le/librt.abilist  |  1 -

>  sysdeps/unix/sysv/linux/csky/libc.abilist     |  2 +

>  sysdeps/unix/sysv/linux/csky/librt.abilist    |  1 -

>  sysdeps/unix/sysv/linux/hppa/libc.abilist     |  2 +

>  sysdeps/unix/sysv/linux/hppa/librt.abilist    |  1 -

>  sysdeps/unix/sysv/linux/i386/libc.abilist     |  2 +

>  sysdeps/unix/sysv/linux/i386/librt.abilist    |  1 -

>  sysdeps/unix/sysv/linux/ia64/Versions         |  2 +-

>  sysdeps/unix/sysv/linux/ia64/libc.abilist     |  3 ++

>  sysdeps/unix/sysv/linux/ia64/librt.abilist    |  2 -

>  sysdeps/unix/sysv/linux/ia64/timer_getoverr.c |  1 -

>  sysdeps/unix/sysv/linux/kernel-posix-timers.h |  2 +

>  .../sysv/linux/m68k/coldfire/libc.abilist     |  2 +

>  .../sysv/linux/m68k/coldfire/librt.abilist    |  1 -

>  .../unix/sysv/linux/m68k/m680x0/libc.abilist  |  2 +

>  .../unix/sysv/linux/m68k/m680x0/librt.abilist |  1 -

>  .../sysv/linux/microblaze/be/libc.abilist     |  2 +

>  .../sysv/linux/microblaze/be/librt.abilist    |  1 -

>  .../sysv/linux/microblaze/le/libc.abilist     |  2 +

>  .../sysv/linux/microblaze/le/librt.abilist    |  1 -

>  .../sysv/linux/mips/mips32/fpu/libc.abilist   |  2 +

>  .../unix/sysv/linux/mips/mips32/librt.abilist |  1 -

>  .../sysv/linux/mips/mips32/nofpu/libc.abilist |  2 +

>  .../sysv/linux/mips/mips64/n32/libc.abilist   |  2 +

>  .../sysv/linux/mips/mips64/n32/librt.abilist  |  1 -

>  .../sysv/linux/mips/mips64/n64/libc.abilist   |  2 +

>  .../sysv/linux/mips/mips64/n64/librt.abilist  |  1 -

>  sysdeps/unix/sysv/linux/nios2/libc.abilist    |  2 +

>  sysdeps/unix/sysv/linux/nios2/librt.abilist   |  1 -

>  .../linux/powerpc/powerpc32/fpu/libc.abilist  |  2 +

>  .../linux/powerpc/powerpc32/librt.abilist     |  1 -

>  .../powerpc/powerpc32/nofpu/libc.abilist      |  2 +

>  .../sysv/linux/powerpc/powerpc64/Versions     |  2 +-

>  .../linux/powerpc/powerpc64/be/libc.abilist   |  3 ++

>  .../linux/powerpc/powerpc64/be/librt.abilist  |  2 -

>  .../linux/powerpc/powerpc64/le/libc.abilist   |  2 +

>  .../linux/powerpc/powerpc64/le/librt.abilist  |  1 -

>  .../linux/powerpc/powerpc64/timer_getoverr.c  |  1 -

>  .../unix/sysv/linux/riscv/rv32/libc.abilist   |  2 +

>  .../unix/sysv/linux/riscv/rv32/librt.abilist  |  1 -

>  .../unix/sysv/linux/riscv/rv64/libc.abilist   |  2 +

>  .../unix/sysv/linux/riscv/rv64/librt.abilist  |  1 -

>  .../unix/sysv/linux/s390/s390-32/libc.abilist |  2 +

>  .../sysv/linux/s390/s390-32/librt.abilist     |  1 -

>  sysdeps/unix/sysv/linux/s390/s390-64/Versions |  2 +-

>  .../unix/sysv/linux/s390/s390-64/libc.abilist |  3 ++

>  .../sysv/linux/s390/s390-64/librt.abilist     |  2 -

>  .../sysv/linux/s390/s390-64/timer_getoverr.c  |  1 -

>  sysdeps/unix/sysv/linux/sh/be/libc.abilist    |  2 +

>  sysdeps/unix/sysv/linux/sh/be/librt.abilist   |  1 -

>  sysdeps/unix/sysv/linux/sh/le/libc.abilist    |  2 +

>  sysdeps/unix/sysv/linux/sh/le/librt.abilist   |  1 -

>  .../sysv/linux/sparc/sparc32/libc.abilist     |  2 +

>  .../sysv/linux/sparc/sparc32/librt.abilist    |  1 -

>  .../unix/sysv/linux/sparc/sparc64/Versions    |  2 +-

>  .../sysv/linux/sparc/sparc64/libc.abilist     |  3 ++

>  .../sysv/linux/sparc/sparc64/librt.abilist    |  2 -

>  .../sysv/linux/sparc/sparc64/timer_getoverr.c |  1 -

>  sysdeps/unix/sysv/linux/timer_getoverr.c      | 32 ++++++++++++----

>  .../unix/sysv/linux/x86_64/64/libc.abilist    |  3 ++

>  .../unix/sysv/linux/x86_64/64/librt.abilist   |  2 -

>  sysdeps/unix/sysv/linux/x86_64/Versions       |  2 +-

>  .../unix/sysv/linux/x86_64/timer_getoverr.c   | 38 -------------------

>  .../unix/sysv/linux/x86_64/x32/libc.abilist   |  2 +

>  .../unix/sysv/linux/x86_64/x32/librt.abilist  |  1 -

>  79 files changed, 107 insertions(+), 95 deletions(-)

>  delete mode 100644 sysdeps/unix/sysv/linux/alpha/timer_getoverr.c

>  delete mode 100644 sysdeps/unix/sysv/linux/ia64/timer_getoverr.c

>  delete mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c

>  delete mode 100644 sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c

>  delete mode 100644 sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c

>  delete mode 100644 sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c

> 

> diff --git a/rt/Makefile b/rt/Makefile

> index d2ff0221c7..1eadb94ea8 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 \


Ok.

> 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;

>    }


Ok.

> 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;


Ok.

> 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

>  GLIBC_2.17 timer_create F

>  GLIBC_2.17 timer_delete F

> +GLIBC_2.17 timer_getoverrun F

>  GLIBC_2.17 timerfd_create F

>  GLIBC_2.17 timerfd_gettime F

>  GLIBC_2.17 timerfd_settime F

> @@ -2533,6 +2534,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F


Ok.

> diff --git a/sysdeps/unix/sysv/linux/aarch64/librt.abilist b/sysdeps/unix/sysv/linux/aarch64/librt.abilist

> index 34768d1472..493768f440 100644

> --- a/sysdeps/unix/sysv/linux/aarch64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/aarch64/librt.abilist

> @@ -1,3 +1,2 @@

> -GLIBC_2.17 timer_getoverrun F

>  GLIBC_2.17 timer_gettime F

>  GLIBC_2.17 timer_settime F

> diff --git a/sysdeps/unix/sysv/linux/alpha/Versions b/sysdeps/unix/sysv/linux/alpha/Versions

> index d4bd056f64..dd5b365d77 100644

> --- a/sysdeps/unix/sysv/linux/alpha/Versions

> +++ b/sysdeps/unix/sysv/linux/alpha/Versions

> @@ -104,7 +104,7 @@ librt {

>    }

>    GLIBC_2.3.3 {

>      # Changed timer_t.

> -    timer_getoverrun; timer_gettime;

> +    timer_gettime;

>      timer_settime;

>    }

>  }


Ok.

> diff --git a/sysdeps/unix/sysv/linux/alpha/libc.abilist b/sysdeps/unix/sysv/linux/alpha/libc.abilist

> index 985a1deca9..50ab6f3fc1 100644

> --- a/sysdeps/unix/sysv/linux/alpha/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/alpha/libc.abilist

> @@ -2095,6 +2095,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 vfwprintf F

>  GLIBC_2.2 vfwscanf F

> @@ -2357,6 +2358,7 @@ GLIBC_2.3.3 sys_sigabbrev D 0x208

>  GLIBC_2.3.3 sys_siglist D 0x208

>  GLIBC_2.3.3 timer_create F

>  GLIBC_2.3.3 timer_delete F

> +GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.4 _OtsAddX F

>  GLIBC_2.3.4 _OtsConvertFloatTX F

>  GLIBC_2.3.4 _OtsConvertFloatXT F

> @@ -2629,6 +2631,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/alpha/librt.abilist b/sysdeps/unix/sysv/linux/alpha/librt.abilist

> index 3b744cf5a1..34d42d122b 100644

> --- a/sysdeps/unix/sysv/linux/alpha/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/alpha/librt.abilist

> @@ -1,9 +1,7 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3 __librt_version_placeholder F

> -GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.3 timer_gettime F

>  GLIBC_2.3.3 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/alpha/timer_getoverr.c b/sysdeps/unix/sysv/linux/alpha/timer_getoverr.c

> deleted file mode 100644

> index 22eaff5cda..0000000000

> --- a/sysdeps/unix/sysv/linux/alpha/timer_getoverr.c

> +++ /dev/null

> @@ -1 +0,0 @@

> -#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>


Ok.

> diff --git a/sysdeps/unix/sysv/linux/arc/libc.abilist b/sysdeps/unix/sysv/linux/arc/libc.abilist

> index 22fa42dfc3..aafc056267 100644

> --- a/sysdeps/unix/sysv/linux/arc/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/arc/libc.abilist

> @@ -1942,6 +1942,7 @@ GLIBC_2.32 timegm F

>  GLIBC_2.32 timelocal F

>  GLIBC_2.32 timer_create F

>  GLIBC_2.32 timer_delete F

> +GLIBC_2.32 timer_getoverrun F

>  GLIBC_2.32 timerfd_create F

>  GLIBC_2.32 timerfd_gettime F

>  GLIBC_2.32 timerfd_settime F

> @@ -2292,6 +2293,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/arc/librt.abilist b/sysdeps/unix/sysv/linux/arc/librt.abilist

> index 7bc7c57bf0..14ae3d7c65 100644

> --- a/sysdeps/unix/sysv/linux/arc/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/arc/librt.abilist

> @@ -1,3 +1,2 @@

> -GLIBC_2.32 timer_getoverrun F

>  GLIBC_2.32 timer_gettime F

>  GLIBC_2.32 timer_settime F

> diff --git a/sysdeps/unix/sysv/linux/arm/be/libc.abilist b/sysdeps/unix/sysv/linux/arm/be/libc.abilist

> index c8ff2a0b74..ac73d766ba 100644

> --- a/sysdeps/unix/sysv/linux/arm/be/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/arm/be/libc.abilist

> @@ -436,6 +436,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> @@ -2354,6 +2355,7 @@ GLIBC_2.4 timegm F

>  GLIBC_2.4 timelocal F

>  GLIBC_2.4 timer_create F

>  GLIBC_2.4 timer_delete F

> +GLIBC_2.4 timer_getoverrun F

>  GLIBC_2.4 times F

>  GLIBC_2.4 timezone D 0x4

>  GLIBC_2.4 tmpfile F

> diff --git a/sysdeps/unix/sysv/linux/arm/be/librt.abilist b/sysdeps/unix/sysv/linux/arm/be/librt.abilist

> index 0887259367..78152d8fa3 100644

> --- a/sysdeps/unix/sysv/linux/arm/be/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/arm/be/librt.abilist

> @@ -1,6 +1,5 @@

>  GLIBC_2.34 __timer_gettime64 F

>  GLIBC_2.34 __timer_settime64 F

> -GLIBC_2.4 timer_getoverrun F

>  GLIBC_2.4 timer_gettime F

>  GLIBC_2.4 timer_settime F

>  GLIBC_2.7 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/arm/le/libc.abilist b/sysdeps/unix/sysv/linux/arm/le/libc.abilist

> index b237b78f85..96ad967292 100644

> --- a/sysdeps/unix/sysv/linux/arm/le/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/arm/le/libc.abilist

> @@ -433,6 +433,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> @@ -2351,6 +2352,7 @@ GLIBC_2.4 timegm F

>  GLIBC_2.4 timelocal F

>  GLIBC_2.4 timer_create F

>  GLIBC_2.4 timer_delete F

> +GLIBC_2.4 timer_getoverrun F

>  GLIBC_2.4 times F

>  GLIBC_2.4 timezone D 0x4

>  GLIBC_2.4 tmpfile F

> diff --git a/sysdeps/unix/sysv/linux/arm/le/librt.abilist b/sysdeps/unix/sysv/linux/arm/le/librt.abilist

> index 0887259367..78152d8fa3 100644

> --- a/sysdeps/unix/sysv/linux/arm/le/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/arm/le/librt.abilist

> @@ -1,6 +1,5 @@

>  GLIBC_2.34 __timer_gettime64 F

>  GLIBC_2.34 __timer_settime64 F

> -GLIBC_2.4 timer_getoverrun F

>  GLIBC_2.4 timer_gettime F

>  GLIBC_2.4 timer_settime F

>  GLIBC_2.7 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/csky/libc.abilist b/sysdeps/unix/sysv/linux/csky/libc.abilist

> index c1b6927cea..980ac9c497 100644

> --- a/sysdeps/unix/sysv/linux/csky/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/csky/libc.abilist

> @@ -2032,6 +2032,7 @@ GLIBC_2.29 timegm F

>  GLIBC_2.29 timelocal F

>  GLIBC_2.29 timer_create F

>  GLIBC_2.29 timer_delete F

> +GLIBC_2.29 timer_getoverrun F

>  GLIBC_2.29 timerfd_create F

>  GLIBC_2.29 timerfd_gettime F

>  GLIBC_2.29 timerfd_settime F

> @@ -2555,6 +2556,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/csky/librt.abilist b/sysdeps/unix/sysv/linux/csky/librt.abilist

> index 3d7c839b9b..9f89eb4e8b 100644

> --- a/sysdeps/unix/sysv/linux/csky/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/csky/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.29 timer_getoverrun F

>  GLIBC_2.29 timer_gettime F

>  GLIBC_2.29 timer_settime F

>  GLIBC_2.34 __timer_gettime64 F

> diff --git a/sysdeps/unix/sysv/linux/hppa/libc.abilist b/sysdeps/unix/sysv/linux/hppa/libc.abilist

> index c5021c8109..0e6e1444d6 100644

> --- a/sysdeps/unix/sysv/linux/hppa/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/hppa/libc.abilist

> @@ -1746,6 +1746,7 @@ GLIBC_2.2 timegm F

>  GLIBC_2.2 timelocal F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 times F

>  GLIBC_2.2 timezone D 0x4

>  GLIBC_2.2 tmpfile F

> @@ -2508,6 +2509,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/hppa/librt.abilist b/sysdeps/unix/sysv/linux/hppa/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/hppa/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/hppa/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/i386/libc.abilist b/sysdeps/unix/sysv/linux/i386/libc.abilist

> index 8055ea6984..d8693b0c7b 100644

> --- a/sysdeps/unix/sysv/linux/i386/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/i386/libc.abilist

> @@ -2108,6 +2108,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 versionsort64 F

>  GLIBC_2.2 vfwprintf F

> @@ -2692,6 +2693,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/i386/librt.abilist b/sysdeps/unix/sysv/linux/i386/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/i386/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/i386/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/ia64/Versions b/sysdeps/unix/sysv/linux/ia64/Versions

> index 29b0d98cc6..1d09fca7e3 100644

> --- a/sysdeps/unix/sysv/linux/ia64/Versions

> +++ b/sysdeps/unix/sysv/linux/ia64/Versions

> @@ -30,7 +30,7 @@ libc {

>  librt {

>    GLIBC_2.3.3 {

>      # Changed timer_t.

> -    timer_getoverrun; timer_gettime;

> +    timer_gettime;

>      timer_settime;

>    }

>  }


Ok.

> diff --git a/sysdeps/unix/sysv/linux/ia64/libc.abilist b/sysdeps/unix/sysv/linux/ia64/libc.abilist

> index 4cf1da5b62..984b58be61 100644

> --- a/sysdeps/unix/sysv/linux/ia64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/ia64/libc.abilist

> @@ -1767,6 +1767,7 @@ GLIBC_2.2 timegm F

>  GLIBC_2.2 timelocal F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 times F

>  GLIBC_2.2 timezone D 0x8

>  GLIBC_2.2 tmpfile F

> @@ -2222,6 +2223,7 @@ GLIBC_2.3.3 sys_sigabbrev D 0x208

>  GLIBC_2.3.3 sys_siglist D 0x208

>  GLIBC_2.3.3 timer_create F

>  GLIBC_2.3.3 timer_delete F

> +GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.4 __chk_fail F

>  GLIBC_2.3.4 __fprintf_chk F

>  GLIBC_2.3.4 __gets_chk F

> @@ -2467,6 +2469,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/ia64/librt.abilist b/sysdeps/unix/sysv/linux/ia64/librt.abilist

> index 74a4971070..c56040a5f9 100644

> --- a/sysdeps/unix/sysv/linux/ia64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/ia64/librt.abilist

> @@ -1,8 +1,6 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

> -GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.3 timer_gettime F

>  GLIBC_2.3.3 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/ia64/timer_getoverr.c b/sysdeps/unix/sysv/linux/ia64/timer_getoverr.c

> deleted file mode 100644

> index 22eaff5cda..0000000000

> --- a/sysdeps/unix/sysv/linux/ia64/timer_getoverr.c

> +++ /dev/null

> @@ -1 +0,0 @@

> -#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>


Ok.

> diff --git a/sysdeps/unix/sysv/linux/kernel-posix-timers.h b/sysdeps/unix/sysv/linux/kernel-posix-timers.h

> index 99a2937458..a976b028e0 100644

> --- a/sysdeps/unix/sysv/linux/kernel-posix-timers.h

> +++ b/sysdeps/unix/sysv/linux/kernel-posix-timers.h

> @@ -52,6 +52,8 @@ extern __typeof (timer_create) __timer_create;

>  libc_hidden_proto (__timer_create)

>  extern __typeof (timer_delete) __timer_delete;

>  libc_hidden_proto (__timer_delete)

> +extern __typeof (timer_getoverrun) __timer_getoverrun;

> +libc_hidden_proto (__timer_getoverrun)

>  

>  /* Type of timers in the kernel.  */

>  typedef int kernel_timer_t;


Ok.

> diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist

> index e7c0a81f37..a8d6ad9a4f 100644

> --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist

> @@ -437,6 +437,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> @@ -2334,6 +2335,7 @@ GLIBC_2.4 timegm F

>  GLIBC_2.4 timelocal F

>  GLIBC_2.4 timer_create F

>  GLIBC_2.4 timer_delete F

> +GLIBC_2.4 timer_getoverrun F

>  GLIBC_2.4 times F

>  GLIBC_2.4 timezone D 0x4

>  GLIBC_2.4 tmpfile F

> diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist

> index 0887259367..78152d8fa3 100644

> --- a/sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist

> @@ -1,6 +1,5 @@

>  GLIBC_2.34 __timer_gettime64 F

>  GLIBC_2.34 __timer_settime64 F

> -GLIBC_2.4 timer_getoverrun F

>  GLIBC_2.4 timer_gettime F

>  GLIBC_2.4 timer_settime F

>  GLIBC_2.7 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist

> index b82f6366ee..62590726a8 100644

> --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist

> @@ -2064,6 +2064,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 versionsort64 F

>  GLIBC_2.2 vfwprintf F

> @@ -2635,6 +2636,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist

> index 3f9dfa7664..3fd1621454 100644

> --- a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist

> @@ -2012,6 +2012,7 @@ GLIBC_2.18 timegm F

>  GLIBC_2.18 timelocal F

>  GLIBC_2.18 timer_create F

>  GLIBC_2.18 timer_delete F

> +GLIBC_2.18 timer_getoverrun F

>  GLIBC_2.18 timerfd_create F

>  GLIBC_2.18 timerfd_gettime F

>  GLIBC_2.18 timerfd_settime F

> @@ -2606,6 +2607,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist b/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist

> index 2efee3a326..f308a63244 100644

> --- a/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.18 timer_getoverrun F

>  GLIBC_2.18 timer_gettime F

>  GLIBC_2.18 timer_settime F

>  GLIBC_2.34 __timer_gettime64 F

> diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist

> index bb2fd6251f..2b839a784d 100644

> --- a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist

> @@ -2012,6 +2012,7 @@ GLIBC_2.18 timegm F

>  GLIBC_2.18 timelocal F

>  GLIBC_2.18 timer_create F

>  GLIBC_2.18 timer_delete F

> +GLIBC_2.18 timer_getoverrun F

>  GLIBC_2.18 timerfd_create F

>  GLIBC_2.18 timerfd_gettime F

>  GLIBC_2.18 timerfd_settime F

> @@ -2603,6 +2604,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/microblaze/le/librt.abilist b/sysdeps/unix/sysv/linux/microblaze/le/librt.abilist

> index 2efee3a326..f308a63244 100644

> --- a/sysdeps/unix/sysv/linux/microblaze/le/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/microblaze/le/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.18 timer_getoverrun F

>  GLIBC_2.18 timer_gettime F

>  GLIBC_2.18 timer_settime F

>  GLIBC_2.34 __timer_gettime64 F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist

> index 938142fb4a..ac623acbd3 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist

> @@ -1995,6 +1995,7 @@ GLIBC_2.2 tcgetsid F

>  GLIBC_2.2 tdestroy F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 tmpfile F

>  GLIBC_2.2 tmpfile64 F

>  GLIBC_2.2 truncate64 F

> @@ -2600,6 +2601,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist b/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist

> index dbc81ebe4b..af07e28f55 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist

> index d62382883b..776b30b48a 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist

> @@ -1993,6 +1993,7 @@ GLIBC_2.2 tcgetsid F

>  GLIBC_2.2 tdestroy F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 tmpfile F

>  GLIBC_2.2 tmpfile64 F

>  GLIBC_2.2 truncate64 F

> @@ -2598,6 +2599,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist

> index 28a8a5d294..1ffaa8e684 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist

> @@ -1991,6 +1991,7 @@ GLIBC_2.2 tcgetsid F

>  GLIBC_2.2 tdestroy F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 tmpfile F

>  GLIBC_2.2 tmpfile64 F

>  GLIBC_2.2 truncate64 F

> @@ -2606,6 +2607,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist

> index dbc81ebe4b..af07e28f55 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist

> index 6748f9beef..b0c5d0a636 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist

> @@ -1987,6 +1987,7 @@ GLIBC_2.2 tcgetsid F

>  GLIBC_2.2 tdestroy F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 tmpfile F

>  GLIBC_2.2 tmpfile64 F

>  GLIBC_2.2 truncate64 F

> @@ -2521,6 +2522,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist

> index 00fd77bbab..a92565949e 100644

> --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/nios2/libc.abilist b/sysdeps/unix/sysv/linux/nios2/libc.abilist

> index 03d13e5ee1..77778d11f3 100644

> --- a/sysdeps/unix/sysv/linux/nios2/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/nios2/libc.abilist

> @@ -2054,6 +2054,7 @@ GLIBC_2.21 timegm F

>  GLIBC_2.21 timelocal F

>  GLIBC_2.21 timer_create F

>  GLIBC_2.21 timer_delete F

> +GLIBC_2.21 timer_getoverrun F

>  GLIBC_2.21 timerfd_create F

>  GLIBC_2.21 timerfd_gettime F

>  GLIBC_2.21 timerfd_settime F

> @@ -2645,6 +2646,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/nios2/librt.abilist b/sysdeps/unix/sysv/linux/nios2/librt.abilist

> index a83ae32d03..8ab5ece2b0 100644

> --- a/sysdeps/unix/sysv/linux/nios2/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/nios2/librt.abilist

> @@ -1,4 +1,3 @@

> -GLIBC_2.21 timer_getoverrun F

>  GLIBC_2.21 timer_gettime F

>  GLIBC_2.21 timer_settime F

>  GLIBC_2.34 __timer_gettime64 F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist

> index c9a45ecb17..5562012575 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist

> @@ -2069,6 +2069,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 vfwprintf F

>  GLIBC_2.2 vfwscanf F

> @@ -2662,6 +2663,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist

> index c7fbc347a1..f0adf7b58b 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist

> @@ -2073,6 +2073,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 vfwprintf F

>  GLIBC_2.2 vfwscanf F

> @@ -2695,6 +2696,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions

> index 4eb22c11ac..a69927d41d 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions

> @@ -29,7 +29,7 @@ libc {

>  librt {

>    GLIBC_2.3.3 {

>      # Changed timer_t.

> -    timer_getoverrun; timer_gettime;

> +    timer_gettime;

>      timer_settime;

>    }

>  }


Ok.

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist

> index fb5eb9c67e..e74ecec60f 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist

> @@ -1888,6 +1888,7 @@ GLIBC_2.3 timegm F

>  GLIBC_2.3 timelocal F

>  GLIBC_2.3 timer_create F

>  GLIBC_2.3 timer_delete F

> +GLIBC_2.3 timer_getoverrun F

>  GLIBC_2.3 times F

>  GLIBC_2.3 timezone D 0x8

>  GLIBC_2.3 tmpfile F

> @@ -2166,6 +2167,7 @@ GLIBC_2.3.3 sys_sigabbrev D 0x208

>  GLIBC_2.3.3 sys_siglist D 0x208

>  GLIBC_2.3.3 timer_create F

>  GLIBC_2.3.3 timer_delete F

> +GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.4 __chk_fail F

>  GLIBC_2.3.4 __fprintf_chk F

>  GLIBC_2.3.4 __gets_chk F

> @@ -2431,6 +2433,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist

> index 914203b043..dd8b2ad6ef 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist

> @@ -1,7 +1,5 @@

> -GLIBC_2.3 timer_getoverrun F

>  GLIBC_2.3 timer_gettime F

>  GLIBC_2.3 timer_settime F

> -GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.3 timer_gettime F

>  GLIBC_2.3.3 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist

> index b89256aba0..2a0c06b881 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist

> @@ -2096,6 +2096,7 @@ GLIBC_2.17 timegm F

>  GLIBC_2.17 timelocal F

>  GLIBC_2.17 timer_create F

>  GLIBC_2.17 timer_delete F

> +GLIBC_2.17 timer_getoverrun F

>  GLIBC_2.17 timerfd_create F

>  GLIBC_2.17 timerfd_gettime F

>  GLIBC_2.17 timerfd_settime F

> @@ -2729,6 +2730,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist

> index 34768d1472..493768f440 100644

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist

> @@ -1,3 +1,2 @@

> -GLIBC_2.17 timer_getoverrun F

>  GLIBC_2.17 timer_gettime F

>  GLIBC_2.17 timer_settime F

> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c

> deleted file mode 100644

> index 22eaff5cda..0000000000

> --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c

> +++ /dev/null

> @@ -1 +0,0 @@

> -#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>

> diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist

> index c653f52373..3e0e33bbb3 100644

> --- a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist

> @@ -1952,6 +1952,7 @@ GLIBC_2.33 timegm F

>  GLIBC_2.33 timelocal F

>  GLIBC_2.33 timer_create F

>  GLIBC_2.33 timer_delete F

> +GLIBC_2.33 timer_getoverrun F

>  GLIBC_2.33 timerfd_create F

>  GLIBC_2.33 timerfd_gettime F

>  GLIBC_2.33 timerfd_settime F

> @@ -2294,6 +2295,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/librt.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/librt.abilist

> index 09bbee0960..de338094e1 100644

> --- a/sysdeps/unix/sysv/linux/riscv/rv32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/riscv/rv32/librt.abilist

> @@ -1,3 +1,2 @@

> -GLIBC_2.33 timer_getoverrun F

>  GLIBC_2.33 timer_gettime F

>  GLIBC_2.33 timer_settime F

> diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist

> index 711484eee5..1092e5a170 100644

> --- a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist

> @@ -2018,6 +2018,7 @@ GLIBC_2.27 timegm F

>  GLIBC_2.27 timelocal F

>  GLIBC_2.27 timer_create F

>  GLIBC_2.27 timer_delete F

> +GLIBC_2.27 timer_getoverrun F

>  GLIBC_2.27 timerfd_create F

>  GLIBC_2.27 timerfd_gettime F

>  GLIBC_2.27 timerfd_settime F

> @@ -2494,6 +2495,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist

> index 8e1d8b21fe..624ab969d8 100644

> --- a/sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist

> @@ -1,3 +1,2 @@

> -GLIBC_2.27 timer_getoverrun F

>  GLIBC_2.27 timer_gettime F

>  GLIBC_2.27 timer_settime F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist

> index 4040312275..710cafe7c0 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist

> @@ -2067,6 +2067,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 versionsort64 F

>  GLIBC_2.2 vfwprintf F

> @@ -2660,6 +2661,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/Versions b/sysdeps/unix/sysv/linux/s390/s390-64/Versions

> index 5989ac75a9..e7f968fcdf 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-64/Versions

> +++ b/sysdeps/unix/sysv/linux/s390/s390-64/Versions

> @@ -9,7 +9,7 @@ libc {

>  librt {

>    GLIBC_2.3.3 {

>      # Changed timer_t.

> -    timer_getoverrun; timer_gettime;

> +    timer_gettime;

>      timer_settime;

>    }

>  }


Ok.

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist

> index 4cf6a5ea09..6b2c7e7d68 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist

> @@ -1763,6 +1763,7 @@ GLIBC_2.2 timegm F

>  GLIBC_2.2 timelocal F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 times F

>  GLIBC_2.2 timezone D 0x8

>  GLIBC_2.2 tmpfile F

> @@ -2212,6 +2213,7 @@ GLIBC_2.3.3 sys_sigabbrev D 0x208

>  GLIBC_2.3.3 sys_siglist D 0x208

>  GLIBC_2.3.3 timer_create F

>  GLIBC_2.3.3 timer_delete F

> +GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.4 __chk_fail F

>  GLIBC_2.3.4 __fprintf_chk F

>  GLIBC_2.3.4 __gets_chk F

> @@ -2468,6 +2470,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist

> index 34e8d31133..35dc39d27d 100644

> --- a/sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist

> @@ -1,7 +1,5 @@

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

> -GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.3 timer_gettime F

>  GLIBC_2.3.3 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c b/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c

> deleted file mode 100644

> index 22eaff5cda..0000000000

> --- a/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c

> +++ /dev/null

> @@ -1 +0,0 @@

> -#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>


Ok.

> diff --git a/sysdeps/unix/sysv/linux/sh/be/libc.abilist b/sysdeps/unix/sysv/linux/sh/be/libc.abilist

> index 6fd93a5445..51a493aadb 100644

> --- a/sysdeps/unix/sysv/linux/sh/be/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/sh/be/libc.abilist

> @@ -1750,6 +1750,7 @@ GLIBC_2.2 timegm F

>  GLIBC_2.2 timelocal F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 times F

>  GLIBC_2.2 timezone D 0x4

>  GLIBC_2.2 tmpfile F

> @@ -2515,6 +2516,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/sh/be/librt.abilist b/sysdeps/unix/sysv/linux/sh/be/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/sh/be/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/sh/be/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/sh/le/libc.abilist b/sysdeps/unix/sysv/linux/sh/le/libc.abilist

> index c5c41bf0e6..cb37ba55cb 100644

> --- a/sysdeps/unix/sysv/linux/sh/le/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/sh/le/libc.abilist

> @@ -1750,6 +1750,7 @@ GLIBC_2.2 timegm F

>  GLIBC_2.2 timelocal F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 times F

>  GLIBC_2.2 timezone D 0x4

>  GLIBC_2.2 tmpfile F

> @@ -2512,6 +2513,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/sh/le/librt.abilist b/sysdeps/unix/sysv/linux/sh/le/librt.abilist

> index 1268c7fc38..f04b1e7978 100644

> --- a/sysdeps/unix/sysv/linux/sh/le/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/sh/le/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist

> index 132470d40b..05b4e88794 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist

> @@ -2062,6 +2062,7 @@ GLIBC_2.2 swprintf F

>  GLIBC_2.2 swscanf F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 ungetwc F

>  GLIBC_2.2 vfwprintf F

>  GLIBC_2.2 vfwscanf F

> @@ -2655,6 +2656,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist

> index d8ff3b0988..0de56c2c15 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist

> @@ -1,5 +1,4 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/Versions b/sysdeps/unix/sysv/linux/sparc/sparc64/Versions

> index 358081399a..d04738fafc 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc64/Versions

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/Versions

> @@ -14,7 +14,7 @@ libc {

>  librt {

>    GLIBC_2.3.3 {

>      # Changed timer_t.

> -    timer_getoverrun; timer_gettime;

> +    timer_gettime;

>      timer_settime;

>    }

>  }


Ok.

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist

> index 6ee552611b..72591794e8 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist

> @@ -1793,6 +1793,7 @@ GLIBC_2.2 timegm F

>  GLIBC_2.2 timelocal F

>  GLIBC_2.2 timer_create F

>  GLIBC_2.2 timer_delete F

> +GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 times F

>  GLIBC_2.2 timezone D 0x8

>  GLIBC_2.2 tmpfile F

> @@ -2246,6 +2247,7 @@ GLIBC_2.3.3 sys_sigabbrev D 0x208

>  GLIBC_2.3.3 sys_siglist D 0x208

>  GLIBC_2.3.3 timer_create F

>  GLIBC_2.3.3 timer_delete F

> +GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.4 __chk_fail F

>  GLIBC_2.3.4 __fprintf_chk F

>  GLIBC_2.3.4 __gets_chk F

> @@ -2490,6 +2492,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist

> index 3b744cf5a1..34d42d122b 100644

> --- a/sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist

> @@ -1,9 +1,7 @@

>  GLIBC_2.1 __librt_version_placeholder F

> -GLIBC_2.2 timer_getoverrun F

>  GLIBC_2.2 timer_gettime F

>  GLIBC_2.2 timer_settime F

>  GLIBC_2.3 __librt_version_placeholder F

> -GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.3 timer_gettime F

>  GLIBC_2.3.3 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c b/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c

> deleted file mode 100644

> index 22eaff5cda..0000000000

> --- a/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c

> +++ /dev/null

> @@ -1 +0,0 @@

> -#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>


Ok.

> diff --git a/sysdeps/unix/sysv/linux/timer_getoverr.c b/sysdeps/unix/sysv/linux/timer_getoverr.c

> index b997290768..accec3757d 100644

> --- a/sysdeps/unix/sysv/linux/timer_getoverr.c

> +++ b/sysdeps/unix/sysv/linux/timer_getoverr.c

> @@ -20,17 +20,33 @@

>  #include <time.h>

>  #include <sysdep.h>

>  #include <kernel-posix-timers.h>

> -

> -

> -#ifdef timer_getoverrun_alias

> -# define timer_getoverrun timer_getoverrun_alias

> -#endif

> -

> +#include <shlib-compat.h>

>  

>  int

> -timer_getoverrun (timer_t timerid)

> +___timer_getoverrun (timer_t timerid)

>  {

> -#undef timer_getoverrun

>    kernel_timer_t ktimerid = timerid_to_kernel_timer (timerid);

>    return INLINE_SYSCALL_CALL (timer_getoverrun, ktimerid);

>  }

> +versioned_symbol (libc, ___timer_getoverrun, timer_getoverrun, GLIBC_2_34);

> +libc_hidden_ver (___timer_getoverrun, __timer_getoverrun)

> +

> +#if TIMER_T_WAS_INT_COMPAT

> +# if OTHER_SHLIB_COMPAT (librt, GLIBC_2_3_3, GLIBC_2_34)

> +compat_symbol (librt, ___timer_getoverrun, timer_getoverrun, GLIBC_2_3_3);

> +# endif

> +

> +# if OTHER_SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_3_3)

> +int

> +__timer_getoverrun_old (int timerid)

> +{

> +  return __timer_getoverrun (__timer_compat_list[timerid]);

> +}

> +compat_symbol (librt, __timer_getoverrun_old, timer_getoverrun, GLIBC_2_2);

> +# endif /* OTHER_SHLIB_COMPAT */

> +

> +#else /* !TIMER_T_WAS_INT_COMPAT */

> +# if OTHER_SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_34)

> +compat_symbol (librt, ___timer_getoverrun, timer_getoverrun, GLIBC_2_2);

> +# endif

> +#endif /* !TIMER_T_WAS_INT_COMPAT */


Ok.

> diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist

> index 377d35a04f..92f4369765 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist

> @@ -1762,6 +1762,7 @@ GLIBC_2.2.5 timegm F

>  GLIBC_2.2.5 timelocal F

>  GLIBC_2.2.5 timer_create F

>  GLIBC_2.2.5 timer_delete F

> +GLIBC_2.2.5 timer_getoverrun F

>  GLIBC_2.2.5 times F

>  GLIBC_2.2.5 timezone D 0x8

>  GLIBC_2.2.5 tmpfile F

> @@ -2200,6 +2201,7 @@ GLIBC_2.3.3 sys_sigabbrev D 0x208

>  GLIBC_2.3.3 sys_siglist D 0x208

>  GLIBC_2.3.3 timer_create F

>  GLIBC_2.3.3 timer_delete F

> +GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.4 __chk_fail F

>  GLIBC_2.3.4 __fprintf_chk F

>  GLIBC_2.3.4 __gets_chk F

> @@ -2446,6 +2448,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/x86_64/64/librt.abilist b/sysdeps/unix/sysv/linux/x86_64/64/librt.abilist

> index 13a2bf2022..379fa6930c 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/64/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/x86_64/64/librt.abilist

> @@ -1,7 +1,5 @@

> -GLIBC_2.2.5 timer_getoverrun F

>  GLIBC_2.2.5 timer_gettime F

>  GLIBC_2.2.5 timer_settime F

> -GLIBC_2.3.3 timer_getoverrun F

>  GLIBC_2.3.3 timer_gettime F

>  GLIBC_2.3.3 timer_settime F

>  GLIBC_2.3.4 __librt_version_placeholder F

> diff --git a/sysdeps/unix/sysv/linux/x86_64/Versions b/sysdeps/unix/sysv/linux/x86_64/Versions

> index c4d1c5fb79..a97b6c7413 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/Versions

> +++ b/sysdeps/unix/sysv/linux/x86_64/Versions

> @@ -11,7 +11,7 @@ libc {

>  librt {

>    GLIBC_2.3.3 {

>      # Changed timer_t.

> -    timer_getoverrun; timer_gettime;

> +    timer_gettime;

>      timer_settime;

>    }

>  }


Ok.

> diff --git a/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c b/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c

> deleted file mode 100644

> index fb6e631a00..0000000000

> --- a/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c

> +++ /dev/null

> @@ -1,38 +0,0 @@

> -/* Copyright (C) 2003-2021 Free Software Foundation, Inc.

> -   This file is part of the GNU C Library.

> -   Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.

> -

> -   The GNU C Library is free software; you can redistribute it and/or

> -   modify it under the terms of the GNU Lesser General Public License as

> -   published by the Free Software Foundation; either version 2.1 of the

> -   License, or (at your option) any later version.

> -

> -   The GNU C Library is distributed in the hope that it will be useful,

> -   but WITHOUT ANY WARRANTY; without even the implied warranty of

> -   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU

> -   Lesser General Public License for more details.

> -

> -   You should have received a copy of the GNU Lesser General Public

> -   License along with the GNU C Library; see the file COPYING.LIB.  If

> -   not, see <https://www.gnu.org/licenses/>.  */

> -

> -#include <shlib-compat.h>

> -#include "compat-timer.h"

> -

> -

> -#define timer_getoverrun_alias __timer_getoverrun_new

> -#include <sysdeps/unix/sysv/linux/timer_getoverr.c>

> -

> -#undef timer_getoverrun

> -versioned_symbol (librt, __timer_getoverrun_new, timer_getoverrun,

> -		  GLIBC_2_3_3);

> -

> -

> -#if SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_3_3)

> -int

> -__timer_getoverrun_old (int timerid)

> -{

> -  return __timer_getoverrun_new (__timer_compat_list[timerid]);

> -}

> -compat_symbol (librt, __timer_getoverrun_old, timer_getoverrun, GLIBC_2_2);

> -#endif


Ok.

> diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist

> index 620f35836c..25b177fda0 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist

> +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist

> @@ -2013,6 +2013,7 @@ GLIBC_2.16 timegm F

>  GLIBC_2.16 timelocal F

>  GLIBC_2.16 timer_create F

>  GLIBC_2.16 timer_delete F

> +GLIBC_2.16 timer_getoverrun F

>  GLIBC_2.16 timerfd_create F

>  GLIBC_2.16 timerfd_gettime F

>  GLIBC_2.16 timerfd_settime F

> @@ -2548,6 +2549,7 @@ GLIBC_2.34 thrd_exit F

>  GLIBC_2.34 thrd_join F

>  GLIBC_2.34 timer_create F

>  GLIBC_2.34 timer_delete F

> +GLIBC_2.34 timer_getoverrun F

>  GLIBC_2.34 timespec_getres F

>  GLIBC_2.34 tss_create F

>  GLIBC_2.34 tss_delete F

> diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist

> index 4b3e816fdd..0b969910ba 100644

> --- a/sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist

> +++ b/sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist

> @@ -1,3 +1,2 @@

> -GLIBC_2.16 timer_getoverrun F

>  GLIBC_2.16 timer_gettime F

>  GLIBC_2.16 timer_settime F

> 


Ok.

Patch

diff --git a/rt/Makefile b/rt/Makefile
index d2ff0221c7..1eadb94ea8 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
 GLIBC_2.17 timer_create F
 GLIBC_2.17 timer_delete F
+GLIBC_2.17 timer_getoverrun F
 GLIBC_2.17 timerfd_create F
 GLIBC_2.17 timerfd_gettime F
 GLIBC_2.17 timerfd_settime F
@@ -2533,6 +2534,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/aarch64/librt.abilist b/sysdeps/unix/sysv/linux/aarch64/librt.abilist
index 34768d1472..493768f440 100644
--- a/sysdeps/unix/sysv/linux/aarch64/librt.abilist
+++ b/sysdeps/unix/sysv/linux/aarch64/librt.abilist
@@ -1,3 +1,2 @@ 
-GLIBC_2.17 timer_getoverrun F
 GLIBC_2.17 timer_gettime F
 GLIBC_2.17 timer_settime F
diff --git a/sysdeps/unix/sysv/linux/alpha/Versions b/sysdeps/unix/sysv/linux/alpha/Versions
index d4bd056f64..dd5b365d77 100644
--- a/sysdeps/unix/sysv/linux/alpha/Versions
+++ b/sysdeps/unix/sysv/linux/alpha/Versions
@@ -104,7 +104,7 @@  librt {
   }
   GLIBC_2.3.3 {
     # Changed timer_t.
-    timer_getoverrun; timer_gettime;
+    timer_gettime;
     timer_settime;
   }
 }
diff --git a/sysdeps/unix/sysv/linux/alpha/libc.abilist b/sysdeps/unix/sysv/linux/alpha/libc.abilist
index 985a1deca9..50ab6f3fc1 100644
--- a/sysdeps/unix/sysv/linux/alpha/libc.abilist
+++ b/sysdeps/unix/sysv/linux/alpha/libc.abilist
@@ -2095,6 +2095,7 @@  GLIBC_2.2 swprintf F
 GLIBC_2.2 swscanf F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 ungetwc F
 GLIBC_2.2 vfwprintf F
 GLIBC_2.2 vfwscanf F
@@ -2357,6 +2358,7 @@  GLIBC_2.3.3 sys_sigabbrev D 0x208
 GLIBC_2.3.3 sys_siglist D 0x208
 GLIBC_2.3.3 timer_create F
 GLIBC_2.3.3 timer_delete F
+GLIBC_2.3.3 timer_getoverrun F
 GLIBC_2.3.4 _OtsAddX F
 GLIBC_2.3.4 _OtsConvertFloatTX F
 GLIBC_2.3.4 _OtsConvertFloatXT F
@@ -2629,6 +2631,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/alpha/librt.abilist b/sysdeps/unix/sysv/linux/alpha/librt.abilist
index 3b744cf5a1..34d42d122b 100644
--- a/sysdeps/unix/sysv/linux/alpha/librt.abilist
+++ b/sysdeps/unix/sysv/linux/alpha/librt.abilist
@@ -1,9 +1,7 @@ 
 GLIBC_2.1 __librt_version_placeholder F
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
 GLIBC_2.3 __librt_version_placeholder F
-GLIBC_2.3.3 timer_getoverrun F
 GLIBC_2.3.3 timer_gettime F
 GLIBC_2.3.3 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/alpha/timer_getoverr.c b/sysdeps/unix/sysv/linux/alpha/timer_getoverr.c
deleted file mode 100644
index 22eaff5cda..0000000000
--- a/sysdeps/unix/sysv/linux/alpha/timer_getoverr.c
+++ /dev/null
@@ -1 +0,0 @@ 
-#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>
diff --git a/sysdeps/unix/sysv/linux/arc/libc.abilist b/sysdeps/unix/sysv/linux/arc/libc.abilist
index 22fa42dfc3..aafc056267 100644
--- a/sysdeps/unix/sysv/linux/arc/libc.abilist
+++ b/sysdeps/unix/sysv/linux/arc/libc.abilist
@@ -1942,6 +1942,7 @@  GLIBC_2.32 timegm F
 GLIBC_2.32 timelocal F
 GLIBC_2.32 timer_create F
 GLIBC_2.32 timer_delete F
+GLIBC_2.32 timer_getoverrun F
 GLIBC_2.32 timerfd_create F
 GLIBC_2.32 timerfd_gettime F
 GLIBC_2.32 timerfd_settime F
@@ -2292,6 +2293,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/arc/librt.abilist b/sysdeps/unix/sysv/linux/arc/librt.abilist
index 7bc7c57bf0..14ae3d7c65 100644
--- a/sysdeps/unix/sysv/linux/arc/librt.abilist
+++ b/sysdeps/unix/sysv/linux/arc/librt.abilist
@@ -1,3 +1,2 @@ 
-GLIBC_2.32 timer_getoverrun F
 GLIBC_2.32 timer_gettime F
 GLIBC_2.32 timer_settime F
diff --git a/sysdeps/unix/sysv/linux/arm/be/libc.abilist b/sysdeps/unix/sysv/linux/arm/be/libc.abilist
index c8ff2a0b74..ac73d766ba 100644
--- a/sysdeps/unix/sysv/linux/arm/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/arm/be/libc.abilist
@@ -436,6 +436,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
@@ -2354,6 +2355,7 @@  GLIBC_2.4 timegm F
 GLIBC_2.4 timelocal F
 GLIBC_2.4 timer_create F
 GLIBC_2.4 timer_delete F
+GLIBC_2.4 timer_getoverrun F
 GLIBC_2.4 times F
 GLIBC_2.4 timezone D 0x4
 GLIBC_2.4 tmpfile F
diff --git a/sysdeps/unix/sysv/linux/arm/be/librt.abilist b/sysdeps/unix/sysv/linux/arm/be/librt.abilist
index 0887259367..78152d8fa3 100644
--- a/sysdeps/unix/sysv/linux/arm/be/librt.abilist
+++ b/sysdeps/unix/sysv/linux/arm/be/librt.abilist
@@ -1,6 +1,5 @@ 
 GLIBC_2.34 __timer_gettime64 F
 GLIBC_2.34 __timer_settime64 F
-GLIBC_2.4 timer_getoverrun F
 GLIBC_2.4 timer_gettime F
 GLIBC_2.4 timer_settime F
 GLIBC_2.7 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/arm/le/libc.abilist b/sysdeps/unix/sysv/linux/arm/le/libc.abilist
index b237b78f85..96ad967292 100644
--- a/sysdeps/unix/sysv/linux/arm/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/arm/le/libc.abilist
@@ -433,6 +433,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
@@ -2351,6 +2352,7 @@  GLIBC_2.4 timegm F
 GLIBC_2.4 timelocal F
 GLIBC_2.4 timer_create F
 GLIBC_2.4 timer_delete F
+GLIBC_2.4 timer_getoverrun F
 GLIBC_2.4 times F
 GLIBC_2.4 timezone D 0x4
 GLIBC_2.4 tmpfile F
diff --git a/sysdeps/unix/sysv/linux/arm/le/librt.abilist b/sysdeps/unix/sysv/linux/arm/le/librt.abilist
index 0887259367..78152d8fa3 100644
--- a/sysdeps/unix/sysv/linux/arm/le/librt.abilist
+++ b/sysdeps/unix/sysv/linux/arm/le/librt.abilist
@@ -1,6 +1,5 @@ 
 GLIBC_2.34 __timer_gettime64 F
 GLIBC_2.34 __timer_settime64 F
-GLIBC_2.4 timer_getoverrun F
 GLIBC_2.4 timer_gettime F
 GLIBC_2.4 timer_settime F
 GLIBC_2.7 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/csky/libc.abilist b/sysdeps/unix/sysv/linux/csky/libc.abilist
index c1b6927cea..980ac9c497 100644
--- a/sysdeps/unix/sysv/linux/csky/libc.abilist
+++ b/sysdeps/unix/sysv/linux/csky/libc.abilist
@@ -2032,6 +2032,7 @@  GLIBC_2.29 timegm F
 GLIBC_2.29 timelocal F
 GLIBC_2.29 timer_create F
 GLIBC_2.29 timer_delete F
+GLIBC_2.29 timer_getoverrun F
 GLIBC_2.29 timerfd_create F
 GLIBC_2.29 timerfd_gettime F
 GLIBC_2.29 timerfd_settime F
@@ -2555,6 +2556,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/csky/librt.abilist b/sysdeps/unix/sysv/linux/csky/librt.abilist
index 3d7c839b9b..9f89eb4e8b 100644
--- a/sysdeps/unix/sysv/linux/csky/librt.abilist
+++ b/sysdeps/unix/sysv/linux/csky/librt.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.29 timer_getoverrun F
 GLIBC_2.29 timer_gettime F
 GLIBC_2.29 timer_settime F
 GLIBC_2.34 __timer_gettime64 F
diff --git a/sysdeps/unix/sysv/linux/hppa/libc.abilist b/sysdeps/unix/sysv/linux/hppa/libc.abilist
index c5021c8109..0e6e1444d6 100644
--- a/sysdeps/unix/sysv/linux/hppa/libc.abilist
+++ b/sysdeps/unix/sysv/linux/hppa/libc.abilist
@@ -1746,6 +1746,7 @@  GLIBC_2.2 timegm F
 GLIBC_2.2 timelocal F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 times F
 GLIBC_2.2 timezone D 0x4
 GLIBC_2.2 tmpfile F
@@ -2508,6 +2509,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/hppa/librt.abilist b/sysdeps/unix/sysv/linux/hppa/librt.abilist
index 1268c7fc38..f04b1e7978 100644
--- a/sysdeps/unix/sysv/linux/hppa/librt.abilist
+++ b/sysdeps/unix/sysv/linux/hppa/librt.abilist
@@ -1,5 +1,4 @@ 
 GLIBC_2.1 __librt_version_placeholder F
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/i386/libc.abilist b/sysdeps/unix/sysv/linux/i386/libc.abilist
index 8055ea6984..d8693b0c7b 100644
--- a/sysdeps/unix/sysv/linux/i386/libc.abilist
+++ b/sysdeps/unix/sysv/linux/i386/libc.abilist
@@ -2108,6 +2108,7 @@  GLIBC_2.2 swprintf F
 GLIBC_2.2 swscanf F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 ungetwc F
 GLIBC_2.2 versionsort64 F
 GLIBC_2.2 vfwprintf F
@@ -2692,6 +2693,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/i386/librt.abilist b/sysdeps/unix/sysv/linux/i386/librt.abilist
index 1268c7fc38..f04b1e7978 100644
--- a/sysdeps/unix/sysv/linux/i386/librt.abilist
+++ b/sysdeps/unix/sysv/linux/i386/librt.abilist
@@ -1,5 +1,4 @@ 
 GLIBC_2.1 __librt_version_placeholder F
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/ia64/Versions b/sysdeps/unix/sysv/linux/ia64/Versions
index 29b0d98cc6..1d09fca7e3 100644
--- a/sysdeps/unix/sysv/linux/ia64/Versions
+++ b/sysdeps/unix/sysv/linux/ia64/Versions
@@ -30,7 +30,7 @@  libc {
 librt {
   GLIBC_2.3.3 {
     # Changed timer_t.
-    timer_getoverrun; timer_gettime;
+    timer_gettime;
     timer_settime;
   }
 }
diff --git a/sysdeps/unix/sysv/linux/ia64/libc.abilist b/sysdeps/unix/sysv/linux/ia64/libc.abilist
index 4cf1da5b62..984b58be61 100644
--- a/sysdeps/unix/sysv/linux/ia64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/ia64/libc.abilist
@@ -1767,6 +1767,7 @@  GLIBC_2.2 timegm F
 GLIBC_2.2 timelocal F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 times F
 GLIBC_2.2 timezone D 0x8
 GLIBC_2.2 tmpfile F
@@ -2222,6 +2223,7 @@  GLIBC_2.3.3 sys_sigabbrev D 0x208
 GLIBC_2.3.3 sys_siglist D 0x208
 GLIBC_2.3.3 timer_create F
 GLIBC_2.3.3 timer_delete F
+GLIBC_2.3.3 timer_getoverrun F
 GLIBC_2.3.4 __chk_fail F
 GLIBC_2.3.4 __fprintf_chk F
 GLIBC_2.3.4 __gets_chk F
@@ -2467,6 +2469,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/ia64/librt.abilist b/sysdeps/unix/sysv/linux/ia64/librt.abilist
index 74a4971070..c56040a5f9 100644
--- a/sysdeps/unix/sysv/linux/ia64/librt.abilist
+++ b/sysdeps/unix/sysv/linux/ia64/librt.abilist
@@ -1,8 +1,6 @@ 
 GLIBC_2.1 __librt_version_placeholder F
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
-GLIBC_2.3.3 timer_getoverrun F
 GLIBC_2.3.3 timer_gettime F
 GLIBC_2.3.3 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/ia64/timer_getoverr.c b/sysdeps/unix/sysv/linux/ia64/timer_getoverr.c
deleted file mode 100644
index 22eaff5cda..0000000000
--- a/sysdeps/unix/sysv/linux/ia64/timer_getoverr.c
+++ /dev/null
@@ -1 +0,0 @@ 
-#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>
diff --git a/sysdeps/unix/sysv/linux/kernel-posix-timers.h b/sysdeps/unix/sysv/linux/kernel-posix-timers.h
index 99a2937458..a976b028e0 100644
--- a/sysdeps/unix/sysv/linux/kernel-posix-timers.h
+++ b/sysdeps/unix/sysv/linux/kernel-posix-timers.h
@@ -52,6 +52,8 @@  extern __typeof (timer_create) __timer_create;
 libc_hidden_proto (__timer_create)
 extern __typeof (timer_delete) __timer_delete;
 libc_hidden_proto (__timer_delete)
+extern __typeof (timer_getoverrun) __timer_getoverrun;
+libc_hidden_proto (__timer_getoverrun)
 
 /* Type of timers in the kernel.  */
 typedef int kernel_timer_t;
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
index e7c0a81f37..a8d6ad9a4f 100644
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
@@ -437,6 +437,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
@@ -2334,6 +2335,7 @@  GLIBC_2.4 timegm F
 GLIBC_2.4 timelocal F
 GLIBC_2.4 timer_create F
 GLIBC_2.4 timer_delete F
+GLIBC_2.4 timer_getoverrun F
 GLIBC_2.4 times F
 GLIBC_2.4 timezone D 0x4
 GLIBC_2.4 tmpfile F
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
index 0887259367..78152d8fa3 100644
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
@@ -1,6 +1,5 @@ 
 GLIBC_2.34 __timer_gettime64 F
 GLIBC_2.34 __timer_settime64 F
-GLIBC_2.4 timer_getoverrun F
 GLIBC_2.4 timer_gettime F
 GLIBC_2.4 timer_settime F
 GLIBC_2.7 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
index b82f6366ee..62590726a8 100644
--- a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
@@ -2064,6 +2064,7 @@  GLIBC_2.2 swprintf F
 GLIBC_2.2 swscanf F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 ungetwc F
 GLIBC_2.2 versionsort64 F
 GLIBC_2.2 vfwprintf F
@@ -2635,6 +2636,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
index 1268c7fc38..f04b1e7978 100644
--- a/sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
@@ -1,5 +1,4 @@ 
 GLIBC_2.1 __librt_version_placeholder F
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist
index 3f9dfa7664..3fd1621454 100644
--- a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist
@@ -2012,6 +2012,7 @@  GLIBC_2.18 timegm F
 GLIBC_2.18 timelocal F
 GLIBC_2.18 timer_create F
 GLIBC_2.18 timer_delete F
+GLIBC_2.18 timer_getoverrun F
 GLIBC_2.18 timerfd_create F
 GLIBC_2.18 timerfd_gettime F
 GLIBC_2.18 timerfd_settime F
@@ -2606,6 +2607,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist b/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
index 2efee3a326..f308a63244 100644
--- a/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.18 timer_getoverrun F
 GLIBC_2.18 timer_gettime F
 GLIBC_2.18 timer_settime F
 GLIBC_2.34 __timer_gettime64 F
diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
index bb2fd6251f..2b839a784d 100644
--- a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
@@ -2012,6 +2012,7 @@  GLIBC_2.18 timegm F
 GLIBC_2.18 timelocal F
 GLIBC_2.18 timer_create F
 GLIBC_2.18 timer_delete F
+GLIBC_2.18 timer_getoverrun F
 GLIBC_2.18 timerfd_create F
 GLIBC_2.18 timerfd_gettime F
 GLIBC_2.18 timerfd_settime F
@@ -2603,6 +2604,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/microblaze/le/librt.abilist b/sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
index 2efee3a326..f308a63244 100644
--- a/sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.18 timer_getoverrun F
 GLIBC_2.18 timer_gettime F
 GLIBC_2.18 timer_settime F
 GLIBC_2.34 __timer_gettime64 F
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
index 938142fb4a..ac623acbd3 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
@@ -1995,6 +1995,7 @@  GLIBC_2.2 tcgetsid F
 GLIBC_2.2 tdestroy F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 tmpfile F
 GLIBC_2.2 tmpfile64 F
 GLIBC_2.2 truncate64 F
@@ -2600,6 +2601,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist b/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
index dbc81ebe4b..af07e28f55 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
index d62382883b..776b30b48a 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
@@ -1993,6 +1993,7 @@  GLIBC_2.2 tcgetsid F
 GLIBC_2.2 tdestroy F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 tmpfile F
 GLIBC_2.2 tmpfile64 F
 GLIBC_2.2 truncate64 F
@@ -2598,6 +2599,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
index 28a8a5d294..1ffaa8e684 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
@@ -1991,6 +1991,7 @@  GLIBC_2.2 tcgetsid F
 GLIBC_2.2 tdestroy F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 tmpfile F
 GLIBC_2.2 tmpfile64 F
 GLIBC_2.2 truncate64 F
@@ -2606,6 +2607,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist
index dbc81ebe4b..af07e28f55 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/librt.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
index 6748f9beef..b0c5d0a636 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
@@ -1987,6 +1987,7 @@  GLIBC_2.2 tcgetsid F
 GLIBC_2.2 tdestroy F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 tmpfile F
 GLIBC_2.2 tmpfile64 F
 GLIBC_2.2 truncate64 F
@@ -2521,6 +2522,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist
index 00fd77bbab..a92565949e 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/librt.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/nios2/libc.abilist b/sysdeps/unix/sysv/linux/nios2/libc.abilist
index 03d13e5ee1..77778d11f3 100644
--- a/sysdeps/unix/sysv/linux/nios2/libc.abilist
+++ b/sysdeps/unix/sysv/linux/nios2/libc.abilist
@@ -2054,6 +2054,7 @@  GLIBC_2.21 timegm F
 GLIBC_2.21 timelocal F
 GLIBC_2.21 timer_create F
 GLIBC_2.21 timer_delete F
+GLIBC_2.21 timer_getoverrun F
 GLIBC_2.21 timerfd_create F
 GLIBC_2.21 timerfd_gettime F
 GLIBC_2.21 timerfd_settime F
@@ -2645,6 +2646,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/nios2/librt.abilist b/sysdeps/unix/sysv/linux/nios2/librt.abilist
index a83ae32d03..8ab5ece2b0 100644
--- a/sysdeps/unix/sysv/linux/nios2/librt.abilist
+++ b/sysdeps/unix/sysv/linux/nios2/librt.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.21 timer_getoverrun F
 GLIBC_2.21 timer_gettime F
 GLIBC_2.21 timer_settime F
 GLIBC_2.34 __timer_gettime64 F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
index c9a45ecb17..5562012575 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
@@ -2069,6 +2069,7 @@  GLIBC_2.2 swprintf F
 GLIBC_2.2 swscanf F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 ungetwc F
 GLIBC_2.2 vfwprintf F
 GLIBC_2.2 vfwscanf F
@@ -2662,6 +2663,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
index 1268c7fc38..f04b1e7978 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
@@ -1,5 +1,4 @@ 
 GLIBC_2.1 __librt_version_placeholder F
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
index c7fbc347a1..f0adf7b58b 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
@@ -2073,6 +2073,7 @@  GLIBC_2.2 swprintf F
 GLIBC_2.2 swscanf F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 ungetwc F
 GLIBC_2.2 vfwprintf F
 GLIBC_2.2 vfwscanf F
@@ -2695,6 +2696,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
index 4eb22c11ac..a69927d41d 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
@@ -29,7 +29,7 @@  libc {
 librt {
   GLIBC_2.3.3 {
     # Changed timer_t.
-    timer_getoverrun; timer_gettime;
+    timer_gettime;
     timer_settime;
   }
 }
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
index fb5eb9c67e..e74ecec60f 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
@@ -1888,6 +1888,7 @@  GLIBC_2.3 timegm F
 GLIBC_2.3 timelocal F
 GLIBC_2.3 timer_create F
 GLIBC_2.3 timer_delete F
+GLIBC_2.3 timer_getoverrun F
 GLIBC_2.3 times F
 GLIBC_2.3 timezone D 0x8
 GLIBC_2.3 tmpfile F
@@ -2166,6 +2167,7 @@  GLIBC_2.3.3 sys_sigabbrev D 0x208
 GLIBC_2.3.3 sys_siglist D 0x208
 GLIBC_2.3.3 timer_create F
 GLIBC_2.3.3 timer_delete F
+GLIBC_2.3.3 timer_getoverrun F
 GLIBC_2.3.4 __chk_fail F
 GLIBC_2.3.4 __fprintf_chk F
 GLIBC_2.3.4 __gets_chk F
@@ -2431,6 +2433,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
index 914203b043..dd8b2ad6ef 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
@@ -1,7 +1,5 @@ 
-GLIBC_2.3 timer_getoverrun F
 GLIBC_2.3 timer_gettime F
 GLIBC_2.3 timer_settime F
-GLIBC_2.3.3 timer_getoverrun F
 GLIBC_2.3.3 timer_gettime F
 GLIBC_2.3.3 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
index b89256aba0..2a0c06b881 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
@@ -2096,6 +2096,7 @@  GLIBC_2.17 timegm F
 GLIBC_2.17 timelocal F
 GLIBC_2.17 timer_create F
 GLIBC_2.17 timer_delete F
+GLIBC_2.17 timer_getoverrun F
 GLIBC_2.17 timerfd_create F
 GLIBC_2.17 timerfd_gettime F
 GLIBC_2.17 timerfd_settime F
@@ -2729,6 +2730,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist
index 34768d1472..493768f440 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/librt.abilist
@@ -1,3 +1,2 @@ 
-GLIBC_2.17 timer_getoverrun F
 GLIBC_2.17 timer_gettime F
 GLIBC_2.17 timer_settime F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c
deleted file mode 100644
index 22eaff5cda..0000000000
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c
+++ /dev/null
@@ -1 +0,0 @@ 
-#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist
index c653f52373..3e0e33bbb3 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist
@@ -1952,6 +1952,7 @@  GLIBC_2.33 timegm F
 GLIBC_2.33 timelocal F
 GLIBC_2.33 timer_create F
 GLIBC_2.33 timer_delete F
+GLIBC_2.33 timer_getoverrun F
 GLIBC_2.33 timerfd_create F
 GLIBC_2.33 timerfd_gettime F
 GLIBC_2.33 timerfd_settime F
@@ -2294,6 +2295,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/librt.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/librt.abilist
index 09bbee0960..de338094e1 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv32/librt.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv32/librt.abilist
@@ -1,3 +1,2 @@ 
-GLIBC_2.33 timer_getoverrun F
 GLIBC_2.33 timer_gettime F
 GLIBC_2.33 timer_settime F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist
index 711484eee5..1092e5a170 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist
@@ -2018,6 +2018,7 @@  GLIBC_2.27 timegm F
 GLIBC_2.27 timelocal F
 GLIBC_2.27 timer_create F
 GLIBC_2.27 timer_delete F
+GLIBC_2.27 timer_getoverrun F
 GLIBC_2.27 timerfd_create F
 GLIBC_2.27 timerfd_gettime F
 GLIBC_2.27 timerfd_settime F
@@ -2494,6 +2495,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist
index 8e1d8b21fe..624ab969d8 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist
@@ -1,3 +1,2 @@ 
-GLIBC_2.27 timer_getoverrun F
 GLIBC_2.27 timer_gettime F
 GLIBC_2.27 timer_settime F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
index 4040312275..710cafe7c0 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
@@ -2067,6 +2067,7 @@  GLIBC_2.2 swprintf F
 GLIBC_2.2 swscanf F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 ungetwc F
 GLIBC_2.2 versionsort64 F
 GLIBC_2.2 vfwprintf F
@@ -2660,6 +2661,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
index 1268c7fc38..f04b1e7978 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
@@ -1,5 +1,4 @@ 
 GLIBC_2.1 __librt_version_placeholder F
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/Versions b/sysdeps/unix/sysv/linux/s390/s390-64/Versions
index 5989ac75a9..e7f968fcdf 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/Versions
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/Versions
@@ -9,7 +9,7 @@  libc {
 librt {
   GLIBC_2.3.3 {
     # Changed timer_t.
-    timer_getoverrun; timer_gettime;
+    timer_gettime;
     timer_settime;
   }
 }
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
index 4cf6a5ea09..6b2c7e7d68 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
@@ -1763,6 +1763,7 @@  GLIBC_2.2 timegm F
 GLIBC_2.2 timelocal F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 times F
 GLIBC_2.2 timezone D 0x8
 GLIBC_2.2 tmpfile F
@@ -2212,6 +2213,7 @@  GLIBC_2.3.3 sys_sigabbrev D 0x208
 GLIBC_2.3.3 sys_siglist D 0x208
 GLIBC_2.3.3 timer_create F
 GLIBC_2.3.3 timer_delete F
+GLIBC_2.3.3 timer_getoverrun F
 GLIBC_2.3.4 __chk_fail F
 GLIBC_2.3.4 __fprintf_chk F
 GLIBC_2.3.4 __gets_chk F
@@ -2468,6 +2470,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
index 34e8d31133..35dc39d27d 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
@@ -1,7 +1,5 @@ 
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
-GLIBC_2.3.3 timer_getoverrun F
 GLIBC_2.3.3 timer_gettime F
 GLIBC_2.3.3 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c b/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c
deleted file mode 100644
index 22eaff5cda..0000000000
--- a/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c
+++ /dev/null
@@ -1 +0,0 @@ 
-#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>
diff --git a/sysdeps/unix/sysv/linux/sh/be/libc.abilist b/sysdeps/unix/sysv/linux/sh/be/libc.abilist
index 6fd93a5445..51a493aadb 100644
--- a/sysdeps/unix/sysv/linux/sh/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sh/be/libc.abilist
@@ -1750,6 +1750,7 @@  GLIBC_2.2 timegm F
 GLIBC_2.2 timelocal F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 times F
 GLIBC_2.2 timezone D 0x4
 GLIBC_2.2 tmpfile F
@@ -2515,6 +2516,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/sh/be/librt.abilist b/sysdeps/unix/sysv/linux/sh/be/librt.abilist
index 1268c7fc38..f04b1e7978 100644
--- a/sysdeps/unix/sysv/linux/sh/be/librt.abilist
+++ b/sysdeps/unix/sysv/linux/sh/be/librt.abilist
@@ -1,5 +1,4 @@ 
 GLIBC_2.1 __librt_version_placeholder F
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/sh/le/libc.abilist b/sysdeps/unix/sysv/linux/sh/le/libc.abilist
index c5c41bf0e6..cb37ba55cb 100644
--- a/sysdeps/unix/sysv/linux/sh/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sh/le/libc.abilist
@@ -1750,6 +1750,7 @@  GLIBC_2.2 timegm F
 GLIBC_2.2 timelocal F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 times F
 GLIBC_2.2 timezone D 0x4
 GLIBC_2.2 tmpfile F
@@ -2512,6 +2513,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/sh/le/librt.abilist b/sysdeps/unix/sysv/linux/sh/le/librt.abilist
index 1268c7fc38..f04b1e7978 100644
--- a/sysdeps/unix/sysv/linux/sh/le/librt.abilist
+++ b/sysdeps/unix/sysv/linux/sh/le/librt.abilist
@@ -1,5 +1,4 @@ 
 GLIBC_2.1 __librt_version_placeholder F
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
index 132470d40b..05b4e88794 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
@@ -2062,6 +2062,7 @@  GLIBC_2.2 swprintf F
 GLIBC_2.2 swscanf F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 ungetwc F
 GLIBC_2.2 vfwprintf F
 GLIBC_2.2 vfwscanf F
@@ -2655,6 +2656,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
index d8ff3b0988..0de56c2c15 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
@@ -1,5 +1,4 @@ 
 GLIBC_2.1 __librt_version_placeholder F
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
 GLIBC_2.3 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/Versions b/sysdeps/unix/sysv/linux/sparc/sparc64/Versions
index 358081399a..d04738fafc 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/Versions
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/Versions
@@ -14,7 +14,7 @@  libc {
 librt {
   GLIBC_2.3.3 {
     # Changed timer_t.
-    timer_getoverrun; timer_gettime;
+    timer_gettime;
     timer_settime;
   }
 }
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
index 6ee552611b..72591794e8 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
@@ -1793,6 +1793,7 @@  GLIBC_2.2 timegm F
 GLIBC_2.2 timelocal F
 GLIBC_2.2 timer_create F
 GLIBC_2.2 timer_delete F
+GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 times F
 GLIBC_2.2 timezone D 0x8
 GLIBC_2.2 tmpfile F
@@ -2246,6 +2247,7 @@  GLIBC_2.3.3 sys_sigabbrev D 0x208
 GLIBC_2.3.3 sys_siglist D 0x208
 GLIBC_2.3.3 timer_create F
 GLIBC_2.3.3 timer_delete F
+GLIBC_2.3.3 timer_getoverrun F
 GLIBC_2.3.4 __chk_fail F
 GLIBC_2.3.4 __fprintf_chk F
 GLIBC_2.3.4 __gets_chk F
@@ -2490,6 +2492,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
index 3b744cf5a1..34d42d122b 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
@@ -1,9 +1,7 @@ 
 GLIBC_2.1 __librt_version_placeholder F
-GLIBC_2.2 timer_getoverrun F
 GLIBC_2.2 timer_gettime F
 GLIBC_2.2 timer_settime F
 GLIBC_2.3 __librt_version_placeholder F
-GLIBC_2.3.3 timer_getoverrun F
 GLIBC_2.3.3 timer_gettime F
 GLIBC_2.3.3 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c b/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c
deleted file mode 100644
index 22eaff5cda..0000000000
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c
+++ /dev/null
@@ -1 +0,0 @@ 
-#include <sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c>
diff --git a/sysdeps/unix/sysv/linux/timer_getoverr.c b/sysdeps/unix/sysv/linux/timer_getoverr.c
index b997290768..accec3757d 100644
--- a/sysdeps/unix/sysv/linux/timer_getoverr.c
+++ b/sysdeps/unix/sysv/linux/timer_getoverr.c
@@ -20,17 +20,33 @@ 
 #include <time.h>
 #include <sysdep.h>
 #include <kernel-posix-timers.h>
-
-
-#ifdef timer_getoverrun_alias
-# define timer_getoverrun timer_getoverrun_alias
-#endif
-
+#include <shlib-compat.h>
 
 int
-timer_getoverrun (timer_t timerid)
+___timer_getoverrun (timer_t timerid)
 {
-#undef timer_getoverrun
   kernel_timer_t ktimerid = timerid_to_kernel_timer (timerid);
   return INLINE_SYSCALL_CALL (timer_getoverrun, ktimerid);
 }
+versioned_symbol (libc, ___timer_getoverrun, timer_getoverrun, GLIBC_2_34);
+libc_hidden_ver (___timer_getoverrun, __timer_getoverrun)
+
+#if TIMER_T_WAS_INT_COMPAT
+# if OTHER_SHLIB_COMPAT (librt, GLIBC_2_3_3, GLIBC_2_34)
+compat_symbol (librt, ___timer_getoverrun, timer_getoverrun, GLIBC_2_3_3);
+# endif
+
+# if OTHER_SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_3_3)
+int
+__timer_getoverrun_old (int timerid)
+{
+  return __timer_getoverrun (__timer_compat_list[timerid]);
+}
+compat_symbol (librt, __timer_getoverrun_old, timer_getoverrun, GLIBC_2_2);
+# endif /* OTHER_SHLIB_COMPAT */
+
+#else /* !TIMER_T_WAS_INT_COMPAT */
+# if OTHER_SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_34)
+compat_symbol (librt, ___timer_getoverrun, timer_getoverrun, GLIBC_2_2);
+# endif
+#endif /* !TIMER_T_WAS_INT_COMPAT */
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
index 377d35a04f..92f4369765 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
@@ -1762,6 +1762,7 @@  GLIBC_2.2.5 timegm F
 GLIBC_2.2.5 timelocal F
 GLIBC_2.2.5 timer_create F
 GLIBC_2.2.5 timer_delete F
+GLIBC_2.2.5 timer_getoverrun F
 GLIBC_2.2.5 times F
 GLIBC_2.2.5 timezone D 0x8
 GLIBC_2.2.5 tmpfile F
@@ -2200,6 +2201,7 @@  GLIBC_2.3.3 sys_sigabbrev D 0x208
 GLIBC_2.3.3 sys_siglist D 0x208
 GLIBC_2.3.3 timer_create F
 GLIBC_2.3.3 timer_delete F
+GLIBC_2.3.3 timer_getoverrun F
 GLIBC_2.3.4 __chk_fail F
 GLIBC_2.3.4 __fprintf_chk F
 GLIBC_2.3.4 __gets_chk F
@@ -2446,6 +2448,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/librt.abilist b/sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
index 13a2bf2022..379fa6930c 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
@@ -1,7 +1,5 @@ 
-GLIBC_2.2.5 timer_getoverrun F
 GLIBC_2.2.5 timer_gettime F
 GLIBC_2.2.5 timer_settime F
-GLIBC_2.3.3 timer_getoverrun F
 GLIBC_2.3.3 timer_gettime F
 GLIBC_2.3.3 timer_settime F
 GLIBC_2.3.4 __librt_version_placeholder F
diff --git a/sysdeps/unix/sysv/linux/x86_64/Versions b/sysdeps/unix/sysv/linux/x86_64/Versions
index c4d1c5fb79..a97b6c7413 100644
--- a/sysdeps/unix/sysv/linux/x86_64/Versions
+++ b/sysdeps/unix/sysv/linux/x86_64/Versions
@@ -11,7 +11,7 @@  libc {
 librt {
   GLIBC_2.3.3 {
     # Changed timer_t.
-    timer_getoverrun; timer_gettime;
+    timer_gettime;
     timer_settime;
   }
 }
diff --git a/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c b/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c
deleted file mode 100644
index fb6e631a00..0000000000
--- a/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c
+++ /dev/null
@@ -1,38 +0,0 @@ 
-/* Copyright (C) 2003-2021 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
-   Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
-
-   The GNU C Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public License as
-   published by the Free Software Foundation; either version 2.1 of the
-   License, or (at your option) any later version.
-
-   The GNU C Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; see the file COPYING.LIB.  If
-   not, see <https://www.gnu.org/licenses/>.  */
-
-#include <shlib-compat.h>
-#include "compat-timer.h"
-
-
-#define timer_getoverrun_alias __timer_getoverrun_new
-#include <sysdeps/unix/sysv/linux/timer_getoverr.c>
-
-#undef timer_getoverrun
-versioned_symbol (librt, __timer_getoverrun_new, timer_getoverrun,
-		  GLIBC_2_3_3);
-
-
-#if SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_3_3)
-int
-__timer_getoverrun_old (int timerid)
-{
-  return __timer_getoverrun_new (__timer_compat_list[timerid]);
-}
-compat_symbol (librt, __timer_getoverrun_old, timer_getoverrun, GLIBC_2_2);
-#endif
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist
index 620f35836c..25b177fda0 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist
@@ -2013,6 +2013,7 @@  GLIBC_2.16 timegm F
 GLIBC_2.16 timelocal F
 GLIBC_2.16 timer_create F
 GLIBC_2.16 timer_delete F
+GLIBC_2.16 timer_getoverrun F
 GLIBC_2.16 timerfd_create F
 GLIBC_2.16 timerfd_gettime F
 GLIBC_2.16 timerfd_settime F
@@ -2548,6 +2549,7 @@  GLIBC_2.34 thrd_exit F
 GLIBC_2.34 thrd_join F
 GLIBC_2.34 timer_create F
 GLIBC_2.34 timer_delete F
+GLIBC_2.34 timer_getoverrun F
 GLIBC_2.34 timespec_getres F
 GLIBC_2.34 tss_create F
 GLIBC_2.34 tss_delete F
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist
index 4b3e816fdd..0b969910ba 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist
@@ -1,3 +1,2 @@ 
-GLIBC_2.16 timer_getoverrun F
 GLIBC_2.16 timer_gettime F
 GLIBC_2.16 timer_settime F