GNU Binutils with patches for OS216
修訂 | 8a28fa1b4beb3b4c77c9b3963f1e32235591470d (tree) |
---|---|
時間 | 2018-08-03 00:37:12 |
作者 | Nick Clifton <nickc@redh...> |
Commiter | Nick Clifton |
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.
@@ -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 | + | |
1 | 8 | 2018-08-02 H.J. Lu <hongjiu.lu@intel.com> |
2 | 9 | |
3 | 10 | * testsuite/ld-ifunc/ifunc.exp: Always build static_nonifunc_prog. |
@@ -26,7 +33,7 @@ | ||
26 | 33 | 2018-08-01 Nick Clifton <nickc@redhat.com> |
27 | 34 | |
28 | 35 | 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 | |
30 | 37 | target. |
31 | 38 | |
32 | 39 | 2018-08-01 Alan Modra <amodra@gmail.com> |
@@ -262,9 +262,6 @@ set lto_link_elf_tests [list \ | ||
262 | 262 | [list "Build liblto-17b.so 2" \ |
263 | 263 | "-shared -O2 -fpic -flto -fuse-linker-plugin tmpdir/lto-17a.o" "-O2 -fpic -flto" \ |
264 | 264 | {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"] \ | |
268 | 265 | [list "PR ld/12975" \ |
269 | 266 | "-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib -Wl,-version-script,pr12975.t" "-O2 -flto" \ |
270 | 267 | {pr12975.c} {{"readelf" {-s --wide} "pr12975.d"}} "pr12975.so" "c"] \ |
@@ -328,6 +325,18 @@ if { ! [istarget "arm*-*-*"] } { | ||
328 | 325 | ]] |
329 | 326 | } |
330 | 327 | |
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 | + | |
331 | 340 | # Check final symbols in executables. |
332 | 341 | set lto_link_symbol_tests [list \ |
333 | 342 | [list "LTO 3 symbol" \ |
@@ -1,7 +1,5 @@ | ||
1 | -#skip: hppa*-*-* | |
2 | 1 | #failif |
3 | 2 | #... |
4 | 3 | +GNU_STACK .* RWE .* |
5 | 4 | #pass |
6 | 5 | |
7 | -# The skip for HPPA is because this target always needs an executable stack. |