aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/split_s390_1_z1.s
blob: 42adf55ff82be577cff25318fd3cb6971af60110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# split_s390_z3.s: s390 specific test case for -fsplit-stack -
# zarch mode, unconditional call

	.text

	.global	fn1
	.type	fn1,@function
fn1:
	.cfi_startproc
	larl	%r1, .L1
	jg	__morestack
	.section .rodata
	.align 4
.L1:
	.long	0x100000
	.long	0
	.long	.L2-.L1
	.previous
.L2:
	stm	%r13, %r15, 0x34(%r15)
	.cfi_offset	%r13, -0x2c
	.cfi_offset	%r14, -0x28
	.cfi_offset	%r15, -0x24
	ahi	%r15, -0x60
	.cfi_adjust_cfa_offset	0x60
	brasl	%r14, fn2
	lm	%r13, %r15, 0x94(%r15)
	.cfi_restore	%r13
	.cfi_restore	%r14
	.cfi_restore	%r15
	.cfi_adjust_cfa_offset	-0x60
	br	%r14
	.cfi_endproc
	.size	fn1,. - fn1

	.section	.note.GNU-stack,"",@progbits
	.section	.note.GNU-split-stack,"",@progbits