crti.S 386 B

123456789101112131415161718192021222324
  1. /* glibc's sysdeps/hppa/elf/initfini.c used for reference [PROLOG] */
  2. .section .init
  3. .align 4
  4. .globl _init
  5. .type _init,@function
  6. _init:
  7. stw %rp,-20(%sp)
  8. stwm %r4,64(%sp)
  9. stw %r19,-32(%sp)
  10. copy %r19,%r4 /* delay slot */
  11. copy %r4,%r19
  12. .section .fini
  13. .align 4
  14. .globl _fini
  15. .type _fini,@function
  16. _fini:
  17. stw %rp,-20(%sp)
  18. stwm %r4,64(%sp)
  19. stw %r19,-32(%sp)
  20. copy %r19,%r4