]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: Move gas_sframe_check to binutils-common.exp
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 13 Jul 2025 20:45:43 +0000 (04:45 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 13 Jul 2025 22:10:52 +0000 (06:10 +0800)
commitef7a634dc01df3d78f208c93316b52937d3fe8f4
treee7b3a333896110f21caa4a0f489508a9d46de57b
parentbc70787663633d783f42aa5368a2203e08e95431
gas: Move gas_sframe_check to binutils-common.exp

Move gas_sframe_check to binutils-common.exp so that it can be used in
linker tests to check if a target assembler supports --gsframe.

binutils/

PR ld/33146
* testsuite/lib/binutils-common.exp (gas_sframe_check): Moved
from cfi-sframe.exp.  Replace gas_host_run with remote_exec.

gas/

PR ld/33146
* testsuite/gas/cfi-sframe/cfi-sframe.exp (gas_sframe_check):
Moved to binutils-common.exp.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
binutils/testsuite/lib/binutils-common.exp
gas/testsuite/gas/cfi-sframe/cfi-sframe.exp