From 8023a054649541dfce3be99a5f84c8afb66f2c62 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 5 Oct 2023 12:51:53 +0100 Subject: [PATCH] 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. --- ld/ChangeLog | 7 +++++++ ld/testsuite/ld-arm/thumb-plt-got.d | 2 +- ld/testsuite/ld-arm/thumb-plt.d | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 8ff8511bc6b..140453a0f35 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2023-10-05 A. Wilcox 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 w PR 30925 diff --git a/ld/testsuite/ld-arm/thumb-plt-got.d b/ld/testsuite/ld-arm/thumb-plt-got.d index 5cebae23d45..8ab350d38b1 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 596c8a949df..375585e8b40 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.* -- 2.30.2