crtn.S 812 B

12345678910111213141516171819202122232425262728293031323334
  1. /* glibc's sysdeps/hppa/elf/initfini.c used for reference [EPILOG] */
  2. .text
  3. .align 4
  4. /* Here is the tail end of _init. We put __gmon_start before this so
  5. that the assembler creates the .PARISC.unwind section for us, ie.
  6. with the right attributes. */
  7. .section .init
  8. ldw -84(%sp),%rp
  9. copy %r4,%r19
  10. bv %r0(%rp)
  11. _end_init:
  12. ldwm -64(%sp),%r4
  13. /* Our very own unwind info, because the assembler can't handle
  14. functions split into two or more pieces. */
  15. .section .PARISC.unwind
  16. .extern _init
  17. .word _init, _end_init
  18. .byte 0x08, 0x01, 0x00, 0x08, 0x00, 0x00, 0x00, 0x08
  19. .section .fini
  20. ldw -84(%sp),%rp
  21. copy %r4,%r19
  22. bv %r0(%rp)
  23. _end_fini:
  24. ldwm -64(%sp),%r4
  25. .section .PARISC.unwind
  26. .extern _fini
  27. .word _fini, _end_fini
  28. .byte 0x08, 0x01, 0x00, 0x08, 0x00, 0x00, 0x00, 0x08