Ignore unresolved relocations unless ARM set to strict mode.

This commit is contained in:
Christian Speckner 2024-08-21 22:46:58 +02:00
parent 493f56e86a
commit 53d239c7e5
1 changed files with 1 additions and 0 deletions

View File

@ -461,6 +461,7 @@ void CartridgeELF::parseAndLinkElf()
if (dump) dumpElf(myElfParser, cout);
myLinker = make_unique<ElfLinker>(ADDR_TEXT_BASE, ADDR_DATA_BASE, ADDR_RODATA_BASE, myElfParser);
if (!mySettings.getBool("dev.thumb.trapfatal")) myLinker->setUndefinedSymbolDefault(0);
try {
myLinker->link(externalSymbols(SystemType::ntsc));