]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld/testsuite: move board flags to ld_link
authorClément Chigot <chigot@adacore.com>
Mon, 9 Dec 2024 10:00:07 +0000 (11:00 +0100)
committerClément Chigot <chigot@adacore.com>
Tue, 7 Jan 2025 13:07:19 +0000 (14:07 +0100)
commit15f2f44ad7013019e173487a2362acfccc2bbd18
tree23ed400168026257dc821c800ecb51f032dcceb4
parent14c460302b59a274c10f10bfd4156d8259327176
ld/testsuite: move board flags to ld_link

Both CFLAGS and LDFLAGS provided by dejagnu board configuration could be
required to perform a link.

Up to now, those flags were pulled with run_cc_link_tests and
run_ld_link_exec_tests and then passed to ld_link process as arguments.
This means that calling `ld_link` outside those functions must remember
to manually pass them.
ld/testsuite/ld-unique/unique.exp
ld/testsuite/lib/ld-lib.exp