From a914c37365967afaf3148293a857c36af6f94ecb Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Fri, 21 Jan 2022 21:44:28 +0100 Subject: Separating assembly, moving #defines to .h & cleaning Makefile --- src/crt/crtn.s | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/crt/crtn.s (limited to 'src/crt/crtn.s') diff --git a/src/crt/crtn.s b/src/crt/crtn.s new file mode 100644 index 0000000..0e1c314 --- /dev/null +++ b/src/crt/crtn.s @@ -0,0 +1,10 @@ +/* x86 crtn.s */ +.section .init + /* gcc will nicely put the contents of crtend.o's .init section here. */ + popl %ebp + ret + +.section .fini + /* gcc will nicely put the contents of crtend.o's .fini section here. */ + popl %ebp + ret -- cgit v1.2.3