1# split_s390_z2.s: s390 specific test case for -fsplit-stack -
2# zarch mode, conditional call, no add
3
4	.text
5
6	.global	fn1
7	.type	fn1,@function
8fn1:
9	.cfi_startproc
10	ear	%r1, %a0
11	c	%r15, 0x20(%r1)
12	larl	%r1, .L1
13	jgl	__morestack
14	.section .rodata
15	.align 4
16.L1:
17	.long	0x100
18	.long	0
19	.long	.L2-.L1
20	.previous
21.L2:
22	stm	%r13, %r15, 0x34(%r15)
23	.cfi_offset	%r13, -0x2c
24	.cfi_offset	%r14, -0x28
25	.cfi_offset	%r15, -0x24
26	ahi	%r15, -0x60
27	.cfi_adjust_cfa_offset	0x60
28	brasl	%r14, fn2
29	lm	%r13, %r15, 0x94(%r15)
30	.cfi_restore	%r13
31	.cfi_restore	%r14
32	.cfi_restore	%r15
33	.cfi_adjust_cfa_offset	-0x60
34	br	%r14
35	.cfi_endproc
36	.size	fn1,. - fn1
37
38	.section	.note.GNU-stack,"",@progbits
39	.section	.note.GNU-split-stack,"",@progbits
40