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