Closed respectable-citizen closed 3 years ago
Fixed in dd7164da5f4b97987a90d60f09c15a893f908e51. I actually did this in neither of the above ways, you can directly expose the init symbols from the linker script and call the constructors through C++. I'm not sure how clean this is or if it's recommended but it does in fact work.
We haven't added support for global constructors which we need now that we have a vector class, afaik this can be done via some linking magic or by the bootloader. Relevant link: https://wiki.osdev.org/Calling_Global_Constructors