diff options
Diffstat (limited to 'system/binutils/skip-thumb-plt-musl.patch')
-rw-r--r-- | system/binutils/skip-thumb-plt-musl.patch | 28 |
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 |