Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;;;;;;;;;;;;;;;;;;;;;;;; crti.asm
- .intel_syntax noprefix
- .section .init
- .global _init
- .type _init, @function
- _init:
- push rbp
- mov rbp, rsp
- /* gcc will nicely put the contents of crtbegin.o's .init section here. */
- .section .fini
- .global _fini
- .type _fini, @function
- _fini:
- push rbp
- mov rbp, rsp
- /* gcc will nicely put the contents of crtbegin.o's .fini section here. */
- ;;;;;;;;;;;;;;;;;;;;;;; crtn.asm
- .intel_syntax noprefix
- .section .init
- /* gcc will nicely put the contents of crtend.o's .init section here. */
- pop rbp
- ret
- .section .fini
- /* gcc will nicely put the contents of crtend.o's .fini section here. */
- pop rbp
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement