fix build with gcc9

This commit is contained in:
Rene Hopf
2020-11-01 22:55:34 +01:00
parent f59cd4ffef
commit c895a2279d
+8
View File
@@ -31,6 +31,14 @@ int _open(const char *name, int flags, int mode) {
return -1;
}
int _kill_r(struct _reent *r, int pid, int sig){
return -1;
}
int _getpid_r (struct _reent *r){
return -1;
}
/* Register name faking - works in collusion with the linker. */
register char *stack_ptr asm("sp");