summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2006-03-28 18:28:07 +0000
committerdes <des@FreeBSD.org>2006-03-28 18:28:07 +0000
commitccc2cbd6d1e9c14ee43e34ac6cb4a1a91e9446c8 (patch)
treea4d6c25f85749af8335745f2feaf94677436e533 /libexec
parenteaebf6a04fadbbfb8b4233fba41e02cb5d7fc679 (diff)
downloadFreeBSD-src-ccc2cbd6d1e9c14ee43e34ac6cb4a1a91e9446c8.zip
FreeBSD-src-ccc2cbd6d1e9c14ee43e34ac6cb4a1a91e9446c8.tar.gz
Don't use dbg if it isn't defined (such as when this file is used by
code outside of rtld-elf)
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/i386/rtld_machdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/i386/rtld_machdep.h b/libexec/rtld-elf/i386/rtld_machdep.h
index e104f86..cbb13eb 100644
--- a/libexec/rtld-elf/i386/rtld_machdep.h
+++ b/libexec/rtld-elf/i386/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