summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/rtld.h
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-09-12 17:04:51 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-09-12 17:04:51 +0000
commit67010066267d8cb2dae3ad95759307d7637c70fb (patch)
treeb482662e841f2f28f586dc6a8b870326a55c3c57 /libexec/rtld-elf/rtld.h
parent599c1ac5992e739b3f945171e5410c2f0906139e (diff)
downloadFreeBSD-src-67010066267d8cb2dae3ad95759307d7637c70fb.zip
FreeBSD-src-67010066267d8cb2dae3ad95759307d7637c70fb.tar.gz
Check for undefined weak symbols during PLT binding on powerpc64, and do
not attempt to copy NULL function descriptors. This fixes LD_BIND_NOW on powerpc64 after r211706. Reviewed by: kib
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
-rw-r--r--libexec/rtld-elf/rtld.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h
index 875e84b..6bae2f0 100644
--- a/libexec/rtld-elf/rtld.h
+++ b/libexec/rtld-elf/rtld.h
@@ -261,6 +261,7 @@ extern void *xcalloc(size_t);
extern void *xmalloc(size_t);
extern char *xstrdup(const char *);
extern Elf_Addr _GLOBAL_OFFSET_TABLE_[];
+extern Elf_Sym sym_zero; /* For resolving undefined weak refs. */
extern void dump_relocations (Obj_Entry *);
extern void dump_obj_relocations (Obj_Entry *);
OpenPOWER on IntegriCloud