[gdb/testsuite] Use pie/nopie instead of ldflags=-pie/-no-pie
authorTom de Vries <tdevries@suse.de>
Fri, 24 Sep 2021 10:39:14 +0000 (12:39 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 24 Sep 2021 10:39:14 +0000 (12:39 +0200)
commitdbb17692ecd743aa0ee81d138442c63121a17cd4
treefbc66db58f42160eb04ea8dfeb620d86cc9e5236
parentb4e4386a2e58ba6ce8d02b952f1bc6ceb8fc95d1
[gdb/testsuite] Use pie/nopie instead of ldflags=-pie/-no-pie

I noticed two test-case that use ldflags=-pie and ldflags-no-pie, instead of
the canonical pie and nopie options, which would typically also add
additional_flags=-fPIE respectively additional_flags=-fno-pie.

There is no indication that this is on purpose, so replace these with pie and
nopie.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/load-command.exp
gdb/testsuite/gdb.dwarf2/fission-loclists-pie.exp