resolve.S 468 B

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