mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
1dc39023f8
commit
370e5ea48c
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue