Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2025 00:44:54 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: b903f27e171b - stable/15 - rtld: fix powerpc build
Message-ID:  <6928f086.23b76.54493994@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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;


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6928f086.23b76.54493994>