[PATCH] Disable --long-plt test for arm-nacl targets.
Roland McGrath
mcgrathr@google.com
Fri Feb 28 18:00:00 GMT 2014
The --long-plt switch is a no-op (and unnecessary) for arm-nacl targets.
The test case does not apply.
OK for trunk?
Thanks,
Roland
ld/testsuite/
2014-02-28 Roland McGrath <mcgrathr@google.com>
* ld-arm/arm-elf.exp (armelftests_common): Move long-plt case ...
(armelftests_nonacl): ... here.
--- a/ld/testsuite/ld-arm/arm-elf.exp
+++ b/ld/testsuite/ld-arm/arm-elf.exp
@@ -188,10 +188,6 @@ set armelftests_common {
"" {exec-got-1b.s}
{{readelf --relocs exec-got-1.d}}
"exec-got-1"}
- {"Long PLT entries in executables" "--long-plt -shared
--section-start=.plt=0x200 --section-start=.got=0xf0000300" ""
- "" {long-plt-format.s}
- {{objdump "-d -j .plt" long-plt-format.d}}
- "long-plt-format"}
{"abs call" "-T arm.ld" "" "" {abs-call-1.s}
{{objdump -d abs-call-1.d}}
"abs-call-1"}
@@ -460,6 +456,10 @@ set armelftests_nonacl {
{objdump {-s -j.data -j.got} ifunc-17.gd}
{readelf -r ifunc-17.rd}}
"ifunc-17"}
+ {"Long PLT entries in executables" "--long-plt -shared
--section-start=.plt=0x200 --section-start=.got=0xf0000300" ""
+ "" {long-plt-format.s}
+ {{objdump "-d -j .plt" long-plt-format.d}}
+ "long-plt-format"}
}
run_ld_link_tests $armelftests_common
More information about the Binutils
mailing list