diff options
Diffstat (limited to '')
-rw-r--r-- | libc-bottom-half/crt/crt1-reactor.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc-bottom-half/crt/crt1-reactor.c b/libc-bottom-half/crt/crt1-reactor.c new file mode 100644 index 0000000..f507c9e --- /dev/null +++ b/libc-bottom-half/crt/crt1-reactor.c @@ -0,0 +1,7 @@ +extern void __wasm_call_ctors(void); + +__attribute__((export_name("_initialize"))) +void _initialize(void) { + // The linker synthesizes this to call constructors. + __wasm_call_ctors(); +} |