summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/rtld.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-03-29 18:53:21 +0000
committerkib <kib@FreeBSD.org>2015-03-29 18:53:21 +0000
commit563a44c171b6928feb0dfd24a0b94fac15e0c13f (patch)
tree12ce96618cdb26acb5fccabba2ccac920c386178 /libexec/rtld-elf/rtld.h
parent951b0c97e412e46714a4cdd077cb7e81ab4f9994 (diff)
downloadFreeBSD-src-563a44c171b6928feb0dfd24a0b94fac15e0c13f.zip
FreeBSD-src-563a44c171b6928feb0dfd24a0b94fac15e0c13f.tar.gz
Change compiler setting to make default visibility of the symbols for
rtld on x86 to be hidden. This is a micro-optimization, which allows intrinsic references inside rtld to be handled without indirection through PLT. The visibility of rtld symbols for other objects in the symbol namespace is controlled by a version script. Reviewed by: kan, jilles Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
-rw-r--r--libexec/rtld-elf/rtld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h
index e539117..e16e46a 100644
--- a/libexec/rtld-elf/rtld.h
+++ b/libexec/rtld-elf/rtld.h
@@ -353,7 +353,7 @@ typedef struct Struct_SymLook {
struct Struct_RtldLockState *lockstate;
} SymLook;
-void _rtld_error(const char *, ...) __printflike(1, 2);
+void _rtld_error(const char *, ...) __printflike(1, 2) __exported;
const char *rtld_strerror(int);
Obj_Entry *map_object(int, const char *, const struct stat *);
void *xcalloc(size_t, size_t);
OpenPOWER on IntegriCloud