summaryrefslogtreecommitdiff
path: root/system/binutils/ppc64-abiv2-addr2line.patch
blob: e3cb4d73d17e30f0f38463c4d0fe84513a2535df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
musl libc uses the same ELFv2 ABI on both endians of PowerPC64.

Upstream-URL: https://sourceware.org/bugzilla/show_bug.cgi?id=30916

--- binutils-2.41/binutils/testsuite/binutils-all/addr2line.exp.old	2023-07-02 18:00:00.000000000 -0500
+++ binutils-2.41/binutils/testsuite/binutils-all/addr2line.exp	2023-09-22 20:44:37.242158767 -0500
@@ -20,7 +20,7 @@
 set exe [exeext]
 
 # powerpc64 function symbols are on descriptors rather than code.
-if [istarget powerpc64-*-*] {
+if { [istarget powerpc64-*-*] && ![istarget powerpc64-*-musl] } {
     set opts --synthetic
     set dot {\.}
 }