[07/16] dlfcn: Move dladdr into libc

Message ID 051e23bb0fe1d0df7e5805c42728e4e1758aff05.1622469908.git.fweimer@redhat.com
State New
Headers show
Series
  • Move libdl into libc
Related show

Commit Message

Carlos O'Donell via Libc-alpha May 31, 2021, 2:11 p.m.
The symbol was moved using scripts/move-symbol-to-libc.py.
---
 dlfcn/Makefile                                |  3 ++-
 dlfcn/Versions                                |  4 +++-
 dlfcn/dladdr.c                                | 22 ++++++-------------
 dlfcn/sdladdr.c                               |  1 -
 include/dlfcn.h                               |  3 +--
 sysdeps/mach/hurd/i386/libc.abilist           |  2 ++
 sysdeps/mach/hurd/i386/libdl.abilist          |  1 -
 sysdeps/unix/sysv/linux/aarch64/libc.abilist  |  2 ++
 sysdeps/unix/sysv/linux/aarch64/libdl.abilist |  1 -
 sysdeps/unix/sysv/linux/alpha/libc.abilist    |  2 ++
 sysdeps/unix/sysv/linux/alpha/libdl.abilist   |  1 -
 sysdeps/unix/sysv/linux/arc/libc.abilist      |  2 ++
 sysdeps/unix/sysv/linux/arc/libdl.abilist     |  1 -
 sysdeps/unix/sysv/linux/arm/be/libc.abilist   |  2 ++
 sysdeps/unix/sysv/linux/arm/be/libdl.abilist  |  1 -
 sysdeps/unix/sysv/linux/arm/le/libc.abilist   |  2 ++
 sysdeps/unix/sysv/linux/arm/le/libdl.abilist  |  1 -
 sysdeps/unix/sysv/linux/csky/libc.abilist     |  2 ++
 sysdeps/unix/sysv/linux/csky/libdl.abilist    |  1 -
 sysdeps/unix/sysv/linux/hppa/libc.abilist     |  2 ++
 sysdeps/unix/sysv/linux/hppa/libdl.abilist    |  1 -
 sysdeps/unix/sysv/linux/i386/libc.abilist     |  2 ++
 sysdeps/unix/sysv/linux/i386/libdl.abilist    |  1 -
 sysdeps/unix/sysv/linux/ia64/libc.abilist     |  2 ++
 sysdeps/unix/sysv/linux/ia64/libdl.abilist    |  1 -
 .../sysv/linux/m68k/coldfire/libc.abilist     |  2 ++
 .../sysv/linux/m68k/coldfire/libdl.abilist    |  1 -
 .../unix/sysv/linux/m68k/m680x0/libc.abilist  |  2 ++
 .../unix/sysv/linux/m68k/m680x0/libdl.abilist |  1 -
 .../sysv/linux/microblaze/be/libc.abilist     |  2 ++
 .../sysv/linux/microblaze/be/libdl.abilist    |  1 -
 .../sysv/linux/microblaze/le/libc.abilist     |  2 ++
 .../sysv/linux/microblaze/le/libdl.abilist    |  1 -
 .../sysv/linux/mips/mips32/fpu/libc.abilist   |  2 ++
 .../unix/sysv/linux/mips/mips32/libdl.abilist |  1 -
 .../sysv/linux/mips/mips32/nofpu/libc.abilist |  2 ++
 .../unix/sysv/linux/mips/mips64/libdl.abilist |  1 -
 .../sysv/linux/mips/mips64/n32/libc.abilist   |  2 ++
 .../sysv/linux/mips/mips64/n64/libc.abilist   |  2 ++
 sysdeps/unix/sysv/linux/nios2/libc.abilist    |  2 ++
 sysdeps/unix/sysv/linux/nios2/libdl.abilist   |  1 -
 .../linux/powerpc/powerpc32/fpu/libc.abilist  |  2 ++
 .../linux/powerpc/powerpc32/libdl.abilist     |  1 -
 .../powerpc/powerpc32/nofpu/libc.abilist      |  2 ++
 .../linux/powerpc/powerpc64/be/libc.abilist   |  2 ++
 .../linux/powerpc/powerpc64/be/libdl.abilist  |  1 -
 .../linux/powerpc/powerpc64/le/libc.abilist   |  2 ++
 .../linux/powerpc/powerpc64/le/libdl.abilist  |  1 -
 .../unix/sysv/linux/riscv/rv32/libc.abilist   |  2 ++
 .../unix/sysv/linux/riscv/rv32/libdl.abilist  |  1 -
 .../unix/sysv/linux/riscv/rv64/libc.abilist   |  2 ++
 .../unix/sysv/linux/riscv/rv64/libdl.abilist  |  1 -
 .../unix/sysv/linux/s390/s390-32/libc.abilist |  2 ++
 .../sysv/linux/s390/s390-32/libdl.abilist     |  1 -
 .../unix/sysv/linux/s390/s390-64/libc.abilist |  2 ++
 .../sysv/linux/s390/s390-64/libdl.abilist     |  1 -
 sysdeps/unix/sysv/linux/sh/be/libc.abilist    |  2 ++
 sysdeps/unix/sysv/linux/sh/be/libdl.abilist   |  1 -
 sysdeps/unix/sysv/linux/sh/le/libc.abilist    |  2 ++
 sysdeps/unix/sysv/linux/sh/le/libdl.abilist   |  1 -
 .../sysv/linux/sparc/sparc32/libc.abilist     |  2 ++
 .../sysv/linux/sparc/sparc32/libdl.abilist    |  1 -
 .../sysv/linux/sparc/sparc64/libc.abilist     |  2 ++
 .../sysv/linux/sparc/sparc64/libdl.abilist    |  1 -
 .../unix/sysv/linux/x86_64/64/libc.abilist    |  2 ++
 .../unix/sysv/linux/x86_64/64/libdl.abilist   |  1 -
 .../unix/sysv/linux/x86_64/x32/libc.abilist   |  2 ++
 .../unix/sysv/linux/x86_64/x32/libdl.abilist  |  1 -
 68 files changed, 79 insertions(+), 50 deletions(-)
 delete mode 100644 dlfcn/sdladdr.c

-- 
2.31.1

Comments

Carlos O'Donell via Libc-alpha June 2, 2021, 2:02 p.m. | #1
On 31/05/2021 11:11, Florian Weimer via Libc-alpha wrote:
> The symbol was moved using scripts/move-symbol-to-libc.py.


LGTM, thanks.

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


> ---

>  dlfcn/Makefile                                |  3 ++-

>  dlfcn/Versions                                |  4 +++-

>  dlfcn/dladdr.c                                | 22 ++++++-------------

>  dlfcn/sdladdr.c                               |  1 -

>  include/dlfcn.h                               |  3 +--

>  sysdeps/mach/hurd/i386/libc.abilist           |  2 ++

>  sysdeps/mach/hurd/i386/libdl.abilist          |  1 -

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

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

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

>  sysdeps/unix/sysv/linux/alpha/libdl.abilist   |  1 -

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

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

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

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

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

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

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

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

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

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

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

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

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

>  sysdeps/unix/sysv/linux/ia64/libdl.abilist    |  1 -

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

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

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

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

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

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

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

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

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

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

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

>  .../unix/sysv/linux/mips/mips64/libdl.abilist |  1 -

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

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

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

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

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

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

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

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

>  .../linux/powerpc/powerpc64/be/libdl.abilist  |  1 -

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

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

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

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

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

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

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

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

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

>  .../sysv/linux/s390/s390-64/libdl.abilist     |  1 -

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

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

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

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

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

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

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

>  .../sysv/linux/sparc/sparc64/libdl.abilist    |  1 -

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

>  .../unix/sysv/linux/x86_64/64/libdl.abilist   |  1 -

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

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

>  68 files changed, 79 insertions(+), 50 deletions(-)

>  delete mode 100644 dlfcn/sdladdr.c

> 

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

> index 4bdf524492..f0793468c7 100644

