diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-07-19 07:55:27 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-07-19 07:56:21 +0200 |
commit | 640bbdf71c6f10ac26252ac67a22902e26657bd8 (patch) | |
tree | 227d6260dda188bdc22f2d9a6b52acd77c3d68b7 /sysdeps/mach | |
parent | 13e1f86706e463de4429f7e88f47c6ff65cd845e (diff) | |
download | glibc-640bbdf71c6f10ac26252ac67a22902e26657bd8.tar.gz glibc-640bbdf71c6f10ac26252ac67a22902e26657bd8.tar.xz glibc-640bbdf71c6f10ac26252ac67a22902e26657bd8.zip |
resolv: Move dn_expand to its own file and into libc
And reformat to GNU style. This switches back to the dn_expand name for the ABI symbol and turns __dn_expand into a compatibility symbol. With the improved namespace management in current glibc, it is no longer necessary to use a private namespace symbol. To avoid old code binding to a GLIBC_PRIVATE symbol by accident, use __libc_dn_expand for the internal symbol name. The symbols dn_expand, __dnexpand were moved using scripts/move-symbol-to-libc.py, followed by an adjustment to make dn_expand the only GLIBC_2.34 symbol. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/i386/libc.abilist | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/i386/libresolv.abilist | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/i386/libc.abilist b/sysdeps/mach/hurd/i386/libc.abilist index 706ae69614..626ac8a248 100644 --- a/sysdeps/mach/hurd/i386/libc.abilist +++ b/sysdeps/mach/hurd/i386/libc.abilist @@ -244,6 +244,7 @@ GLIBC_2.2.6 __dcgettext F GLIBC_2.2.6 __default_morecore F GLIBC_2.2.6 __dgettext F GLIBC_2.2.6 __divdi3 F +GLIBC_2.2.6 __dn_expand F GLIBC_2.2.6 __dup2 F GLIBC_2.2.6 __duplocale F GLIBC_2.2.6 __environ D 0x4 @@ -2235,6 +2236,7 @@ GLIBC_2.34 dlmopen F GLIBC_2.34 dlopen F GLIBC_2.34 dlsym F GLIBC_2.34 dlvsym F +GLIBC_2.34 dn_expand F GLIBC_2.34 execveat F GLIBC_2.34 forkpty F GLIBC_2.34 login F diff --git a/sysdeps/mach/hurd/i386/libresolv.abilist b/sysdeps/mach/hurd/i386/libresolv.abilist index 6e77bc28c6..85460b7747 100644 --- a/sysdeps/mach/hurd/i386/libresolv.abilist +++ b/sysdeps/mach/hurd/i386/libresolv.abilist @@ -2,7 +2,6 @@ GLIBC_2.2.6 __b64_ntop F GLIBC_2.2.6 __b64_pton F GLIBC_2.2.6 __dn_comp F GLIBC_2.2.6 __dn_count_labels F -GLIBC_2.2.6 __dn_expand F GLIBC_2.2.6 __dn_skipname F GLIBC_2.2.6 __fp_nquery F GLIBC_2.2.6 __fp_query F |