Commit | Line | Data |
---|---|---|
2b63aca3 MK |
1 | # split_s390x_1_z1.s: s390x specific test case for -fsplit-stack - |
2 | # unconditional call. | |
3 | ||
4 | .text | |
5 | ||
6 | .global fn1 | |
7 | .type fn1,@function | |
8 | fn1: | |
9 | .cfi_startproc | |
10 | larl %r1, .L1 | |
11 | jg __morestack | |
12 | .section .rodata | |
13 | .align 8 | |
14 | .L1: | |
15 | .quad 0x100000 | |
16 | .quad 0 | |
17 | .quad .L2-.L1 | |
18 | .previous | |
19 | .L2: | |
20 | stmg %r13, %r15, 0x68(%r15) | |
21 | .cfi_offset %r13, -0x38 | |
22 | .cfi_offset %r14, -0x30 | |
23 | .cfi_offset %r15, -0x28 | |
24 | aghi %r15, -0xa0 | |
25 | .cfi_adjust_cfa_offset 0xa0 | |
26 | brasl %r14, fn2 | |
27 | lmg %r13, %r15, 0x108(%r15) | |
28 | .cfi_restore %r13 | |
29 | .cfi_restore %r14 | |
30 | .cfi_restore %r15 | |
31 | .cfi_adjust_cfa_offset -0xa0 | |
32 | br %r14 | |
33 | .cfi_endproc | |
34 | .size fn1,. - fn1 | |
35 | ||
36 | .section .note.GNU-stack,"",@progbits | |
37 | .section .note.GNU-split-stack,"",@progbits |