about summary refs log tree commit diff
path: root/nss/Versions
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-07-07 18:33:52 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-07-07 18:33:52 +0200
commit6212bb67f4695962748a5981e1b9fea105af74f6 (patch)
tree0b6a4e918af592a90eb20ffdb2d28ece568ab4bd /nss/Versions
parent36861a968ad143f662db489cd8f859186ee375c2 (diff)
downloadglibc-6212bb67f4695962748a5981e1b9fea105af74f6.tar.gz
glibc-6212bb67f4695962748a5981e1b9fea105af74f6.tar.xz
glibc-6212bb67f4695962748a5981e1b9fea105af74f6.zip
nss_files: Move into libc
This is the first step towards fixing bug 27959.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nss/Versions')
-rw-r--r--nss/Versions13
1 files changed, 9 insertions, 4 deletions
diff --git a/nss/Versions b/nss/Versions
index 7b040b4786..e551524aa9 100644
--- a/nss/Versions
+++ b/nss/Versions
@@ -23,11 +23,8 @@ libc {
     __nss_files_data_open;
     __nss_files_data_put;
     __nss_files_data_setent;
-  }
-}
 
-libnss_files {
-  GLIBC_PRIVATE {
+    # Routines formerly in libnss_files.so.2.
     _nss_files_setaliasent;
     _nss_files_endaliasent;
     _nss_files_getaliasbyname_r;
@@ -113,6 +110,14 @@ libnss_files {
   }
 }
 
+libnss_files {
+  GLIBC_PRIVATE {
+    # Keep a version node (with a synthesized local: * directive) so that
+    # __bss_* symbols are hidden on targets that need it.
+    __libnss_files_version_placeholder;
+  }
+}
+
 libnss_db {
   GLIBC_PRIVATE {
     _nss_db_setetherent;