git: f10a06556f56 - stable/14 - rtld-elf/{amd64,i386}/reloc.c: remove unneeded #ifdef dbg

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Thu, 23 Jan 2025 09:52:02 UTC
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=f10a06556f56ddbcf348a7b1e67a8e89b71c739d

commit f10a06556f56ddbcf348a7b1e67a8e89b71c739d
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-01-18 03:07:15 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-01-23 09:46:58 +0000

    rtld-elf/{amd64,i386}/reloc.c: remove unneeded #ifdef dbg
    
    (cherry picked from commit e3035c52f25356299abc8e08be9221032967554d)
---
 libexec/rtld-elf/amd64/reloc.c | 2 --
 libexec/rtld-elf/i386/reloc.c  | 2 --
 2 files changed, 4 deletions(-)

diff --git a/libexec/rtld-elf/amd64/reloc.c b/libexec/rtld-elf/amd64/reloc.c
index 9c5887def356..7e7f01a5d186 100644
--- a/libexec/rtld-elf/amd64/reloc.c
+++ b/libexec/rtld-elf/amd64/reloc.c
@@ -405,9 +405,7 @@ reloc_jmpslot(Elf_Addr *where, Elf_Addr target,
     const struct Struct_Obj_Entry *refobj  __unused,
     const Elf_Rel *rel  __unused)
 {
-#ifdef dbg
 	dbg("reloc_jmpslot: *%p = %p", where, (void *)target);
-#endif
 	if (!ld_bind_not)
 		*where = target;
 	return (target);
diff --git a/libexec/rtld-elf/i386/reloc.c b/libexec/rtld-elf/i386/reloc.c
index 04a8354343bc..361bb777315a 100644
--- a/libexec/rtld-elf/i386/reloc.c
+++ b/libexec/rtld-elf/i386/reloc.c
@@ -358,9 +358,7 @@ reloc_jmpslot(Elf_Addr *where, Elf_Addr target,
     const Obj_Entry *obj __unused, const Obj_Entry *refobj __unused,
     const Elf_Rel *rel __unused)
 {
-#ifdef dbg
 	dbg("reloc_jmpslot: *%p = %p", where, (void *)target);
-#endif
 	if (!ld_bind_not)
 		*where = target;
 	return (target);