]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld-elf/linux-x86.exp: Remove $options in readelf log
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 28 Jun 2026 22:49:53 +0000 (06:49 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 28 Jun 2026 22:49:53 +0000 (06:49 +0800)
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

index fe05040937aef232b2c1f6280537a936859f8058..fc05fe55ced38a51436ac0f7f2b53a70b2c7902c 100644 (file)
@@ -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"