Merge remote-tracking branch 'private/port-gcc-restart' into port-gcc-restart
This commit is contained in:
@@ -11,6 +11,7 @@ index ddd3b8f..702aa59 100644
|
||||
+ gnu_ld=yes
|
||||
+ tmake_file=t-jehanne
|
||||
+ extra_objs="${extra_objs} jehanne.o"
|
||||
+ extra_gcc_objs="${extra_gcc_objs} jehanne.o"
|
||||
+ default_use_cxa_atexit=yes
|
||||
+ case $target in
|
||||
+ x86_64-*)
|
||||
|
@@ -21,9 +21,11 @@ extern "C" {
|
||||
#include <libc.h>
|
||||
#include <posix.h>
|
||||
|
||||
void __application_newlib_init(int argc, char *argv[]);
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
__attribute__((__used__)) void
|
||||
__application_newlib_init(int argc, char *argv[])
|
||||
{
|
||||
sys_rfork(RFFDG | RFREND | RFNOTEG);
|
||||
|
Reference in New Issue
Block a user