• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

修訂8a28fa1b4beb3b4c77c9b3963f1e32235591470d (tree)
時間2018-08-03 00:37:12
作者Nick Clifton <nickc@redh...>
CommiterNick Clifton

Log Message

Disable the PR12982 test for HPPA targets.

PR 23463
* testsuite/ld-plugin/pr12982.d: Revert previous delta.
* testsuite/ld-plugin/lto.exp: Skip the pr12982 test for HPPA
targets.

Change Summary

差異

--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,10 @@
1+2018-08-02 Nick Clifton <nickc@redhat.com>
2+
3+ PR 23463
4+ * testsuite/ld-plugin/pr12982.d: Revert previous delta.
5+ * testsuite/ld-plugin/lto.exp: Skip the pr12982 test for HPPA
6+ targets.
7+
18 2018-08-02 H.J. Lu <hongjiu.lu@intel.com>
29
310 * testsuite/ld-ifunc/ifunc.exp: Always build static_nonifunc_prog.
@@ -26,7 +33,7 @@
2633 2018-08-01 Nick Clifton <nickc@redhat.com>
2734
2835 PR 23463
29- * testsuite/ld-plugin/pr12982.d: Skip thios test for the HPPA
36+ * testsuite/ld-plugin/pr12982.d: Skip this test for the HPPA
3037 target.
3138
3239 2018-08-01 Alan Modra <amodra@gmail.com>
--- a/ld/testsuite/ld-plugin/lto.exp
+++ b/ld/testsuite/ld-plugin/lto.exp
@@ -262,9 +262,6 @@ set lto_link_elf_tests [list \
262262 [list "Build liblto-17b.so 2" \
263263 "-shared -O2 -fpic -flto -fuse-linker-plugin tmpdir/lto-17a.o" "-O2 -fpic -flto" \
264264 {lto-17b.c} {{"nm" {} "lto-17b-2.d"}} "liblto-17b.so"] \
265- [list "PR ld/12982" \
266- "-O2 -flto -fuse-linker-plugin" "-O2 -flto" \
267- {pr12982.c} {{"readelf" {-l --wide} "pr12982.d"}} "pr12982.exe"] \
268265 [list "PR ld/12975" \
269266 "-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib -Wl,-version-script,pr12975.t" "-O2 -flto" \
270267 {pr12975.c} {{"readelf" {-s --wide} "pr12975.d"}} "pr12975.so" "c"] \
@@ -328,6 +325,18 @@ if { ! [istarget "arm*-*-*"] } {
328325 ]]
329326 }
330327
328+# PR 12982 checks that an executable stack is not created by default
329+# when using the LTO plugin. The HPPA target however requires an
330+# executable stack for syscall restarts and signal returns, so we
331+# skip this test for that target.
332+if { ! [istarget "hppa*-*-*"] } {
333+ set lto_link_elf_tests [concat $lto_link_elf_tests [list \
334+ [list "PR ld/12982" \
335+ "-O2 -flto -fuse-linker-plugin" "-O2 -flto" \
336+ {pr12982.c} {{"readelf" {-l --wide} "pr12982.d"}} "pr12982.exe"] \
337+ ]]
338+}
339+
331340 # Check final symbols in executables.
332341 set lto_link_symbol_tests [list \
333342 [list "LTO 3 symbol" \
--- a/ld/testsuite/ld-plugin/pr12982.d
+++ b/ld/testsuite/ld-plugin/pr12982.d
@@ -1,7 +1,5 @@
1-#skip: hppa*-*-*
21 #failif
32 #...
43 +GNU_STACK .* RWE .*
54 #pass
65
7-# The skip for HPPA is because this target always needs an executable stack.