Fully link __ppc_eabi_init.cpp

This commit is contained in:
2022-09-07 21:42:56 -07:00
parent 7eb08b6ee8
commit e8bf411356
4 changed files with 16 additions and 56 deletions

View File

@@ -1,6 +1,14 @@
#include "types.h"
__declspec(section ".init") extern void __init_hardware(void);
__declspec(section ".init") extern void __flush_cache(register void* address, register unsigned int size);
#ifdef __cplusplus
extern "C" {
#endif
__declspec(section ".init") void __init_hardware(void);
__declspec(section ".init") void __flush_cache(register void* address, register unsigned int size);
extern void __init_cpp(void);
void __init_user(void);
void __init_cpp(void);
#ifdef __cplusplus
}
#endif