[binutils-gdb] LD/testsuite: Remove $LDFLAGS reference from `run_ld_link_tests'
"Maciej W. Rozycki via Binutils-cvs" <[email protected]> Thu, 23 Jul 2026 18:58:39 +0000 (GMT)
| Newsgroups | gmane.comp.gnu.binutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D90c0cb3e4f34= 6c293a73eb0917f1b4683239fee7 commit 90c0cb3e4f346c293a73eb0917f1b4683239fee7 Author: Maciej W. Rozycki <[email protected]> Date: Thu Jul 23 19:57:07 2026 +0100 LD/testsuite: Remove $LDFLAGS reference from `run_ld_link_tests' =20 Fix commit 24602a75d128 ("ld: Append LDFLAGS to flags variable in default_ld_link") and prevent $LDFLAGS from being included twice in LD invocations made via `run_ld_link_tests', effectively reverting that part of commit 740341b9be65 ("Provide dummy libraries for alpha-vms"). Diff: --- ld/testsuite/lib/ld-lib.exp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 5da81424cb5..25722d86f52 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -511,7 +511,6 @@ proc ar_simple_create { ar aropts target objects } { # proc run_ld_link_tests { ldtests args } { global ld - global LDFLAGS global as global nm global ar @@ -524,7 +523,7 @@ proc run_ld_link_tests { ldtests args } { global runtests global exec_output =20 - set ld_extra_opt $LDFLAGS + set ld_extra_opt "" if [check_relro_support] { append ld_extra_opt " -z norelro" }