]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[SFrame-V3] Revert "gas: sframe: testsuite: add testcase for .cfi_register RA" users/ibhagat/sframe-v3-c1
authorIndu Bhagat <indu.bhagat@oracle.com>
Sun, 7 Dec 2025 01:09:44 +0000 (17:09 -0800)
committerIndu Bhagat <indu.bhagat@oracle.com>
Tue, 9 Dec 2025 08:26:15 +0000 (00:26 -0800)
This reverts commit b6265522917c513861db93c2c942368dfb14faec.

The original commit is a part of the preparatory patch series for SFrame
V3.  The removed test is hence, not present on master.

gas/testsuite/gas/cfi-sframe/cfi-sframe-x86_64-empty-5.d [deleted file]
gas/testsuite/gas/cfi-sframe/cfi-sframe-x86_64-empty-5.s [deleted file]
gas/testsuite/gas/cfi-sframe/cfi-sframe.exp

diff --git a/gas/testsuite/gas/cfi-sframe/cfi-sframe-x86_64-empty-5.d b/gas/testsuite/gas/cfi-sframe/cfi-sframe-x86_64-empty-5.d
deleted file mode 100644 (file)
index a086e6e..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#as: --gsframe
-#warning: RA register 16 in \.cfi\_register
-#objdump: --sframe=.sframe
-#name: DW_CFA_register with RA register
-#...
-Contents of the SFrame section .sframe:
-
-  Header :
-
-    Version: SFRAME_VERSION_3
-    Flags: SFRAME_F_FDE_FUNC_START_PCREL
-#?    CFA fixed FP offset: \-?\d+
-#?    CFA fixed RA offset: \-?\d+
-    Num FDEs: 0
-    Num FREs: 0
-
-#pass
diff --git a/gas/testsuite/gas/cfi-sframe/cfi-sframe-x86_64-empty-5.s b/gas/testsuite/gas/cfi-sframe/cfi-sframe-x86_64-empty-5.s
deleted file mode 100644 (file)
index 9a7bc31..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# Testcase to ensure .cfi_register for RA is not treated as safe to skip.
-# Even for ABIs which do not track RA, an explicit manouver of RA like so
-# cannot be represented.  The expectation is that such a pattern is caught and
-# SFrame FDE is skipped. Such a sequence may be used in longjump implementation
-# on x86_64, for instance.
-       .cfi_startproc
-       .long 0
-       .cfi_def_cfa_offset 16
-       .cfi_register 16, 9
-       .long 0
-       .cfi_endproc
index bb1cbbf3d71062f3a72cc978779720a9fdb90148..aefa4c91d4983f1cf77bb9bd5e81197d2282e1d0 100644 (file)
@@ -72,7 +72,6 @@ if { [istarget "x86_64-*-*"] && [gas_sframe_check] } then {
        run_dump_test "cfi-sframe-x86_64-empty-2"
        run_dump_test "cfi-sframe-x86_64-empty-3"
        run_dump_test "cfi-sframe-x86_64-empty-4"
-       run_dump_test "cfi-sframe-x86_64-empty-5"
        run_dump_test "cfi-sframe-x86_64-empty-pr33277"
        run_dump_test "cfi-sframe-x86_64-ra-undefined-1"
        set ASFLAGS "$old_ASFLAGS"