about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/Versions1
-rw-r--r--elf/dl-libc.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/elf/Versions b/elf/Versions
index 1b8e9baf6f..7b0799958b 100644
--- a/elf/Versions
+++ b/elf/Versions
@@ -22,6 +22,7 @@ libc {
     _dl_open; _dl_close; _dl_addr;
     _dl_sym; _dl_vsym;
     _dl_open_hook;
+    __libc_dlopen_mode; __libc_dlsym; __libc_dlclose;
   }
 }
 
diff --git a/elf/dl-libc.c b/elf/dl-libc.c
index 8fd98f08e7..557d2c3241 100644
--- a/elf/dl-libc.c
+++ b/elf/dl-libc.c
@@ -173,6 +173,7 @@ __libc_dlopen_mode (const char *name, int mode)
   return (void *) args.map;
 #endif
 }
+libc_hidden_def (__libc_dlopen_mode)
 
 void *
 __libc_dlsym (void *map, const char *name)
@@ -188,6 +189,7 @@ __libc_dlsym (void *map, const char *name)
   return (dlerror_run (do_dlsym, &args) ? NULL
 	  : (void *) (DL_SYMBOL_ADDRESS (args.loadbase, args.ref)));
 }
+libc_hidden_def (__libc_dlsym)
 
 int
 __libc_dlclose (void *map)
@@ -198,6 +200,7 @@ __libc_dlclose (void *map)
 #endif
   return dlerror_run (do_dlclose, map);
 }
+libc_hidden_def (__libc_dlclose)
 
 
 libc_freeres_fn (free_mem)