[PATCH] run_lto_binutils_test: Pass $plug_opt to nm
H.J. Lu
hjl.tools@gmail.com
Fri Aug 8 19:06:47 GMT 2025
Pass $plug_opt to nm when setting dump_prog to nm to load plugin.
PR binutils/21479
* testsuite/ld-plugin/lto-binutils.exp (run_lto_binutils_test):
Pass $plug_opt to nm.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
---
ld/testsuite/ld-plugin/lto-binutils.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ld/testsuite/ld-plugin/lto-binutils.exp b/ld/testsuite/ld-plugin/lto-binutils.exp
index de017f0b946..4970e2282cb 100644
--- a/ld/testsuite/ld-plugin/lto-binutils.exp
+++ b/ld/testsuite/ld-plugin/lto-binutils.exp
@@ -125,7 +125,7 @@ proc run_lto_binutils_test { lto_tests } {
objdump
{ set dump_prog $objdump }
nm
- { set dump_prog $nm }
+ { set dump_prog "$nm $plug_opt" }
readelf
{ set dump_prog $READELF }
default
--
2.50.1
More information about the Binutils
mailing list