2018-02-02 16:35:18 -04:00
|
|
|
/* We compile with nodefaultlibs, so we need to provide an error
|
|
|
|
* handler for an empty pure virtual function */
|
|
|
|
|
|
|
|
extern "C" void __cxa_pure_virtual(void) {
|
|
|
|
|
2018-04-12 05:40:39 -03:00
|
|
|
extern void __error(uint32_t num, uint32_t pc, uint32_t lr, uint32_t flag);
|
2018-02-02 16:35:18 -04:00
|
|
|
|
2018-04-12 05:40:39 -03:00
|
|
|
__error(11, 0, 0, 0);
|
2018-02-02 16:35:18 -04:00
|
|
|
}
|