split_s390_1_z1.s 687 B

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