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 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 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 {\.} }