[COMMITTED, PATCH] ld-elf/linux-x86.exp: Remove $options in readelf log

"H.J. Lu" <[email protected]>
Newsgroups gmane.comp.gnu.binutils
Message-ID <CAMe9rOowv9OR9c7wJTerxsB2VUwFLWUb0P9e_vMqSUsgkj8K0g@mail.gmail.com>
Remove $options in readelf log since it isn't passed to readelf.

* testsuite/ld-elf/linux-x86.exp (elfedit_test): Remove $options
in readelf log.

-- 
H.J.
0001-ld-elf-linux-x86.exp-Remove-options-in-readelf-log.patch (text/x-patch, 1.1 KB)
From 4444295fd9ee296a02ee2a705abf5927b985ebae Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <[email protected]>
Date: Mon, 29 Jun 2026 06:49:53 +0800
Subject: [PATCH] ld-elf/linux-x86.exp: Remove $options in readelf log

Remove $options in readelf log since it isn't passed to readelf.

	* testsuite/ld-elf/linux-x86.exp (elfedit_test): Remove $options
	in readelf log.

Signed-off-by: H.J. Lu <[email protected]>
---
 ld/testsuite/ld-elf/linux-x86.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ld/testsuite/ld-elf/linux-x86.exp b/ld/testsuite/ld-elf/linux-x86.exp
index fe05040937a..fc05fe55ced 100644
--- a/ld/testsuite/ld-elf/linux-x86.exp
+++ b/ld/testsuite/ld-elf/linux-x86.exp
@@ -288,7 +288,7 @@ proc elfedit_test { options test output } {
 	send_log "$got\n"
 	fail "$test_name"
     }
-    send_log "$READELF -n $options tmpdir/$test > tmpdir/$output.out\n"
+    send_log "$READELF -n tmpdir/$test > tmpdir/$output.out\n"
     set got [remote_exec host "$READELF -n tmpdir/$test" "" "/dev/null" "tmpdir/$output.out"]
     if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then {
 	send_log "$got\n"
-- 
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.