summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2006-03-29 12:29:01 +0000
committerdes <des@FreeBSD.org>2006-03-29 12:29:01 +0000
commitc3c1cc1abc42ab7ba68db730bd68705b2e481f22 (patch)
treef49fde5a17cb55da63481e54e4efba52a9a2eabc /libexec/rtld-elf
parentfd2f2128d5f3bf83a7228b9e5fea5a3b23392b70 (diff)
downloadFreeBSD-src-c3c1cc1abc42ab7ba68db730bd68705b2e481f22.zip
FreeBSD-src-c3c1cc1abc42ab7ba68db730bd68705b2e481f22.tar.gz
*thwack*! all the world's not i386.
Pointy hat to: des
Diffstat (limited to 'libexec/rtld-elf')
-rw-r--r--libexec/rtld-elf/amd64/rtld_machdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/amd64/rtld_machdep.h b/libexec/rtld-elf/amd64/rtld_machdep.h
index 57bd0de..c688eb1 100644
--- a/libexec/rtld-elf/amd64/rtld_machdep.h
+++ b/libexec/rtld-elf/amd64/rtld_machdep.h
@@ -46,8 +46,10 @@ reloc_jmpslot(Elf_Addr *where, Elf_Addr target,
const struct Struct_Obj_Entry *obj,
const struct Struct_Obj_Entry *refobj, const Elf_Rel *rel)
{
+#ifdef dbg
dbg("reloc_jmpslot: *%p = %p", (void *)(where),
(void *)(target));
+#endif
(*(Elf_Addr *)(where) = (Elf_Addr)(target));
return target;
}
OpenPOWER on IntegriCloud