summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/rtld_lock.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-04-12 06:45:40 +0000
committerkib <kib@FreeBSD.org>2015-04-12 06:45:40 +0000
commit39372044850f47dd4bea491cc717b227b8214a46 (patch)
tree44179ca0f62fcdabf76a69020223ce74137e5250 /libexec/rtld-elf/rtld_lock.c
parent0fe937192c3bb4e05e924beb5bbc3749efc648cc (diff)
downloadFreeBSD-src-39372044850f47dd4bea491cc717b227b8214a46.zip
FreeBSD-src-39372044850f47dd4bea491cc717b227b8214a46.tar.gz
MFC r280816:
Change default visibility for rtld to hidden, on x86.
Diffstat (limited to 'libexec/rtld-elf/rtld_lock.c')
-rw-r--r--libexec/rtld-elf/rtld_lock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld_lock.c b/libexec/rtld-elf/rtld_lock.c
index ea16c4d..f31546c 100644
--- a/libexec/rtld-elf/rtld_lock.c
+++ b/libexec/rtld-elf/rtld_lock.c
@@ -51,6 +51,10 @@
#include "rtld.h"
#include "rtld_machdep.h"
+void _rtld_thread_init(struct RtldLockInfo *) __exported;
+void _rtld_atfork_pre(int *) __exported;
+void _rtld_atfork_post(int *) __exported;
+
#define WAFLAG 0x1 /* A writer holds the lock */
#define RC_INCR 0x2 /* Adjusts count of readers desiring lock */
OpenPOWER on IntegriCloud