aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <awilfox@adelielinux.org>2023-10-05 12:51:53 +0100
committerNick Clifton <nickc@redhat.com>2023-10-05 12:51:53 +0100
commit8023a054649541dfce3be99a5f84c8afb66f2c62 (patch)
tree88225138b3fbc2dff0fc72786404be8343cdf08a
parent693ac69b4d41453f8876512780c35ba485f7c4a1 (diff)
downloadgdb-8023a054649541dfce3be99a5f84c8afb66f2c62.zip
gdb-8023a054649541dfce3be99a5f84c8afb66f2c62.tar.gz
gdb-8023a054649541dfce3be99a5f84c8afb66f2c62.tar.bz2
Fix: ld testsuite: Thumb PLT and GOT tests should be skipped on musl armhf targets
PR 30923 * testsuite/ld-arm/thumb-plt-got.d: Skip test for configurations using the MUSL library. * testsuite/ld-arm/thumb-plt.d: Likewise.
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/testsuite/ld-arm/thumb-plt-got.d2
-rw-r--r--ld/testsuite/ld-arm/thumb-plt.d2
3 files changed, 9 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 8ff8511..140453a 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,12 @@
2023-10-05 A. Wilcox <awilfox@adelielinux.org>w
+ PR 30923
+ * testsuite/ld-arm/thumb-plt-got.d: Skip test for configurations
+ using the MUSL library.
+ * testsuite/ld-arm/thumb-plt.d: Likewise.
+
+2023-10-05 A. Wilcox <awilfox@adelielinux.org>w
+
PR 30925
PR 22001
* testsuite/ld-i386/i386.exp: Skip the pr22001 test with TEXTREL
diff --git a/ld/testsuite/ld-arm/thumb-plt-got.d b/ld/testsuite/ld-arm/thumb-plt-got.d
index 5cebae2..8ab350d 100644
--- a/ld/testsuite/ld-arm/thumb-plt-got.d
+++ b/ld/testsuite/ld-arm/thumb-plt-got.d
@@ -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
diff --git a/ld/testsuite/ld-arm/thumb-plt.d b/ld/testsuite/ld-arm/thumb-plt.d
index 596c8a9..375585e 100644
--- a/ld/testsuite/ld-arm/thumb-plt.d
+++ b/ld/testsuite/ld-arm/thumb-plt.d
@@ -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.*