aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin/lto.exp
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-04-27 09:09:41 +0930
committerAlan Modra <amodra@gmail.com>2022-04-27 12:13:29 +0930
commit16538271c82db0ba5679344c4107564b70a756a1 (patch)
treec04672a0bac8451bda2bdc369576a21b60476bc4 /ld/testsuite/ld-plugin/lto.exp
parent019a5c62974523a3331911130c66350ef0a6f3c4 (diff)
downloadgdb-16538271c82db0ba5679344c4107564b70a756a1.zip
gdb-16538271c82db0ba5679344c4107564b70a756a1.tar.gz
gdb-16538271c82db0ba5679344c4107564b70a756a1.tar.bz2
Revert pr29072 lto test changes
Revert commit 65daf5bed6 testsuite changes in ld-plugin/. -z isn't supported for non-ELF targets, and isn't needed since we now prune the exec stack warning (commit 333cd559ba). PR 29072
Diffstat (limited to 'ld/testsuite/ld-plugin/lto.exp')
-rw-r--r--ld/testsuite/ld-plugin/lto.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp
index 33af6c4..f4ea1d4 100644
--- a/ld/testsuite/ld-plugin/lto.exp
+++ b/ld/testsuite/ld-plugin/lto.exp
@@ -127,7 +127,7 @@ set lto_link_tests [list \
"" "-flto -O2 $lto_fat $NOSANITIZE_CFLAGS" \
{pr12758b.c} {} "libpr12758.a"] \
[list "PR ld/12758" \
- "$NOPIE_LDFLAGS $NOSANITIZE_CFLAGS -O2 -Wl,-e,foo -nostdlib -flto -fuse-linker-plugin tmpdir/pr12758a.o -Wl,--start-group tmpdir/libpr12758.a -Wl,--end-group -z noexecstack" \
+ "$NOPIE_LDFLAGS $NOSANITIZE_CFLAGS -O2 -Wl,-e,foo -nostdlib -flto -fuse-linker-plugin tmpdir/pr12758a.o -Wl,--start-group tmpdir/libpr12758.a -Wl,--end-group" \
"$NOSANITIZE_CFLAGS" \
{dummy.c} {} "pr12758.exe"] \
[list "Build libpr13183.a" \
@@ -901,7 +901,7 @@ run_cc_link_tests $lto_link_symbol_tests
run_ld_link_tests [list \
[list "PR ld/19317 (2)" \
- "-r tmpdir/pr19317.o -z noexecstack" "" "" \
+ "-r tmpdir/pr19317.o" "" "" \
{dummy.s} {} "pr19317-r.o"] \
]