crtn.S 466 B

123456789101112131415161718192021222324252627282930313233
  1. /* glibc's sysdeps/ia64/elf/initfini.c used for reference [EPILOG] */
  2. .text
  3. .section .init
  4. .proc _init#
  5. _init:
  6. .prologue
  7. .save ar.pfs, r34
  8. .vframe r32
  9. .save rp, r33
  10. .body
  11. .regstk 0,2,0,0
  12. mov r12 = r32
  13. mov ar.pfs = r34
  14. mov b0 = r33
  15. br.ret.sptk.many b0
  16. .endp _init#
  17. .section .fini
  18. .proc _fini#
  19. _fini:
  20. .prologue
  21. .save ar.pfs, r34
  22. .vframe r32
  23. .save rp, r33
  24. .body
  25. mov r12 = r32
  26. mov ar.pfs = r34
  27. mov b0 = r33
  28. br.ret.sptk.many b0
  29. .endp _fini#