summaryrefslogtreecommitdiff
path: root/system/binutils/ppc64-abiv2-addr2line.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-09-22 23:51:50 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-03 21:56:52 -0500
commit2c9ea8d0ea3c4510b5a4c9314c84c4444c933726 (patch)
tree856b85bc2e61dd819f3e9a77d2331338cf290561 /system/binutils/ppc64-abiv2-addr2line.patch
parentb7807f42fbd231b0783eb0d26fd60b63153ca6d9 (diff)
downloadpackages-2c9ea8d0ea3c4510b5a4c9314c84c4444c933726.tar.gz
packages-2c9ea8d0ea3c4510b5a4c9314c84c4444c933726.tar.bz2
packages-2c9ea8d0ea3c4510b5a4c9314c84c4444c933726.tar.xz
packages-2c9ea8d0ea3c4510b5a4c9314c84c4444c933726.zip
system/binutils: Update to 2.41
* Vastly updated with significant features and target support. * All tests are enabled now and passing! Note: ARMv7 tests require the commit directly before this to be applied to system/gcc. Fixes: #652, #668, #1070
Diffstat (limited to 'system/binutils/ppc64-abiv2-addr2line.patch')
-rw-r--r--system/binutils/ppc64-abiv2-addr2line.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/binutils/ppc64-abiv2-addr2line.patch b/system/binutils/ppc64-abiv2-addr2line.patch
new file mode 100644
index 000000000..e3cb4d73d
--- /dev/null
+++ b/system/binutils/ppc64-abiv2-addr2line.patch
@@ -0,0 +1,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 {\.}
+ }