[COMMITTED] ld-elf/linux-x86.exp: Remove $options in readelf log
Checks
Commit Message
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.
From 4444295fd9ee296a02ee2a705abf5927b985ebae Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hjl.tools@gmail.com>
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 <hjl.tools@gmail.com>
---
ld/testsuite/ld-elf/linux-x86.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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