[binutils-gdb/binutils-2_45-branch] Oops - test files accidentally omitted from previous deltas

Nick Clifton nickc@sourceware.org
Sun Jul 27 08:21:54 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=57ab0c3f82077ebd750a54fe5dc43739c1570d6a

commit 57ab0c3f82077ebd750a54fe5dc43739c1570d6a
Author: Nick Clifton <nickc@redhat.com>
Date:   Sun Jul 27 09:21:48 2025 +0100

    Oops - test files accidentally omitted from previous deltas

Diff:
---
 .../testsuite/binutils-all/x86-64/objdump-sframe-01.d  | 18 ++++++++++++++++++
 .../testsuite/binutils-all/x86-64/readelf-sframe-01.d  | 18 ++++++++++++++++++
 binutils/testsuite/binutils-all/x86-64/sframe-func.s   | 11 +++++++++++
 3 files changed, 47 insertions(+)

diff --git a/binutils/testsuite/binutils-all/x86-64/objdump-sframe-01.d b/binutils/testsuite/binutils-all/x86-64/objdump-sframe-01.d
new file mode 100644
index 00000000000..cca83cbf09b
--- /dev/null
+++ b/binutils/testsuite/binutils-all/x86-64/objdump-sframe-01.d
@@ -0,0 +1,18 @@
+#PROG:objcopy
+#name: objdump dump SFrame section .sframe2
+#source: sframe-func.s
+#as: --gsframe
+#objcopy: --rename-section .sframe=.sframe2
+#objdump: --sframe=.sframe2
+#target: x86_64-*-*
+#xfail: ![gas_sframe_check]
+
+#...
+  Header :
+
+    Version: SFRAME_VERSION_2
+    Flags: SFRAME_F_FDE_FUNC_START_PCREL
+    CFA fixed RA offset: -8
+    Num FDEs: 1
+    Num FREs: 4
+#pass
diff --git a/binutils/testsuite/binutils-all/x86-64/readelf-sframe-01.d b/binutils/testsuite/binutils-all/x86-64/readelf-sframe-01.d
new file mode 100644
index 00000000000..a6973d832a4
--- /dev/null
+++ b/binutils/testsuite/binutils-all/x86-64/readelf-sframe-01.d
@@ -0,0 +1,18 @@
+#PROG:objcopy
+#name: readelf dump SFrame section .sframe2
+#source: sframe-func.s
+#as: --gsframe
+#objcopy: --rename-section .sframe=.sframe2
+#readelf: --sframe=.sframe2
+#target: x86_64-*-*
+#xfail: ![gas_sframe_check]
+
+#...
+  Header :
+
+    Version: SFRAME_VERSION_2
+    Flags: SFRAME_F_FDE_FUNC_START_PCREL
+    CFA fixed RA offset: -8
+    Num FDEs: 1
+    Num FREs: 4
+#pass
diff --git a/binutils/testsuite/binutils-all/x86-64/sframe-func.s b/binutils/testsuite/binutils-all/x86-64/sframe-func.s
new file mode 100644
index 00000000000..cbd83c38d67
--- /dev/null
+++ b/binutils/testsuite/binutils-all/x86-64/sframe-func.s
@@ -0,0 +1,11 @@
+	.cfi_sections .sframe
+	.cfi_startproc
+	.long 8
+	.cfi_def_cfa_offset 16
+	.cfi_offset 6, -16
+	.long 8
+	.cfi_def_cfa_register 6
+	.long 8
+	.cfi_def_cfa 7, 8
+	.long 8
+	.cfi_endproc


More information about the Binutils-cvs mailing list