Disambiguate symbols during recompilation by preferring those in the same section.
Mr-Wiseguy opened this issue · comments
Currently, some ROMs can have multiple symbols with the same address, which can cause the recompiler to emit incorrect function calls. In this case it should prefer symbols that are in the same section as the function currently being recompiled. If there are duplicates even with that preference, it should exit with an error.