diff --git a/src/main.cpp b/src/main.cpp index 65ed8f8..9b33ef7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -646,6 +646,11 @@ int main(int argc, char** argv) { continue; } + // Ignore R_MIPS_NONE relocs, which get produced during symbol parsing for non-relocatable reference sections. + if (reloc.type == N64Recomp::RelocType::R_MIPS_NONE) { + continue; + } + // Check if the reloc points to the event section. if (reloc.target_section == event_section_index) { // It does, so find the function it's pointing at.