Revert "Remove -nostartfiles linker option from bootloader (#5996)"

This reverts commit 17b4aa2466.

Removing the -nostartfiles caused the Taranis bootloader to include
a number of strange functions. Instead define _fini to avoid the linker
issues.
This commit is contained in:
Arne Schwabe
2018-06-30 00:39:54 +02:00
parent 9cbd0b9813
commit 429d55769c
3 changed files with 16 additions and 2 deletions
@@ -526,4 +526,8 @@ int main()
}
return 0;
}
}
#if defined(PCBHORUS)
void *__dso_handle = 0;
#endif