| 1 | # split_s390_z3.s: s390 specific test case for -fsplit-stack - |
| 2 | # zarch mode, 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 4 |
| 14 | .L1: |
| 15 | .long 0x100000 |
| 16 | .long 0 |
| 17 | .long .L2-.L1 |
| 18 | .previous |
| 19 | .L2: |
| 20 | stm %r13, %r15, 0x34(%r15) |
| 21 | .cfi_offset %r13, -0x2c |
| 22 | .cfi_offset %r14, -0x28 |
| 23 | .cfi_offset %r15, -0x24 |
| 24 | ahi %r15, -0x60 |
| 25 | .cfi_adjust_cfa_offset 0x60 |
| 26 | brasl %r14, fn2 |
| 27 | lm %r13, %r15, 0x94(%r15) |
| 28 | .cfi_restore %r13 |
| 29 | .cfi_restore %r14 |
| 30 | .cfi_restore %r15 |
| 31 | .cfi_adjust_cfa_offset -0x60 |
| 32 | br %r14 |
| 33 | .cfi_endproc |
| 34 | .size fn1,. - fn1 |
| 35 | |
| 36 | .section .note.GNU-stack,"",@progbits |
| 37 | .section .note.GNU-split-stack,"",@progbits |