From 3ce23ca1de4c769c4b7247f0724a10ef5fb24a11 Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Wed, 1 Apr 2020 18:31:22 +0100 Subject: [PATCH] Arm: Skip Thumb2 PLT tests on NaCL. NaCL does not support dynamic linking and so these tests should be skipped under it. ld/ChangeLog: PR ld/16017 * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL. --- ld/ChangeLog | 5 +++++ ld/testsuite/ld-arm/arm-elf.exp | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index b1e9f530c16..1395fb24dc8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2020-04-01 Tamar Christina + + PR ld/16017 + * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL. + 2020-04-01 Nick Clifton PR ld/25747 diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp index 59e68de800b..0bd4ccac104 100644 --- a/ld/testsuite/ld-arm/arm-elf.exp +++ b/ld/testsuite/ld-arm/arm-elf.exp @@ -1269,5 +1269,7 @@ run_dump_test "non-contiguous-arm4" run_dump_test "non-contiguous-arm5" run_dump_test "non-contiguous-arm6" -run_dump_test "thumb-plt" -run_dump_test "thumb-plt-got" +if { ![istarget "arm*-*-nacl*"] } { + run_dump_test "thumb-plt" + run_dump_test "thumb-plt-got" +} -- 2.30.2