mirror of
https://github.com/wiiu-env/CustomRPXLoader.git
synced 2024-11-21 17:39:16 +01:00
OSFatal if the relocations fail
This commit is contained in:
parent
49c4c267c8
commit
cd73d30f7f
@ -119,6 +119,7 @@ uint32_t do_start(int argc, char **argv) {
|
||||
std::vector<RelocationData> relocData = moduleData->getRelocationDataList();
|
||||
if (!doRelocation(relocData, gModuleData->trampolines, DYN_LINK_TRAMPOLIN_LIST_LENGTH)) {
|
||||
DEBUG_FUNCTION_LINE("relocations failed");
|
||||
OSFatal("Relocations failed");
|
||||
}
|
||||
if (moduleData->getBSSAddr() != 0) {
|
||||
DEBUG_FUNCTION_LINE("memset .bss %08X (%d)", moduleData->getBSSAddr(), moduleData->getBSSSize());
|
||||
|
Loading…
Reference in New Issue
Block a user