git: b903f27e171b - stable/15 - rtld: fix powerpc build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Nov 2025 00:44:54 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=b903f27e171b120f2396de1074549e0f917156b5
commit b903f27e171b120f2396de1074549e0f917156b5
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-11-24 08:44:52 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-11-28 00:44:15 +0000
rtld: fix powerpc build
(cherry picked from commit 0628c252bd161ccdd1228a3b8aefeb471044ca04)
---
libexec/rtld-elf/powerpc/reloc.c | 4 +---
libexec/rtld-elf/powerpc64/reloc.c | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/libexec/rtld-elf/powerpc/reloc.c b/libexec/rtld-elf/powerpc/reloc.c
index a38cadfe76ba..c160028cea6d 100644
--- a/libexec/rtld-elf/powerpc/reloc.c
+++ b/libexec/rtld-elf/powerpc/reloc.c
@@ -844,10 +844,8 @@ __tls_get_addr(tls_index* ti)
void
arch_fix_auxv(Elf_Auxinfo *aux, Elf_Auxinfo *aux_info[])
{
- Elf_Auxinfo *aux;
- bool old_auxv_format;
+ Elf_Auxinfo *auxp;
- old_auxv_format = true;
for (auxp = aux; auxp->a_type != AT_NULL; auxp++) {
if (auxp->a_type == 23) /* AT_STACKPROT */
return;
diff --git a/libexec/rtld-elf/powerpc64/reloc.c b/libexec/rtld-elf/powerpc64/reloc.c
index 29c52d8fc19f..4a4107aef861 100644
--- a/libexec/rtld-elf/powerpc64/reloc.c
+++ b/libexec/rtld-elf/powerpc64/reloc.c
@@ -741,10 +741,8 @@ __tls_get_addr(tls_index* ti)
void
arch_fix_auxv(Elf_Auxinfo *aux, Elf_Auxinfo *aux_info[])
{
- Elf_Auxinfo *aux;
- bool old_auxv_format;
+ Elf_Auxinfo *auxp;
- old_auxv_format = true;
for (auxp = aux; auxp->a_type != AT_NULL; auxp++) {
if (auxp->a_type == 23) /* AT_STACKPROT */
return;