about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-07-22 23:56:53 +0000
committerUlrich Drepper <drepper@redhat.com>2003-07-22 23:56:53 +0000
commit9d79e0377b08773ec4f7ec38479b1563606f7ef7 (patch)
tree31dbc1c0fdb8abb00c75da24a048028225b32c21 /elf
parent0e9d624072fd24ee7d113bcf9325e8fb21d2cf60 (diff)
downloadglibc-9d79e0377b08773ec4f7ec38479b1563606f7ef7.tar.gz
glibc-9d79e0377b08773ec4f7ec38479b1563606f7ef7.tar.xz
glibc-9d79e0377b08773ec4f7ec38479b1563606f7ef7.zip
Update.
	* include/stdio.h (__libc_fatal): Add libc_hidden_proto.
	* include/dlfcn.h (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose):
	Likewise.
	* elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose):
	Add libc_hidden_def.
	* sysdeps/generic/libc_fatal.c (__libc_fatal): Likewise.
	* sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
	* sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Likewise.
	* elf/Versions (libc): Export __libc_dlopen_mode@@GLIBC_PRIVATE,
	__libc_dlsym@@GLIBC_PRIVATE and __libc_dlclose@@GLIBC_PRIVATE.
	* libio/Versions (libc): Export __libc_fatal@@GLIBC_PRIVATE.
	* sysdeps/generic/unwind-dw2.c: Readd #ifs removed during last
	change.
	* sysdeps/generic/unwind.inc: Removed.
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)