* [binutils-gdb] Fix: addr2line testsuite fails when targeting PowerPC 64 big-endian with ELFv2 ABI
@ 2023-10-05 13:50 Nick Clifton
0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2023-10-05 13:50 UTC (permalink / raw)
To: bfd-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c4e0d285cfccc6c7d90c34441cbe52a4c471e4c0
commit c4e0d285cfccc6c7d90c34441cbe52a4c471e4c0
Author: A. Wilcox <awilfox@adelielinux.org>
Date: Thu Oct 5 14:49:51 2023 +0100
Fix: addr2line testsuite fails when targeting PowerPC 64 big-endian with ELFv2 ABI
PR 30916
* testsuite/binutils-all/addr2line.exp: Do not use PowerPC specific options when working with a MUSL target.
Diff:
---
binutils/ChangeLog | 6 ++++++
binutils/testsuite/binutils-all/addr2line.exp | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index dbb5e8d094a..4d187bda5d8 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2023-10-05 A. Wilcox <awilfox@adelielinux.org>w
+
+ PR 30916
+ * testsuite/binutils-all/addr2line.exp: Do not use PowerPC
+ specific options when working with a MUSL target.
+
2023-10-02 Vsevolod Alekseyev <sevaa@sprynet.com>
PR 29267
diff --git a/binutils/testsuite/binutils-all/addr2line.exp b/binutils/testsuite/binutils-all/addr2line.exp
index 82a29d5e4e4..908090a7b44 100644
--- a/binutils/testsuite/binutils-all/addr2line.exp
+++ b/binutils/testsuite/binutils-all/addr2line.exp
@@ -20,7 +20,8 @@ set dot ""
set exe [exeext]
# powerpc64 function symbols are on descriptors rather than code.
-if [istarget powerpc64-*-*] {
+# MUSL uses the ELFv2 ABI for PowerPC, so the problem does not apply there.
+if { [istarget powerpc64-*-*] && ![istarget powerpc64-*-musl] } {
set opts --synthetic
set dot {\.}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-05 13:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-05 13:50 [binutils-gdb] Fix: addr2line testsuite fails when targeting PowerPC 64 big-endian with ELFv2 ABI Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).