split_s390_1_z3.s 753 B

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