[committed,Arm] : Skip Thumb2 PLT tests on NaCL.

Message ID 20200401180851.GA26702@arm.com
State New
Headers show
Series
  • [committed,Arm] : Skip Thumb2 PLT tests on NaCL.
Related show

Commit Message

Tamar Christina April 1, 2020, 6:08 p.m.
Hi All,

NaCL does not support dynamic linking and so these tests should be
skipped under it.

Cross-compiled and regtested on
  arm-none-nacl

and no issues.

Committed under the obvious rule.

Thanks,
Tamar

ld/ChangeLog:

2020-04-01  Tamar Christina  <tamar.christina@arm.com>

	PR ld/16017
	* testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL.

--

Patch

diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp
index 59e68de800bdcd53b51fd44b28972e53f7f141c8..0bd4ccac1046016287fe66a0663011e708f4abe7 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"
+}