summaryrefslogtreecommitdiff
path: root/system/binutils/skip-thumb-plt-musl.patch
blob: f88500de283c72aae27200e339a3cfa4a7656ec4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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