summaryrefslogtreecommitdiff
path: root/system/binutils/skip-thumb-plt-musl.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/skip-thumb-plt-musl.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/skip-thumb-plt-musl.patch')
-rw-r--r--system/binutils/skip-thumb-plt-musl.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/system/binutils/skip-thumb-plt-musl.patch b/system/binutils/skip-thumb-plt-musl.patch
new file mode 100644
index 000000000..f88500de2
--- /dev/null
+++ b/system/binutils/skip-thumb-plt-musl.patch
@@ -0,0 +1,28 @@
+The file offsets are different causing this test to fail on hard-float EABI targets.
+
+Add musl target triplet alongside the glibc one.
+
+Upstream-URL: https://sourceware.org/bugzilla/show_bug.cgi?id=30923
+
+--- binutils-2.41/ld/testsuite/ld-arm/thumb-plt.d.old 2023-07-02 23:00:00.000000000 +0000
++++ binutils-2.41/ld/testsuite/ld-arm/thumb-plt.d 2023-09-30 11:03:51.611314942 +0000
+@@ -2,7 +2,7 @@
+ #name: Thumb only PLT and GOT
+ #ld: -shared -e0 -z max-page-size=0x10000
+ #objdump: -dr
+-#skip: *-*-pe *-*-wince *-*-vxworks armeb-*-* *-*-gnueabihf
++#skip: *-*-pe *-*-wince *-*-vxworks armeb-*-* *-*-gnueabihf *-*-musleabihf
+
+ .*: +file format .*arm.*
+
+--- binutils-2.41/ld/testsuite/ld-arm/thumb-plt-got.d.old 2023-07-02 23:00:00.000000000 +0000
++++ binutils-2.41/ld/testsuite/ld-arm/thumb-plt-got.d 2023-09-30 11:04:19.175314931 +0000
+@@ -2,7 +2,7 @@
+ #name: Thumb only PLT and GOT LSB Symbol
+ #ld: -shared -e0 -z max-page-size=0x10000
+ #readelf: -rx .got
+-#skip: *-*-pe *-*-wince *-*-vxworks armeb-*-* *-*-gnueabihf
++#skip: *-*-pe *-*-wince *-*-vxworks armeb-*-* *-*-gnueabihf *-*-musleabihf
+
+ Relocation section '.rel.plt' at offset 0x108 contains 1 entry:
+ Offset Info Type Sym.Value Sym. Name