aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2000-06-27 17:05:42 +0000
committerGreg McGary <greg@mcgary.org>2000-06-27 17:05:42 +0000
commitebdf53a7fc8e6d6b68d2dfe2452c4149dc58e82a (patch)
tree857eb5411b6830a0eb9017d26e2957170554d7c0 /elf
parent36e3c1195f2bb4c5011a40a85c526c249c6205e9 (diff)
downloadglibc-ebdf53a7fc8e6d6b68d2dfe2452c4149dc58e82a.zip
glibc-ebdf53a7fc8e6d6b68d2dfe2452c4149dc58e82a.tar.gz
glibc-ebdf53a7fc8e6d6b68d2dfe2452c4149dc58e82a.tar.bz2
* elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
* include/libc-symbols.h (weak_extern): Add extra level of expansion. (symbol_version, default_symbol_version): Factor redundant definitions out of conditional. * linuxthreads/sysdeps/pthread/bits/libc-lock.h: Wrap BP_SYM () around weak extern declarations of pthread functions that have pointers in their return+arg signatures. 2000-06-27 Greg McGary <greg@mcgary.org> * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM (). * include/libc-symbols.h (weak_extern): Add extra level of expansion. (symbol_version, default_symbol_version): Factor redundant definitions out of conditional. * linuxthreads/sysdeps/pthread/bits/libc-lock.h: Wrap BP_SYM () around weak extern declarations of pthread functions that have pointers in their return+arg signatures.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-open.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 17af884..e5628b6 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -28,6 +28,7 @@
#include <sys/param.h>
#include <bits/libc-lock.h>
#include <ldsodefs.h>
+#include <bp-sym.h>
#include <dl-dst.h>
@@ -36,7 +37,7 @@ extern ElfW(Addr) _dl_sysdep_start (void **start_argptr,
void (*dl_main) (const ElfW(Phdr) *phdr,
ElfW(Word) phnum,
ElfW(Addr) *user_entry));
-weak_extern (_dl_sysdep_start)
+weak_extern (BP_SYM (_dl_sysdep_start))
/* This function is used to unload the cache file if necessary. */
extern void _dl_unload_cache (void);