Guest User

crt*.S

a guest
Apr 6th, 2015
601
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* crti.S */
  2.  
  3. .intel_syntax noprefix
  4.  
  5. .section .init
  6. .global _init
  7. .type _init, @function
  8.  
  9. _init:
  10.     push ebp
  11.     mov ebp, esp
  12.  
  13. .section .fini
  14. .global _fini
  15. .type _fini, @function
  16.  
  17. _fini:
  18.     push ebp
  19.     mov ebp, esp
  20.  
  21. /* crtn.S */
  22.  
  23. .intel_syntax noprefix
  24.  
  25. .section .init
  26.     pop ebp
  27.     ret
  28.  
  29. .section .fini
  30.     pop ebp
  31.     ret
Advertisement
Add Comment
Please, Sign In to add comment