From ccc2cbd6d1e9c14ee43e34ac6cb4a1a91e9446c8 Mon Sep 17 00:00:00 2001 From: des Date: Tue, 28 Mar 2006 18:28:07 +0000 Subject: Don't use dbg if it isn't defined (such as when this file is used by code outside of rtld-elf) --- libexec/rtld-elf/i386/rtld_machdep.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libexec') 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; } -- cgit v1.1