split_s390_1_z2.s 724 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # split_s390_z2.s: s390 specific test case for -fsplit-stack -
  2. # zarch mode, conditional call, no add
  3. .text
  4. .global fn1
  5. .type fn1,@function
  6. fn1:
  7. .cfi_startproc
  8. ear %r1, %a0
  9. c %r15, 0x20(%r1)
  10. larl %r1, .L1
  11. jgl __morestack
  12. .section .rodata
  13. .align 4
  14. .L1:
  15. .long 0x100
  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. .section .note.GNU-stack,"",@progbits
  36. .section .note.GNU-split-stack,"",@progbits