Rename libpsplibc to libcglue

This commit is contained in:
Francisco Javier Trujillo Mata
2021-11-14 23:09:15 +01:00
parent fe46176fd0
commit c0f526059a
29 changed files with 23 additions and 25 deletions

View File

@@ -37,8 +37,8 @@ extern const char* sce_newlib_main_thread_name __attribute__((weak));
toolchain. */
extern SceModuleInfo module_info __attribute__((weak));
/* Allow newlib/psplibc to provide an init hook to be called before main */
extern void __psp_libc_init(int argc, char *argv[]);
/* Allow to provide a libc init hook to be called before main */
extern void __libcglue_init(int argc, char *argv[]);
extern void _init(void);
extern void _fini(void);
extern int main(int argc, char *argv[]);
@@ -73,7 +73,7 @@ void _main(SceSize args, void *argp)
argv[argc] = NULL;
/* Call libc initialization hook */
__psp_libc_init(argc, argv);
__libcglue_init(argc, argv);
/* Make sure _fini() is called when the program ends. */
atexit((void *) _fini);

View File

@@ -40,8 +40,8 @@ extern const char* sce_newlib_main_thread_name __attribute__((weak));
toolchain. */
extern SceModuleInfo module_info __attribute__((weak));
/* Allow newlib/psplibc to provide an init hook to be called before main */
extern void __psp_libc_init(int argc, char *argv[]);
/* Allow to provide a libc init hook to be called before main */
extern void __libcglue_init(int argc, char *argv[]);
extern void _init(void);
extern void _fini(void);
extern int main(int argc, char *argv[]);
@@ -78,7 +78,7 @@ void _main(SceSize args, void *argp)
argv[argc] = NULL;
/* Call libc initialization hook */
__psp_libc_init(argc, argv);
__libcglue_init(argc, argv);
/* Make sure _fini() is called when the program ends. */
atexit((void *) _fini);