summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Mehnert <frank.mehnert@kernkonzept.com>2025-01-07 10:23:39 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-07 10:28:06 +0100
commit1de51fb74b68a94207384021a878c1a3035d2aff (patch)
tree510a56101cf530fe80d9377fd2afc772fe3161fb
parent5896cb551cd402c50c7af3037d71b356559fc7b0 (diff)
prevent warning about setting an unused variable
Signed-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>
-rw-r--r--libc/misc/internals/reloc_static_pie.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/internals/reloc_static_pie.c b/libc/misc/internals/reloc_static_pie.c
index cb2c4df87..3bbdef18e 100644
--- a/libc/misc/internals/reloc_static_pie.c
+++ b/libc/misc/internals/reloc_static_pie.c
@@ -107,6 +107,8 @@ reloc_static_pie(ElfW(Addr) load_addr)
PERFORM_BOOTSTRAP_RELOC(rpnt, reloc_addr, symbol_addr, load_addr, sym);
}
}
+#else
+ (void)rel_size;
#endif
}
_dl_load_base = load_addr;