Files
zig/src
Luuk de Gram f8d1efd99a wasm-linker: implement __wasm_call_ctors symbol
This implements the `__wasm_call_ctors` symbol. This symbol is
automatically referenced by libc to initialize its constructors.
We first retrieve all constructors from each object file, and then
create a function body that calls each constructor based on its
priority. Constructors are not allowed to have any parameters, but are
allowed to have a return type. When a return type does exist, we simply
drop its value from the stack after calling the constructor to ensure
we pass the stack validator.
2023-01-12 20:50:18 +01:00
..
2022-09-14 20:08:34 -04:00
2022-12-16 06:08:10 -05:00
2022-08-19 03:41:13 -07:00
2022-12-28 12:33:55 -07:00
2022-11-14 16:35:25 +01:00
2022-12-13 15:37:52 -05:00
2022-12-29 00:19:00 -05:00
2022-12-13 13:14:20 +02:00
2023-01-05 14:26:53 +02:00
2022-11-04 00:09:27 +03:30
2022-07-28 11:53:25 -07:00
2022-07-28 11:53:25 -07:00
2022-07-28 11:53:25 -07:00
2022-07-28 11:53:25 -07:00
2023-01-03 13:05:09 +02:00
2023-01-03 13:05:09 +02:00