Fully link __ppc_eabi_init.cpp

Former-commit-id: e8bf411356
This commit is contained in:
2022-09-07 21:42:56 -07:00
parent 0f25a3c8d4
commit 18d45a80a7
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