From 20dd72e40dc2728d3c5335d860e4b8ab8da14fcc Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Mon, 25 Oct 2021 00:36:33 +0200 Subject: Changing build system to recursive make --- src/as/crti.s | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/as/crti.s (limited to 'src/as/crti.s') diff --git a/src/as/crti.s b/src/as/crti.s new file mode 100644 index 0000000..30dd4ea --- /dev/null +++ b/src/as/crti.s @@ -0,0 +1,16 @@ +/* x86 crti.s */ +.section .init +.global _init +.type _init, @function +_init: + push %ebp + movl %esp, %ebp + /* gcc will nicely put the contents of crtbegin.o's .init section here. */ + +.section .fini +.global _fini +.type _fini, @function +_fini: + push %ebp + movl %esp, %ebp + /* gcc will nicely put the contents of crtbegin.o's .fini section here. */ -- cgit v1.2.3