[binutils-gdb] ld-elf/linux-x86.exp: Remove $options in readelf log

"H.J. Lu via Binutils-cvs" <[email protected]> Sun, 28 Jun 2026 22:51:54 +0000 (GMT)
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4444295fd9ee296a02ee2a705abf5927b985ebae

commit 4444295fd9ee296a02ee2a705abf5927b985ebae
Author: H.J. Lu <[email protected]>
Date:   Mon Jun 29 06:49:53 2026 +0800

    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]>

Diff:
---
 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"