mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-03 16:51:27 +00:00
psp-fixup-imports: make "could not fixup imports" non-fatal
i've hit this error when running psp-fixup-imports on one of the examples in psgpl tests directory, in particular eglpbuffers.elf. i have been unable to make the error go away by re-arranging libraries in the command line passed to collect2/psp-ld, however it turned out that simply disabling the error produced a working binary. therefore, just make it print a fat warning and continue anyway.
This commit is contained in:
@@ -721,9 +721,9 @@ int fixup_imports(void)
|
|||||||
{
|
{
|
||||||
if((pLastImport) && (pImport != pLastImport))
|
if((pLastImport) && (pImport != pLastImport))
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Error, could not fixup imports, stubs out of order.\n");
|
fprintf(stderr, "Warning: could not fixup imports, stubs out of order.\n");
|
||||||
fprintf(stderr, "Ensure the SDK libraries are linked in last to correct this error\n");
|
fprintf(stderr, "Ensure the SDK libraries are linked in last to correct this.\n");
|
||||||
return 0;
|
fprintf(stderr, "Continuing, your binary may or not work.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user