From ed5d024c8b4961b6d722bf45d2c98846afdc1191 Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Thu, 7 Oct 2021 12:04:07 +0200 Subject: Calling global constructors --- src/crtn.s | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/crtn.s (limited to 'src/crtn.s') diff --git a/src/crtn.s b/src/crtn.s new file mode 100644 index 0000000..1da795d --- /dev/null +++ b/src/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