all: move bootstrapping IR to Go runtime

This has the benefit of not requiring a 'runtime' IR file, so that
complete relocatable files can be built without requiring input IR.
This makes the compiler a lot easier to use without the Makefile.

Code size is not affected.
This commit is contained in:
Ayke van Laethem
2018-09-04 20:39:22 +02:00
parent 0746d61639
commit 83ad0b6137
7 changed files with 70 additions and 49 deletions
-4
View File
@@ -29,10 +29,6 @@ void RTC0_IRQHandler() {
rtc_wakeup = true;
}
void _start() {
main();
}
__attribute__((weak))
void __aeabi_unwind_cpp_pr0() {
// dummy, not actually used