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

Message ID CAMe9rOowv9OR9c7wJTerxsB2VUwFLWUb0P9e_vMqSUsgkj8K0g@mail.gmail.com
State New
Headers
Series [COMMITTED] ld-elf/linux-x86.exp: Remove $options in readelf log |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_binutils_build--master-arm fail Patch failed to apply

Commit Message

H.J. Lu June 28, 2026, 10:52 p.m. UTC
  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.
  

Patch

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(-)

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