[binutils-gdb] LD/testsuite: Remove $LDFLAGS reference from `run_ld_link_tests'
Maciej W. Rozycki
macro@sourceware.org
Thu Jul 23 18:58:39 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=90c0cb3e4f346c293a73eb0917f1b4683239fee7
commit 90c0cb3e4f346c293a73eb0917f1b4683239fee7
Author: Maciej W. Rozycki <macro@orcam.me.uk>
Date: Thu Jul 23 19:57:07 2026 +0100
LD/testsuite: Remove $LDFLAGS reference from `run_ld_link_tests'
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
- set ld_extra_opt $LDFLAGS
+ set ld_extra_opt ""
if [check_relro_support] {
append ld_extra_opt " -z norelro"
}
More information about the Binutils-cvs
mailing list