ld/testsuite: force warnings when dealing with execstack tests
authorClément Chigot <chigot@adacore.com>
Wed, 14 Sep 2022 11:12:32 +0000 (13:12 +0200)
committerClément Chigot <chigot@adacore.com>
Wed, 28 Sep 2022 14:19:28 +0000 (16:19 +0200)
commit9cfd4ed49d84fb0fc8c4c152297a95958514b6cb
tree9ae6f5125df91aa138beb21f3a4a6d8a577665ea
parente2bae06cf91bd6d505705432eebc32cb246a690b
ld/testsuite: force warnings when dealing with execstack tests

Binutils can be configured to avoid printing the execstack or RWD
segment warnings. In this case, the first test of PR ld/29072 will fail.
Fix that by always manually forcing the warnings for it.

ld/ChangeLog:

* testsuite/ld-elf/elf.exp (PR ld/29072): Force execstack and
RWD segment warnings.
ld/testsuite/ld-elf/elf.exp