diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 3ae045af6c..3712199c4b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2021-03-03 Markus Metzger + + * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags. + 2021-03-03 Markus Metzger * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with diff --git a/gdb/testsuite/gdb.btrace/unknown_functions.exp b/gdb/testsuite/gdb.btrace/unknown_functions.exp index 5dfd8d1070..dc52d75c0f 100644 --- a/gdb/testsuite/gdb.btrace/unknown_functions.exp +++ b/gdb/testsuite/gdb.btrace/unknown_functions.exp @@ -29,7 +29,7 @@ standard_testfile # # Also discard local symbols. if [prepare_for_testing "failed to prepare" $testfile $srcfile \ - {additional_flags=-Wl,-x nopie}] { + {ldflags=-Wl,-x nopie}] { return -1 }