resolve.S 424 B

12345678910111213141516171819202122
  1. /*
  2. * These are various helper routines that are needed to run an ELF image.
  3. */
  4. .text
  5. .align 16
  6. .globl _dl_linux_resolve
  7. .type _dl_linux_resolve,#function
  8. _dl_linux_resolve:
  9. /*
  10. * Call the resolver - pass the address of the PLT so that we can
  11. * figure out which module we are in.
  12. */
  13. mov %o7,%o1
  14. call _dl_linux_resolver
  15. mov %g1,%o0
  16. jmpl %o0,%o7
  17. restore
  18. .LFE2:
  19. .size _dl_linux_resolve,.LFE2-_dl_linux_resolve