> --- a/dlfcn/Makefile

> +++ b/dlfcn/Makefile

> @@ -21,11 +21,12 @@ include ../Makeconfig

>  

>  headers		:= bits/dlfcn.h dlfcn.h

>  extra-libs	:= libdl

> -libdl-routines	:= dlopen dlsym dlvsym dladdr dladdr1 dlinfo \

> +libdl-routines	:= dlopen dlsym dlvsym dladdr1 dlinfo \

>  		   dlmopen dlfcn

>  routines	:= $(patsubst %,s%,$(filter-out dlfcn,$(libdl-routines)))

>  elide-routines.os := $(routines)

>  routines += \

> +  dladdr \

>    dlclose \

>    dlerror \

>    libc_dlerror_result \


Ok.

> diff --git a/dlfcn/Versions b/dlfcn/Versions

> index e2978c2a1c..89e4a1236a 100644

> --- a/dlfcn/Versions

> +++ b/dlfcn/Versions

> @@ -1,9 +1,11 @@

>  libc {

>    GLIBC_2.0 {

> +    dladdr;

>      dlclose;

>      dlerror;

>    }

>    GLIBC_2.34 {

> +    dladdr;

>      dlclose;

>      dlerror;

>    }

> @@ -15,7 +17,7 @@ libc {

>  }

>  libdl {

>    GLIBC_2.0 {

> -    dladdr; dlopen; dlsym;

> +    dlopen; dlsym;

>    }

>    GLIBC_2.1 {

>      dlopen; dlvsym;


Ok.

> diff --git a/dlfcn/dladdr.c b/dlfcn/dladdr.c

> index 27a6e49cac..3ef1b7f0b6 100644

> --- a/dlfcn/dladdr.c

> +++ b/dlfcn/dladdr.c

> @@ -18,27 +18,19 @@

>  

>  #include <dlfcn.h>

>  #include <ldsodefs.h>

> -

> -#if !defined SHARED && IS_IN (libdl)

> -

> -int

> -dladdr (const void *address, Dl_info *info)

> -{

> -  return __dladdr (address, info);

> -}

> -

> -#else

> +#include <shlib-compat.h>

>  

>  int

>  __dladdr (const void *address, Dl_info *info)

>  {

> -# ifdef SHARED

> +#ifdef SHARED

>    if (!rtld_active ())

>      return _dlfcn_hook->dladdr (address, info);

> -# endif

> +#endif

>    return _dl_addr (address, info, NULL, NULL);

>  }

> -# ifdef SHARED

> -strong_alias (__dladdr, dladdr)

> -# endif

> +versioned_symbol (libc, __dladdr, dladdr, GLIBC_2_34);

> +

> +#if OTHER_SHLIB_COMPAT  (libdl, GLIBC_2_0, GLIBC_2_34)

> +compat_symbol (libdl, __dladdr, dladdr, GLIBC_2_0);

>  #endif


Ok.

> diff --git a/dlfcn/sdladdr.c b/dlfcn/sdladdr.c

> deleted file mode 100644

> index c484d63b29..0000000000

> --- a/dlfcn/sdladdr.c

> +++ /dev/null

> @@ -1 +0,0 @@

> -#include "dladdr.c"


Ok.

> diff --git a/include/dlfcn.h b/include/dlfcn.h

> index 352eb79500..a018144808 100644

> --- a/include/dlfcn.h

> +++ b/include/dlfcn.h

> @@ -140,8 +140,7 @@ extern void *__dlsym (void *handle, const char *name DL_CALLER_DECL)

>  extern void *__dlvsym (void *handle, const char *name, const char *version

>  		       DL_CALLER_DECL)

>       attribute_hidden;

> -extern int __dladdr (const void *address, Dl_info *info)

> -     attribute_hidden;

> +extern int __dladdr (const void *address, Dl_info *info);

>  extern int __dladdr1 (const void *address, Dl_info *info,

>  		      void **extra_info, int flags)

>       attribute_hidden;


Ok.

> diff --git a/sysdeps/mach/hurd/i386/libc.abilist b/sysdeps/mach/hurd/i386/libc.abilist

> index 7e1b9845fc..abf3f3cf7f 100644

> --- a/sysdeps/mach/hurd/i386/libc.abilist

> +++ b/sysdeps/mach/hurd/i386/libc.abilist

> @@ -741,6 +741,7 @@ GLIBC_2.2.6 dirfd F

>  GLIBC_2.2.6 dirname F

>  GLIBC_2.2.6 div F

>  GLIBC_2.2.6 dl_iterate_phdr F

> +GLIBC_2.2.6 dladdr F

>  GLIBC_2.2.6 dlclose F

>  GLIBC_2.2.6 dlerror F

>  GLIBC_2.2.6 dngettext F

> @@ -2209,6 +2210,7 @@ GLIBC_2.33 stat64 F

>  GLIBC_2.34 __isnanf128 F

>  GLIBC_2.34 __libc_start_main F

>  GLIBC_2.34 _hurd_libc_proc_init F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

> diff --git a/sysdeps/mach/hurd/i386/libdl.abilist b/sysdeps/mach/hurd/i386/libdl.abilist

> index d267e7d457..5b9579b3d2 100644

> --- a/sysdeps/mach/hurd/i386/libdl.abilist

> +++ b/sysdeps/mach/hurd/i386/libdl.abilist

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

> -GLIBC_2.2.6 dladdr F

>  GLIBC_2.2.6 dlopen F

>  GLIBC_2.2.6 dlsym F

>  GLIBC_2.2.6 dlvsym F

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

> index 8fdbe6548e..f912cea6a0 100644

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

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

> @@ -718,6 +718,7 @@ GLIBC_2.17 dirfd F

>  GLIBC_2.17 dirname F

>  GLIBC_2.17 div F

>  GLIBC_2.17 dl_iterate_phdr F

> +GLIBC_2.17 dladdr F

>  GLIBC_2.17 dlclose F

>  GLIBC_2.17 dlerror F

>  GLIBC_2.17 dngettext F

> @@ -2344,6 +2345,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index 201e1e7146..731d6a1377 100644

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

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

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

> -GLIBC_2.17 dladdr F

>  GLIBC_2.17 dladdr1 F

>  GLIBC_2.17 dlinfo F

>  GLIBC_2.17 dlmopen F

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

> index c2bae6f242..c0dfb9be95 100644

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

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

> @@ -409,6 +409,7 @@ GLIBC_2.0 difftime F

>  GLIBC_2.0 dirfd F

>  GLIBC_2.0 dirname F

>  GLIBC_2.0 div F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.0 dprintf F

> @@ -2436,6 +2437,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index a975af50ec..25cf9cd21e 100644

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

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

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

> -GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlopen F

>  GLIBC_2.0 dlsym F

>  GLIBC_2.1 dlopen F

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

> index bcc9352407..c2a4c1f9ba 100644

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

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

> @@ -663,6 +663,7 @@ GLIBC_2.32 dirfd F

>  GLIBC_2.32 dirname F

>  GLIBC_2.32 div F

>  GLIBC_2.32 dl_iterate_phdr F

> +GLIBC_2.32 dladdr F

>  GLIBC_2.32 dlclose F

>  GLIBC_2.32 dlerror F

>  GLIBC_2.32 dngettext F

> @@ -2103,6 +2104,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index 7dc68475ea..1c818309f2 100644

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

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

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

> -GLIBC_2.32 dladdr F

>  GLIBC_2.32 dladdr1 F

>  GLIBC_2.32 dlinfo F

>  GLIBC_2.32 dlmopen F

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

> index d883be6028..db80c07019 100644

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

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

> @@ -207,6 +207,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

> @@ -1019,6 +1020,7 @@ GLIBC_2.4 dirfd F

>  GLIBC_2.4 dirname F

>  GLIBC_2.4 div F

>  GLIBC_2.4 dl_iterate_phdr F

> +GLIBC_2.4 dladdr F

>  GLIBC_2.4 dlclose F

>  GLIBC_2.4 dlerror F

>  GLIBC_2.4 dngettext F

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

> index 0ddfa10b3d..69ffaf4edf 100644

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

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

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

> -GLIBC_2.4 dladdr F

>  GLIBC_2.4 dladdr1 F

>  GLIBC_2.4 dlinfo F

>  GLIBC_2.4 dlmopen F

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

> index 4dbb5e3442..3600075a47 100644

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

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

> @@ -204,6 +204,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

> @@ -1016,6 +1017,7 @@ GLIBC_2.4 dirfd F

>  GLIBC_2.4 dirname F

>  GLIBC_2.4 div F

>  GLIBC_2.4 dl_iterate_phdr F

> +GLIBC_2.4 dladdr F

>  GLIBC_2.4 dlclose F

>  GLIBC_2.4 dlerror F

>  GLIBC_2.4 dngettext F

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

> index 0ddfa10b3d..69ffaf4edf 100644

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

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

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

> -GLIBC_2.4 dladdr F

>  GLIBC_2.4 dladdr1 F

>  GLIBC_2.4 dlinfo F

>  GLIBC_2.4 dlmopen F

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

> index 0da7522411..d7beb5db45 100644

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

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

> @@ -699,6 +699,7 @@ GLIBC_2.29 dirfd F

>  GLIBC_2.29 dirname F

>  GLIBC_2.29 div F

>  GLIBC_2.29 dl_iterate_phdr F

> +GLIBC_2.29 dladdr F

>  GLIBC_2.29 dlclose F

>  GLIBC_2.29 dlerror F

>  GLIBC_2.29 dngettext F

> @@ -2287,6 +2288,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index 359b2d6267..2c8047a614 100644

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

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

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

> -GLIBC_2.29 dladdr F

>  GLIBC_2.29 dladdr1 F

>  GLIBC_2.29 dlinfo F

>  GLIBC_2.29 dlmopen F

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

> index 53128aae93..59b0e421a7 100644

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

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

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

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.10 __cxa_at_quick_exit F

> @@ -2240,6 +2241,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index a975af50ec..25cf9cd21e 100644

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

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

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

> -GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlopen F

>  GLIBC_2.0 dlsym F

>  GLIBC_2.1 dlopen F

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

> index 0731f99ab1..e33dd7d91e 100644

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

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

> @@ -395,6 +395,7 @@ GLIBC_2.0 difftime F

>  GLIBC_2.0 dirfd F

>  GLIBC_2.0 dirname F

>  GLIBC_2.0 div F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.0 dprintf F

> @@ -2424,6 +2425,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index a975af50ec..25cf9cd21e 100644

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

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

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

> -GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlopen F

>  GLIBC_2.0 dlsym F

>  GLIBC_2.1 dlopen F

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

> index 87acf0b861..772b686c1d 100644

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

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

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

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.10 __cxa_at_quick_exit F

> @@ -2276,6 +2277,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index a975af50ec..25cf9cd21e 100644

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

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

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

> -GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlopen F

>  GLIBC_2.0 dlsym F

>  GLIBC_2.1 dlopen F

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

> index ed482a6551..6ee063131e 100644

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

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

> @@ -208,6 +208,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

> @@ -1008,6 +1009,7 @@ GLIBC_2.4 dirfd F

>  GLIBC_2.4 dirname F

>  GLIBC_2.4 div F

>  GLIBC_2.4 dl_iterate_phdr F

> +GLIBC_2.4 dladdr F

>  GLIBC_2.4 dlclose F

>  GLIBC_2.4 dlerror F

>  GLIBC_2.4 dngettext F

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

> index 0ddfa10b3d..69ffaf4edf 100644

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

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

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

> -GLIBC_2.4 dladdr F

>  GLIBC_2.4 dladdr1 F

>  GLIBC_2.4 dlinfo F

>  GLIBC_2.4 dlmopen F

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

> index eff3f537f0..9fb78fd4fd 100644

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

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

> @@ -396,6 +396,7 @@ GLIBC_2.0 difftime F

>  GLIBC_2.0 dirfd F

>  GLIBC_2.0 dirname F

>  GLIBC_2.0 div F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.0 dprintf F

> @@ -2367,6 +2368,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index a975af50ec..25cf9cd21e 100644

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

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

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

> -GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlopen F

>  GLIBC_2.0 dlsym F

>  GLIBC_2.1 dlopen F

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

> index aeda8130c1..6ba6e439c5 100644

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

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

> @@ -720,6 +720,7 @@ GLIBC_2.18 dirfd F

>  GLIBC_2.18 dirname F

>  GLIBC_2.18 div F

>  GLIBC_2.18 dl_iterate_phdr F

> +GLIBC_2.18 dladdr F

>  GLIBC_2.18 dlclose F

>  GLIBC_2.18 dlerror F

>  GLIBC_2.18 dngettext F

> @@ -2338,6 +2339,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index 90dcb88bab..721e823b1b 100644

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

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

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

> -GLIBC_2.18 dladdr F

>  GLIBC_2.18 dladdr1 F

>  GLIBC_2.18 dlinfo F

>  GLIBC_2.18 dlmopen F

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

> index cf8583acf8..b3d12892e6 100644

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

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

> @@ -720,6 +720,7 @@ GLIBC_2.18 dirfd F

>  GLIBC_2.18 dirname F

>  GLIBC_2.18 div F

>  GLIBC_2.18 dl_iterate_phdr F

> +GLIBC_2.18 dladdr F

>  GLIBC_2.18 dlclose F

>  GLIBC_2.18 dlerror F

>  GLIBC_2.18 dngettext F

> @@ -2335,6 +2336,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index 90dcb88bab..721e823b1b 100644

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

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

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

> -GLIBC_2.18 dladdr F

>  GLIBC_2.18 dladdr1 F

>  GLIBC_2.18 dlinfo F

>  GLIBC_2.18 dlmopen F

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

> index 72a1879260..43fe36e7d1 100644

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

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

> @@ -394,6 +394,7 @@ GLIBC_2.0 difftime F

>  GLIBC_2.0 dirfd F

>  GLIBC_2.0 dirname F

>  GLIBC_2.0 div F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.0 dprintf F

> @@ -2332,6 +2333,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index c35888c87a..d8aab2a6de 100644

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

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

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

> -GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlopen F

>  GLIBC_2.0 dlsym F

>  GLIBC_2.2 dlopen F

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

> index 7f116922cf..699ad445f7 100644

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

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

> @@ -394,6 +394,7 @@ GLIBC_2.0 difftime F

>  GLIBC_2.0 dirfd F

>  GLIBC_2.0 dirname F

>  GLIBC_2.0 div F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.0 dprintf F

> @@ -2330,6 +2331,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index c35888c87a..d8aab2a6de 100644

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

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

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

> -GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlopen F

>  GLIBC_2.0 dlsym F

>  GLIBC_2.2 dlopen F

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

> index af7ab63030..3da887b94b 100644

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

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

> @@ -394,6 +394,7 @@ GLIBC_2.0 difftime F

>  GLIBC_2.0 dirfd F

>  GLIBC_2.0 dirname F

>  GLIBC_2.0 div F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.0 dprintf F

> @@ -2338,6 +2339,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index 17f64d7c1e..8c34936cc0 100644

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

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

> @@ -392,6 +392,7 @@ GLIBC_2.0 difftime F

>  GLIBC_2.0 dirfd F

>  GLIBC_2.0 dirname F

>  GLIBC_2.0 div F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.0 dprintf F

> @@ -2332,6 +2333,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index 7c0d6dbd03..e1bc50caf5 100644

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

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

> @@ -763,6 +763,7 @@ GLIBC_2.21 dirfd F

>  GLIBC_2.21 dirname F

>  GLIBC_2.21 div F

>  GLIBC_2.21 dl_iterate_phdr F

> +GLIBC_2.21 dladdr F

>  GLIBC_2.21 dlclose F

>  GLIBC_2.21 dlerror F

>  GLIBC_2.21 dngettext F

> @@ -2377,6 +2378,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index 2de1533f42..835ee02768 100644

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

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

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

> -GLIBC_2.21 dladdr F

>  GLIBC_2.21 dladdr1 F

>  GLIBC_2.21 dlinfo F

>  GLIBC_2.21 dlmopen F

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

> index c3f9df2b67..8c3c1bb5c5 100644

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

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

> @@ -405,6 +405,7 @@ GLIBC_2.0 difftime F

>  GLIBC_2.0 dirfd F

>  GLIBC_2.0 dirname F

>  GLIBC_2.0 div F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.0 dprintf F

> @@ -2394,6 +2395,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index a975af50ec..25cf9cd21e 100644

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

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

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

> -GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlopen F

>  GLIBC_2.0 dlsym F

>  GLIBC_2.1 dlopen F

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

> index b122dce9f5..018f9c0253 100644

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

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

> @@ -405,6 +405,7 @@ GLIBC_2.0 difftime F

>  GLIBC_2.0 dirfd F

>  GLIBC_2.0 dirname F

>  GLIBC_2.0 div F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.0 dprintf F

> @@ -2427,6 +2428,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index c5cee140ea..330f5fdc1a 100644

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

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

> @@ -758,6 +758,7 @@ GLIBC_2.3 dirfd F

>  GLIBC_2.3 dirname F

>  GLIBC_2.3 div F

>  GLIBC_2.3 dl_iterate_phdr F

> +GLIBC_2.3 dladdr F

>  GLIBC_2.3 dlclose F

>  GLIBC_2.3 dlerror F

>  GLIBC_2.3 dngettext F

> @@ -2241,6 +2242,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index 183a4b1526..4446495717 100644

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

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

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

> -GLIBC_2.3 dladdr F

>  GLIBC_2.3 dlopen F

>  GLIBC_2.3 dlsym F

>  GLIBC_2.3 dlvsym F

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

> index 14a53736ff..b770ac88b3 100644

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

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

> @@ -806,6 +806,7 @@ GLIBC_2.17 dirfd F

>  GLIBC_2.17 dirname F

>  GLIBC_2.17 div F

>  GLIBC_2.17 dl_iterate_phdr F

> +GLIBC_2.17 dladdr F

>  GLIBC_2.17 dlclose F

>  GLIBC_2.17 dlerror F

>  GLIBC_2.17 dngettext F

> @@ -2540,6 +2541,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index 201e1e7146..731d6a1377 100644

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

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

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

> -GLIBC_2.17 dladdr F

>  GLIBC_2.17 dladdr1 F

>  GLIBC_2.17 dlinfo F

>  GLIBC_2.17 dlmopen F

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

> index 4076eb1fc3..ea14f58edb 100644

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

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

> @@ -656,6 +656,7 @@ GLIBC_2.33 dirfd F

>  GLIBC_2.33 dirname F

>  GLIBC_2.33 div F

>  GLIBC_2.33 dl_iterate_phdr F

> +GLIBC_2.33 dladdr F

>  GLIBC_2.33 dlclose F

>  GLIBC_2.33 dlerror F

>  GLIBC_2.33 dngettext F

> @@ -2105,6 +2106,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index 40991dffcd..b140aa0b09 100644

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

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

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

> -GLIBC_2.33 dladdr F

>  GLIBC_2.33 dladdr1 F

>  GLIBC_2.33 dlinfo F

>  GLIBC_2.33 dlmopen F

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

> index b608d9384a..5c2a87a3b0 100644

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

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

> @@ -697,6 +697,7 @@ GLIBC_2.27 dirfd F

>  GLIBC_2.27 dirname F

>  GLIBC_2.27 div F

>  GLIBC_2.27 dl_iterate_phdr F

> +GLIBC_2.27 dladdr F

>  GLIBC_2.27 dlclose F

>  GLIBC_2.27 dlerror F

>  GLIBC_2.27 dngettext F

> @@ -2305,6 +2306,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index 6dea0435f8..3536869c77 100644

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

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

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

> -GLIBC_2.27 dladdr F

>  GLIBC_2.27 dladdr1 F

>  GLIBC_2.27 dlinfo F

>  GLIBC_2.27 dlmopen F

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

> index c5809de838..937a3ba942 100644

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

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

> @@ -395,6 +395,7 @@ GLIBC_2.0 difftime F

>  GLIBC_2.0 dirfd F

>  GLIBC_2.0 dirname F

>  GLIBC_2.0 div F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.0 dprintf F

> @@ -2392,6 +2393,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index a975af50ec..25cf9cd21e 100644

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

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

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

> -GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlopen F

>  GLIBC_2.0 dlsym F

>  GLIBC_2.1 dlopen F

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

> index b118d56f0d..cce8034393 100644

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

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

> @@ -695,6 +695,7 @@ GLIBC_2.2 difftime F

>  GLIBC_2.2 dirfd F

>  GLIBC_2.2 dirname F

>  GLIBC_2.2 div F

> +GLIBC_2.2 dladdr F

>  GLIBC_2.2 dlclose F

>  GLIBC_2.2 dlerror F

>  GLIBC_2.2 dngettext F

> @@ -2278,6 +2279,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index 99bb237244..c995dec160 100644

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

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

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

> -GLIBC_2.2 dladdr F

>  GLIBC_2.2 dlopen F

>  GLIBC_2.2 dlsym F

>  GLIBC_2.2 dlvsym F

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

> index e6748c96dc..28154a96dd 100644

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

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

> @@ -2,6 +2,7 @@ GCC_3.0 _Unwind_Find_FDE F

>  GCC_3.0 __deregister_frame_info_bases F

>  GCC_3.0 __register_frame_info_bases F

>  GCC_3.0 __register_frame_info_table_bases F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.10 __cxa_at_quick_exit F

> @@ -2247,6 +2248,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index a975af50ec..25cf9cd21e 100644

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

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

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

> -GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlopen F

>  GLIBC_2.0 dlsym F

>  GLIBC_2.1 dlopen F

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

> index fa0e795ec1..d9a16e9ccf 100644

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

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

> @@ -2,6 +2,7 @@ GCC_3.0 _Unwind_Find_FDE F

>  GCC_3.0 __deregister_frame_info_bases F

>  GCC_3.0 __register_frame_info_bases F

>  GCC_3.0 __register_frame_info_table_bases F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.10 __cxa_at_quick_exit F

> @@ -2244,6 +2245,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index a975af50ec..25cf9cd21e 100644

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

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

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

> -GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlopen F

>  GLIBC_2.0 dlsym F

>  GLIBC_2.1 dlopen F

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

> index 897b34dabf..98e6db33fe 100644

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

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

> @@ -397,6 +397,7 @@ GLIBC_2.0 difftime F

>  GLIBC_2.0 dirfd F

>  GLIBC_2.0 dirname F

>  GLIBC_2.0 div F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.0 dprintf F

> @@ -2385,6 +2386,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index a975af50ec..25cf9cd21e 100644

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

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

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

> -GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlopen F

>  GLIBC_2.0 dlsym F

>  GLIBC_2.1 dlopen F

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

> index 2d7e5a0ca1..479a1b38a6 100644

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

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

> @@ -2,6 +2,7 @@ GCC_3.0 _Unwind_Find_FDE F

>  GCC_3.0 __deregister_frame_info_bases F

>  GCC_3.0 __register_frame_info_bases F

>  GCC_3.0 __register_frame_info_table_bases F

> +GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlclose F

>  GLIBC_2.0 dlerror F

>  GLIBC_2.10 __cxa_at_quick_exit F

> @@ -2297,6 +2298,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index a975af50ec..25cf9cd21e 100644

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

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

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

> -GLIBC_2.0 dladdr F

>  GLIBC_2.0 dlopen F

>  GLIBC_2.0 dlsym F

>  GLIBC_2.1 dlopen F

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

> index 62bded4298..3c6750b3a4 100644

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

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

> @@ -685,6 +685,7 @@ GLIBC_2.2.5 dirfd F

>  GLIBC_2.2.5 dirname F

>  GLIBC_2.2.5 div F

>  GLIBC_2.2.5 dl_iterate_phdr F

> +GLIBC_2.2.5 dladdr F

>  GLIBC_2.2.5 dlclose F

>  GLIBC_2.2.5 dlerror F

>  GLIBC_2.2.5 dngettext F

> @@ -2256,6 +2257,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index f4f0482c24..28f001d6ec 100644

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

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

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

> -GLIBC_2.2.5 dladdr F

>  GLIBC_2.2.5 dlopen F

>  GLIBC_2.2.5 dlsym F

>  GLIBC_2.2.5 dlvsym F

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

> index f197d4301f..0bfba9edbc 100644

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

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

> @@ -722,6 +722,7 @@ GLIBC_2.16 dirfd F

>  GLIBC_2.16 dirname F

>  GLIBC_2.16 div F

>  GLIBC_2.16 dl_iterate_phdr F

> +GLIBC_2.16 dladdr F

>  GLIBC_2.16 dlclose F

>  GLIBC_2.16 dlerror F

>  GLIBC_2.16 dngettext F

> @@ -2359,6 +2360,7 @@ GLIBC_2.34 cnd_init F

>  GLIBC_2.34 cnd_signal F

>  GLIBC_2.34 cnd_timedwait F

>  GLIBC_2.34 cnd_wait F

> +GLIBC_2.34 dladdr F

>  GLIBC_2.34 dlclose F

>  GLIBC_2.34 dlerror F

>  GLIBC_2.34 execveat F

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

> index a29fef95d4..f61c4a59d3 100644

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

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

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

> -GLIBC_2.16 dladdr F

>  GLIBC_2.16 dladdr1 F

>  GLIBC_2.16 dlinfo F

>  GLIBC_2.16 dlmopen F

> 


Ok.

Patch

diff --git a/dlfcn/Makefile b/dlfcn/Makefile
index 4bdf524492..f0793468c7 100644
--- a/dlfcn/Makefile
+++ b/dlfcn/Makefile
@@ -21,11 +21,12 @@  include ../Makeconfig
 
 headers		:= bits/dlfcn.h dlfcn.h
 extra-libs	:= libdl
-libdl-routines	:= dlopen dlsym dlvsym dladdr dladdr1 dlinfo \
+libdl-routines	:= dlopen dlsym dlvsym dladdr1 dlinfo \
 		   dlmopen dlfcn
 routines	:= $(patsubst %,s%,$(filter-out dlfcn,$(libdl-routines)))
 elide-routines.os := $(routines)
 routines += \
+  dladdr \
   dlclose \
   dlerror \
   libc_dlerror_result \
diff --git a/dlfcn/Versions b/dlfcn/Versions
index e2978c2a1c..89e4a1236a 100644
--- a/dlfcn/Versions
+++ b/dlfcn/Versions
@@ -1,9 +1,11 @@ 
 libc {
   GLIBC_2.0 {
+    dladdr;
     dlclose;
     dlerror;
   }
   GLIBC_2.34 {
+    dladdr;
     dlclose;
     dlerror;
   }
@@ -15,7 +17,7 @@  libc {
 }
 libdl {
   GLIBC_2.0 {
-    dladdr; dlopen; dlsym;
+    dlopen; dlsym;
   }
   GLIBC_2.1 {
     dlopen; dlvsym;
diff --git a/dlfcn/dladdr.c b/dlfcn/dladdr.c
index 27a6e49cac..3ef1b7f0b6 100644
--- a/dlfcn/dladdr.c
+++ b/dlfcn/dladdr.c
@@ -18,27 +18,19 @@ 
 
 #include <dlfcn.h>
 #include <ldsodefs.h>
-
-#if !defined SHARED && IS_IN (libdl)
-
-int
-dladdr (const void *address, Dl_info *info)
-{
-  return __dladdr (address, info);
-}
-
-#else
+#include <shlib-compat.h>
 
 int
 __dladdr (const void *address, Dl_info *info)
 {
-# ifdef SHARED
+#ifdef SHARED
   if (!rtld_active ())
     return _dlfcn_hook->dladdr (address, info);
-# endif
+#endif
   return _dl_addr (address, info, NULL, NULL);
 }
-# ifdef SHARED
-strong_alias (__dladdr, dladdr)
-# endif
+versioned_symbol (libc, __dladdr, dladdr, GLIBC_2_34);
+
+#if OTHER_SHLIB_COMPAT  (libdl, GLIBC_2_0, GLIBC_2_34)
+compat_symbol (libdl, __dladdr, dladdr, GLIBC_2_0);
 #endif
diff --git a/dlfcn/sdladdr.c b/dlfcn/sdladdr.c
deleted file mode 100644
index c484d63b29..0000000000
--- a/dlfcn/sdladdr.c
+++ /dev/null
@@ -1 +0,0 @@ 
-#include "dladdr.c"
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 352eb79500..a018144808 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -140,8 +140,7 @@  extern void *__dlsym (void *handle, const char *name DL_CALLER_DECL)
 extern void *__dlvsym (void *handle, const char *name, const char *version
 		       DL_CALLER_DECL)
      attribute_hidden;
-extern int __dladdr (const void *address, Dl_info *info)
-     attribute_hidden;
+extern int __dladdr (const void *address, Dl_info *info);
 extern int __dladdr1 (const void *address, Dl_info *info,
 		      void **extra_info, int flags)
      attribute_hidden;
diff --git a/sysdeps/mach/hurd/i386/libc.abilist b/sysdeps/mach/hurd/i386/libc.abilist
index 7e1b9845fc..abf3f3cf7f 100644
--- a/sysdeps/mach/hurd/i386/libc.abilist
+++ b/sysdeps/mach/hurd/i386/libc.abilist
@@ -741,6 +741,7 @@  GLIBC_2.2.6 dirfd F
 GLIBC_2.2.6 dirname F
 GLIBC_2.2.6 div F
 GLIBC_2.2.6 dl_iterate_phdr F
+GLIBC_2.2.6 dladdr F
 GLIBC_2.2.6 dlclose F
 GLIBC_2.2.6 dlerror F
 GLIBC_2.2.6 dngettext F
@@ -2209,6 +2210,7 @@  GLIBC_2.33 stat64 F
 GLIBC_2.34 __isnanf128 F
 GLIBC_2.34 __libc_start_main F
 GLIBC_2.34 _hurd_libc_proc_init F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/mach/hurd/i386/libdl.abilist b/sysdeps/mach/hurd/i386/libdl.abilist
index d267e7d457..5b9579b3d2 100644
--- a/sysdeps/mach/hurd/i386/libdl.abilist
+++ b/sysdeps/mach/hurd/i386/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.2.6 dladdr F
 GLIBC_2.2.6 dlopen F
 GLIBC_2.2.6 dlsym F
 GLIBC_2.2.6 dlvsym F
diff --git a/sysdeps/unix/sysv/linux/aarch64/libc.abilist b/sysdeps/unix/sysv/linux/aarch64/libc.abilist
index 8fdbe6548e..f912cea6a0 100644
--- a/sysdeps/unix/sysv/linux/aarch64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/aarch64/libc.abilist
@@ -718,6 +718,7 @@  GLIBC_2.17 dirfd F
 GLIBC_2.17 dirname F
 GLIBC_2.17 div F
 GLIBC_2.17 dl_iterate_phdr F
+GLIBC_2.17 dladdr F
 GLIBC_2.17 dlclose F
 GLIBC_2.17 dlerror F
 GLIBC_2.17 dngettext F
@@ -2344,6 +2345,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/aarch64/libdl.abilist b/sysdeps/unix/sysv/linux/aarch64/libdl.abilist
index 201e1e7146..731d6a1377 100644
--- a/sysdeps/unix/sysv/linux/aarch64/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/aarch64/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.17 dladdr F
 GLIBC_2.17 dladdr1 F
 GLIBC_2.17 dlinfo F
 GLIBC_2.17 dlmopen F
diff --git a/sysdeps/unix/sysv/linux/alpha/libc.abilist b/sysdeps/unix/sysv/linux/alpha/libc.abilist
index c2bae6f242..c0dfb9be95 100644
--- a/sysdeps/unix/sysv/linux/alpha/libc.abilist
+++ b/sysdeps/unix/sysv/linux/alpha/libc.abilist
@@ -409,6 +409,7 @@  GLIBC_2.0 difftime F
 GLIBC_2.0 dirfd F
 GLIBC_2.0 dirname F
 GLIBC_2.0 div F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.0 dprintf F
@@ -2436,6 +2437,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/alpha/libdl.abilist b/sysdeps/unix/sysv/linux/alpha/libdl.abilist
index a975af50ec..25cf9cd21e 100644
--- a/sysdeps/unix/sysv/linux/alpha/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/alpha/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.0 dladdr F
 GLIBC_2.0 dlopen F
 GLIBC_2.0 dlsym F
 GLIBC_2.1 dlopen F
diff --git a/sysdeps/unix/sysv/linux/arc/libc.abilist b/sysdeps/unix/sysv/linux/arc/libc.abilist
index bcc9352407..c2a4c1f9ba 100644
--- a/sysdeps/unix/sysv/linux/arc/libc.abilist
+++ b/sysdeps/unix/sysv/linux/arc/libc.abilist
@@ -663,6 +663,7 @@  GLIBC_2.32 dirfd F
 GLIBC_2.32 dirname F
 GLIBC_2.32 div F
 GLIBC_2.32 dl_iterate_phdr F
+GLIBC_2.32 dladdr F
 GLIBC_2.32 dlclose F
 GLIBC_2.32 dlerror F
 GLIBC_2.32 dngettext F
@@ -2103,6 +2104,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/arc/libdl.abilist b/sysdeps/unix/sysv/linux/arc/libdl.abilist
index 7dc68475ea..1c818309f2 100644
--- a/sysdeps/unix/sysv/linux/arc/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/arc/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.32 dladdr F
 GLIBC_2.32 dladdr1 F
 GLIBC_2.32 dlinfo F
 GLIBC_2.32 dlmopen F
diff --git a/sysdeps/unix/sysv/linux/arm/be/libc.abilist b/sysdeps/unix/sysv/linux/arm/be/libc.abilist
index d883be6028..db80c07019 100644
--- a/sysdeps/unix/sysv/linux/arm/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/arm/be/libc.abilist
@@ -207,6 +207,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
@@ -1019,6 +1020,7 @@  GLIBC_2.4 dirfd F
 GLIBC_2.4 dirname F
 GLIBC_2.4 div F
 GLIBC_2.4 dl_iterate_phdr F
+GLIBC_2.4 dladdr F
 GLIBC_2.4 dlclose F
 GLIBC_2.4 dlerror F
 GLIBC_2.4 dngettext F
diff --git a/sysdeps/unix/sysv/linux/arm/be/libdl.abilist b/sysdeps/unix/sysv/linux/arm/be/libdl.abilist
index 0ddfa10b3d..69ffaf4edf 100644
--- a/sysdeps/unix/sysv/linux/arm/be/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/arm/be/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.4 dladdr F
 GLIBC_2.4 dladdr1 F
 GLIBC_2.4 dlinfo F
 GLIBC_2.4 dlmopen F
diff --git a/sysdeps/unix/sysv/linux/arm/le/libc.abilist b/sysdeps/unix/sysv/linux/arm/le/libc.abilist
index 4dbb5e3442..3600075a47 100644
--- a/sysdeps/unix/sysv/linux/arm/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/arm/le/libc.abilist
@@ -204,6 +204,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
@@ -1016,6 +1017,7 @@  GLIBC_2.4 dirfd F
 GLIBC_2.4 dirname F
 GLIBC_2.4 div F
 GLIBC_2.4 dl_iterate_phdr F
+GLIBC_2.4 dladdr F
 GLIBC_2.4 dlclose F
 GLIBC_2.4 dlerror F
 GLIBC_2.4 dngettext F
diff --git a/sysdeps/unix/sysv/linux/arm/le/libdl.abilist b/sysdeps/unix/sysv/linux/arm/le/libdl.abilist
index 0ddfa10b3d..69ffaf4edf 100644
--- a/sysdeps/unix/sysv/linux/arm/le/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/arm/le/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.4 dladdr F
 GLIBC_2.4 dladdr1 F
 GLIBC_2.4 dlinfo F
 GLIBC_2.4 dlmopen F
diff --git a/sysdeps/unix/sysv/linux/csky/libc.abilist b/sysdeps/unix/sysv/linux/csky/libc.abilist
index 0da7522411..d7beb5db45 100644
--- a/sysdeps/unix/sysv/linux/csky/libc.abilist
+++ b/sysdeps/unix/sysv/linux/csky/libc.abilist
@@ -699,6 +699,7 @@  GLIBC_2.29 dirfd F
 GLIBC_2.29 dirname F
 GLIBC_2.29 div F
 GLIBC_2.29 dl_iterate_phdr F
+GLIBC_2.29 dladdr F
 GLIBC_2.29 dlclose F
 GLIBC_2.29 dlerror F
 GLIBC_2.29 dngettext F
@@ -2287,6 +2288,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/csky/libdl.abilist b/sysdeps/unix/sysv/linux/csky/libdl.abilist
index 359b2d6267..2c8047a614 100644
--- a/sysdeps/unix/sysv/linux/csky/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/csky/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.29 dladdr F
 GLIBC_2.29 dladdr1 F
 GLIBC_2.29 dlinfo F
 GLIBC_2.29 dlmopen F
diff --git a/sysdeps/unix/sysv/linux/hppa/libc.abilist b/sysdeps/unix/sysv/linux/hppa/libc.abilist
index 53128aae93..59b0e421a7 100644
--- a/sysdeps/unix/sysv/linux/hppa/libc.abilist
+++ b/sysdeps/unix/sysv/linux/hppa/libc.abilist
@@ -1,3 +1,4 @@ 
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.10 __cxa_at_quick_exit F
@@ -2240,6 +2241,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/hppa/libdl.abilist b/sysdeps/unix/sysv/linux/hppa/libdl.abilist
index a975af50ec..25cf9cd21e 100644
--- a/sysdeps/unix/sysv/linux/hppa/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/hppa/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.0 dladdr F
 GLIBC_2.0 dlopen F
 GLIBC_2.0 dlsym F
 GLIBC_2.1 dlopen F
diff --git a/sysdeps/unix/sysv/linux/i386/libc.abilist b/sysdeps/unix/sysv/linux/i386/libc.abilist
index 0731f99ab1..e33dd7d91e 100644
--- a/sysdeps/unix/sysv/linux/i386/libc.abilist
+++ b/sysdeps/unix/sysv/linux/i386/libc.abilist
@@ -395,6 +395,7 @@  GLIBC_2.0 difftime F
 GLIBC_2.0 dirfd F
 GLIBC_2.0 dirname F
 GLIBC_2.0 div F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.0 dprintf F
@@ -2424,6 +2425,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/i386/libdl.abilist b/sysdeps/unix/sysv/linux/i386/libdl.abilist
index a975af50ec..25cf9cd21e 100644
--- a/sysdeps/unix/sysv/linux/i386/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/i386/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.0 dladdr F
 GLIBC_2.0 dlopen F
 GLIBC_2.0 dlsym F
 GLIBC_2.1 dlopen F
diff --git a/sysdeps/unix/sysv/linux/ia64/libc.abilist b/sysdeps/unix/sysv/linux/ia64/libc.abilist
index 87acf0b861..772b686c1d 100644
--- a/sysdeps/unix/sysv/linux/ia64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/ia64/libc.abilist
@@ -1,3 +1,4 @@ 
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.10 __cxa_at_quick_exit F
@@ -2276,6 +2277,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/ia64/libdl.abilist b/sysdeps/unix/sysv/linux/ia64/libdl.abilist
index a975af50ec..25cf9cd21e 100644
--- a/sysdeps/unix/sysv/linux/ia64/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/ia64/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.0 dladdr F
 GLIBC_2.0 dlopen F
 GLIBC_2.0 dlsym F
 GLIBC_2.1 dlopen F
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
index ed482a6551..6ee063131e 100644
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
@@ -208,6 +208,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
@@ -1008,6 +1009,7 @@  GLIBC_2.4 dirfd F
 GLIBC_2.4 dirname F
 GLIBC_2.4 div F
 GLIBC_2.4 dl_iterate_phdr F
+GLIBC_2.4 dladdr F
 GLIBC_2.4 dlclose F
 GLIBC_2.4 dlerror F
 GLIBC_2.4 dngettext F
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist
index 0ddfa10b3d..69ffaf4edf 100644
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.4 dladdr F
 GLIBC_2.4 dladdr1 F
 GLIBC_2.4 dlinfo F
 GLIBC_2.4 dlmopen F
diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
index eff3f537f0..9fb78fd4fd 100644
--- a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
@@ -396,6 +396,7 @@  GLIBC_2.0 difftime F
 GLIBC_2.0 dirfd F
 GLIBC_2.0 dirname F
 GLIBC_2.0 div F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.0 dprintf F
@@ -2367,6 +2368,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist
index a975af50ec..25cf9cd21e 100644
--- a/sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.0 dladdr F
 GLIBC_2.0 dlopen F
 GLIBC_2.0 dlsym F
 GLIBC_2.1 dlopen F
diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist
index aeda8130c1..6ba6e439c5 100644
--- a/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/be/libc.abilist
@@ -720,6 +720,7 @@  GLIBC_2.18 dirfd F
 GLIBC_2.18 dirname F
 GLIBC_2.18 div F
 GLIBC_2.18 dl_iterate_phdr F
+GLIBC_2.18 dladdr F
 GLIBC_2.18 dlclose F
 GLIBC_2.18 dlerror F
 GLIBC_2.18 dngettext F
@@ -2338,6 +2339,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libdl.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libdl.abilist
index 90dcb88bab..721e823b1b 100644
--- a/sysdeps/unix/sysv/linux/microblaze/be/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/be/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.18 dladdr F
 GLIBC_2.18 dladdr1 F
 GLIBC_2.18 dlinfo F
 GLIBC_2.18 dlmopen F
diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
index cf8583acf8..b3d12892e6 100644
--- a/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/le/libc.abilist
@@ -720,6 +720,7 @@  GLIBC_2.18 dirfd F
 GLIBC_2.18 dirname F
 GLIBC_2.18 div F
 GLIBC_2.18 dl_iterate_phdr F
+GLIBC_2.18 dladdr F
 GLIBC_2.18 dlclose F
 GLIBC_2.18 dlerror F
 GLIBC_2.18 dngettext F
@@ -2335,6 +2336,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libdl.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libdl.abilist
index 90dcb88bab..721e823b1b 100644
--- a/sysdeps/unix/sysv/linux/microblaze/le/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/microblaze/le/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.18 dladdr F
 GLIBC_2.18 dladdr1 F
 GLIBC_2.18 dlinfo F
 GLIBC_2.18 dlmopen F
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
index 72a1879260..43fe36e7d1 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
@@ -394,6 +394,7 @@  GLIBC_2.0 difftime F
 GLIBC_2.0 dirfd F
 GLIBC_2.0 dirname F
 GLIBC_2.0 div F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.0 dprintf F
@@ -2332,6 +2333,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist
index c35888c87a..d8aab2a6de 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.0 dladdr F
 GLIBC_2.0 dlopen F
 GLIBC_2.0 dlsym F
 GLIBC_2.2 dlopen F
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
index 7f116922cf..699ad445f7 100644
--- a/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
@@ -394,6 +394,7 @@  GLIBC_2.0 difftime F
 GLIBC_2.0 dirfd F
 GLIBC_2.0 dirname F
 GLIBC_2.0 div F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.0 dprintf F
@@ -2330,6 +2331,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist
index c35888c87a..d8aab2a6de 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.0 dladdr F
 GLIBC_2.0 dlopen F
 GLIBC_2.0 dlsym F
 GLIBC_2.2 dlopen F
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
index af7ab63030..3da887b94b 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
@@ -394,6 +394,7 @@  GLIBC_2.0 difftime F
 GLIBC_2.0 dirfd F
 GLIBC_2.0 dirname F
 GLIBC_2.0 div F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.0 dprintf F
@@ -2338,6 +2339,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
index 17f64d7c1e..8c34936cc0 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
@@ -392,6 +392,7 @@  GLIBC_2.0 difftime F
 GLIBC_2.0 dirfd F
 GLIBC_2.0 dirname F
 GLIBC_2.0 div F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.0 dprintf F
@@ -2332,6 +2333,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/nios2/libc.abilist b/sysdeps/unix/sysv/linux/nios2/libc.abilist
index 7c0d6dbd03..e1bc50caf5 100644
--- a/sysdeps/unix/sysv/linux/nios2/libc.abilist
+++ b/sysdeps/unix/sysv/linux/nios2/libc.abilist
@@ -763,6 +763,7 @@  GLIBC_2.21 dirfd F
 GLIBC_2.21 dirname F
 GLIBC_2.21 div F
 GLIBC_2.21 dl_iterate_phdr F
+GLIBC_2.21 dladdr F
 GLIBC_2.21 dlclose F
 GLIBC_2.21 dlerror F
 GLIBC_2.21 dngettext F
@@ -2377,6 +2378,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/nios2/libdl.abilist b/sysdeps/unix/sysv/linux/nios2/libdl.abilist
index 2de1533f42..835ee02768 100644
--- a/sysdeps/unix/sysv/linux/nios2/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/nios2/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.21 dladdr F
 GLIBC_2.21 dladdr1 F
 GLIBC_2.21 dlinfo F
 GLIBC_2.21 dlmopen F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
index c3f9df2b67..8c3c1bb5c5 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
@@ -405,6 +405,7 @@  GLIBC_2.0 difftime F
 GLIBC_2.0 dirfd F
 GLIBC_2.0 dirname F
 GLIBC_2.0 div F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.0 dprintf F
@@ -2394,6 +2395,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist
index a975af50ec..25cf9cd21e 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.0 dladdr F
 GLIBC_2.0 dlopen F
 GLIBC_2.0 dlsym F
 GLIBC_2.1 dlopen F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
index b122dce9f5..018f9c0253 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
@@ -405,6 +405,7 @@  GLIBC_2.0 difftime F
 GLIBC_2.0 dirfd F
 GLIBC_2.0 dirname F
 GLIBC_2.0 div F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.0 dprintf F
@@ -2427,6 +2428,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
index c5cee140ea..330f5fdc1a 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
@@ -758,6 +758,7 @@  GLIBC_2.3 dirfd F
 GLIBC_2.3 dirname F
 GLIBC_2.3 div F
 GLIBC_2.3 dl_iterate_phdr F
+GLIBC_2.3 dladdr F
 GLIBC_2.3 dlclose F
 GLIBC_2.3 dlerror F
 GLIBC_2.3 dngettext F
@@ -2241,6 +2242,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libdl.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libdl.abilist
index 183a4b1526..4446495717 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.3 dladdr F
 GLIBC_2.3 dlopen F
 GLIBC_2.3 dlsym F
 GLIBC_2.3 dlvsym F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
index 14a53736ff..b770ac88b3 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
@@ -806,6 +806,7 @@  GLIBC_2.17 dirfd F
 GLIBC_2.17 dirname F
 GLIBC_2.17 div F
 GLIBC_2.17 dl_iterate_phdr F
+GLIBC_2.17 dladdr F
 GLIBC_2.17 dlclose F
 GLIBC_2.17 dlerror F
 GLIBC_2.17 dngettext F
@@ -2540,6 +2541,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libdl.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libdl.abilist
index 201e1e7146..731d6a1377 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.17 dladdr F
 GLIBC_2.17 dladdr1 F
 GLIBC_2.17 dlinfo F
 GLIBC_2.17 dlmopen F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist
index 4076eb1fc3..ea14f58edb 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist
@@ -656,6 +656,7 @@  GLIBC_2.33 dirfd F
 GLIBC_2.33 dirname F
 GLIBC_2.33 div F
 GLIBC_2.33 dl_iterate_phdr F
+GLIBC_2.33 dladdr F
 GLIBC_2.33 dlclose F
 GLIBC_2.33 dlerror F
 GLIBC_2.33 dngettext F
@@ -2105,6 +2106,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libdl.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libdl.abilist
index 40991dffcd..b140aa0b09 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv32/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv32/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.33 dladdr F
 GLIBC_2.33 dladdr1 F
 GLIBC_2.33 dlinfo F
 GLIBC_2.33 dlmopen F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist
index b608d9384a..5c2a87a3b0 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist
@@ -697,6 +697,7 @@  GLIBC_2.27 dirfd F
 GLIBC_2.27 dirname F
 GLIBC_2.27 div F
 GLIBC_2.27 dl_iterate_phdr F
+GLIBC_2.27 dladdr F
 GLIBC_2.27 dlclose F
 GLIBC_2.27 dlerror F
 GLIBC_2.27 dngettext F
@@ -2305,6 +2306,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist
index 6dea0435f8..3536869c77 100644
--- a/sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.27 dladdr F
 GLIBC_2.27 dladdr1 F
 GLIBC_2.27 dlinfo F
 GLIBC_2.27 dlmopen F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
index c5809de838..937a3ba942 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
@@ -395,6 +395,7 @@  GLIBC_2.0 difftime F
 GLIBC_2.0 dirfd F
 GLIBC_2.0 dirname F
 GLIBC_2.0 div F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.0 dprintf F
@@ -2392,6 +2393,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist
index a975af50ec..25cf9cd21e 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.0 dladdr F
 GLIBC_2.0 dlopen F
 GLIBC_2.0 dlsym F
 GLIBC_2.1 dlopen F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
index b118d56f0d..cce8034393 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
@@ -695,6 +695,7 @@  GLIBC_2.2 difftime F
 GLIBC_2.2 dirfd F
 GLIBC_2.2 dirname F
 GLIBC_2.2 div F
+GLIBC_2.2 dladdr F
 GLIBC_2.2 dlclose F
 GLIBC_2.2 dlerror F
 GLIBC_2.2 dngettext F
@@ -2278,6 +2279,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist
index 99bb237244..c995dec160 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.2 dladdr F
 GLIBC_2.2 dlopen F
 GLIBC_2.2 dlsym F
 GLIBC_2.2 dlvsym F
diff --git a/sysdeps/unix/sysv/linux/sh/be/libc.abilist b/sysdeps/unix/sysv/linux/sh/be/libc.abilist
index e6748c96dc..28154a96dd 100644
--- a/sysdeps/unix/sysv/linux/sh/be/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sh/be/libc.abilist
@@ -2,6 +2,7 @@  GCC_3.0 _Unwind_Find_FDE F
 GCC_3.0 __deregister_frame_info_bases F
 GCC_3.0 __register_frame_info_bases F
 GCC_3.0 __register_frame_info_table_bases F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.10 __cxa_at_quick_exit F
@@ -2247,6 +2248,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/sh/be/libdl.abilist b/sysdeps/unix/sysv/linux/sh/be/libdl.abilist
index a975af50ec..25cf9cd21e 100644
--- a/sysdeps/unix/sysv/linux/sh/be/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/sh/be/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.0 dladdr F
 GLIBC_2.0 dlopen F
 GLIBC_2.0 dlsym F
 GLIBC_2.1 dlopen F
diff --git a/sysdeps/unix/sysv/linux/sh/le/libc.abilist b/sysdeps/unix/sysv/linux/sh/le/libc.abilist
index fa0e795ec1..d9a16e9ccf 100644
--- a/sysdeps/unix/sysv/linux/sh/le/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sh/le/libc.abilist
@@ -2,6 +2,7 @@  GCC_3.0 _Unwind_Find_FDE F
 GCC_3.0 __deregister_frame_info_bases F
 GCC_3.0 __register_frame_info_bases F
 GCC_3.0 __register_frame_info_table_bases F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.10 __cxa_at_quick_exit F
@@ -2244,6 +2245,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/sh/le/libdl.abilist b/sysdeps/unix/sysv/linux/sh/le/libdl.abilist
index a975af50ec..25cf9cd21e 100644
--- a/sysdeps/unix/sysv/linux/sh/le/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/sh/le/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.0 dladdr F
 GLIBC_2.0 dlopen F
 GLIBC_2.0 dlsym F
 GLIBC_2.1 dlopen F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
index 897b34dabf..98e6db33fe 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
@@ -397,6 +397,7 @@  GLIBC_2.0 difftime F
 GLIBC_2.0 dirfd F
 GLIBC_2.0 dirname F
 GLIBC_2.0 div F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.0 dprintf F
@@ -2385,6 +2386,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist
index a975af50ec..25cf9cd21e 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.0 dladdr F
 GLIBC_2.0 dlopen F
 GLIBC_2.0 dlsym F
 GLIBC_2.1 dlopen F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
index 2d7e5a0ca1..479a1b38a6 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
@@ -2,6 +2,7 @@  GCC_3.0 _Unwind_Find_FDE F
 GCC_3.0 __deregister_frame_info_bases F
 GCC_3.0 __register_frame_info_bases F
 GCC_3.0 __register_frame_info_table_bases F
+GLIBC_2.0 dladdr F
 GLIBC_2.0 dlclose F
 GLIBC_2.0 dlerror F
 GLIBC_2.10 __cxa_at_quick_exit F
@@ -2297,6 +2298,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist
index a975af50ec..25cf9cd21e 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.0 dladdr F
 GLIBC_2.0 dlopen F
 GLIBC_2.0 dlsym F
 GLIBC_2.1 dlopen F
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
index 62bded4298..3c6750b3a4 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
@@ -685,6 +685,7 @@  GLIBC_2.2.5 dirfd F
 GLIBC_2.2.5 dirname F
 GLIBC_2.2.5 div F
 GLIBC_2.2.5 dl_iterate_phdr F
+GLIBC_2.2.5 dladdr F
 GLIBC_2.2.5 dlclose F
 GLIBC_2.2.5 dlerror F
 GLIBC_2.2.5 dngettext F
@@ -2256,6 +2257,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist
index f4f0482c24..28f001d6ec 100644
--- a/sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.2.5 dladdr F
 GLIBC_2.2.5 dlopen F
 GLIBC_2.2.5 dlsym F
 GLIBC_2.2.5 dlvsym F
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist
index f197d4301f..0bfba9edbc 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist
@@ -722,6 +722,7 @@  GLIBC_2.16 dirfd F
 GLIBC_2.16 dirname F
 GLIBC_2.16 div F
 GLIBC_2.16 dl_iterate_phdr F
+GLIBC_2.16 dladdr F
 GLIBC_2.16 dlclose F
 GLIBC_2.16 dlerror F
 GLIBC_2.16 dngettext F
@@ -2359,6 +2360,7 @@  GLIBC_2.34 cnd_init F
 GLIBC_2.34 cnd_signal F
 GLIBC_2.34 cnd_timedwait F
 GLIBC_2.34 cnd_wait F
+GLIBC_2.34 dladdr F
 GLIBC_2.34 dlclose F
 GLIBC_2.34 dlerror F
 GLIBC_2.34 execveat F
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist
index a29fef95d4..f61c4a59d3 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist
@@ -1,4 +1,3 @@ 
-GLIBC_2.16 dladdr F
 GLIBC_2.16 dladdr1 F
 GLIBC_2.16 dlinfo F
 GLIBC_2.16 dlmopen F