]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld/testsuite: move board flags to ld_link users/chigot/try-lto-board-flags
authorClément Chigot <chigot@adacore.com>
Mon, 9 Dec 2024 10:00:07 +0000 (11:00 +0100)
committerClément Chigot <chigot@adacore.com>
Mon, 6 Jan 2025 13:01:09 +0000 (14:01 +0100)
commit7edefdf710da60f0aa8fa3579df0d6159d42af3a
treefc264f31466134682fbb2ad10afaa3009fc82267
parente88c452e6f0cb1cfe75f988c36821bdc1f67b01c
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