aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-s390/sframe-plt-1.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-s390/sframe-plt-1.d')
-rw-r--r--ld/testsuite/ld-s390/sframe-plt-1.d29
1 files changed, 29 insertions, 0 deletions
diff --git a/ld/testsuite/ld-s390/sframe-plt-1.d b/ld/testsuite/ld-s390/sframe-plt-1.d
new file mode 100644
index 0000000..db09030
--- /dev/null
+++ b/ld/testsuite/ld-s390/sframe-plt-1.d
@@ -0,0 +1,29 @@
+#as: --gsframe
+#source: sframe-foo.s
+#source: sframe-bar.s
+#objdump: --sframe=.sframe
+#ld: -shared --no-rosegment
+#name: SFrame for plt0 and pltN
+
+.*: +file format .*
+
+Contents of the SFrame section .sframe:
+ Header :
+
+ Version: SFRAME_VERSION_2
+ Flags: SFRAME_F_FDE_SORTED,
+ SFRAME_F_FDE_FUNC_START_PCREL
+ Num FDEs: 4
+ Num FREs: 8
+
+ Function Index :
+
+ func idx \[0\]: pc = 0x1e8, size = 32 bytes
+ STARTPC +CFA +FP +RA +
+ 0+1e8 +sp\+160 +u +u +
+
+ func idx \[1\]: pc = 0x208, size = 32 bytes
+ STARTPC\[m\] +CFA +FP +RA +
+ 0+0 +sp\+160 +u +u +
+
+#...