Don't use dbg if it isn't defined (such as when this file is used by

code outside of rtld-elf)
This commit is contained in:
Dag-Erling Smørgrav 2006-03-28 18:28:07 +00:00
parent 1dc39023f8
commit 370e5ea48c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157220

View File

@ -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;
}