diff options
author | des <des@FreeBSD.org> | 2006-03-28 18:28:07 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2006-03-28 18:28:07 +0000 |
commit | ccc2cbd6d1e9c14ee43e34ac6cb4a1a91e9446c8 (patch) | |
tree | a4d6c25f85749af8335745f2feaf94677436e533 /libexec/rtld-elf | |
parent | eaebf6a04fadbbfb8b4233fba41e02cb5d7fc679 (diff) | |
download | FreeBSD-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/rtld-elf')
-rw-r--r-- | libexec/rtld-elf/i386/rtld_machdep.h | 2 |
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; } |