Support for $gp relative jump table calls

This commit is contained in:
Ethan Lafrenais 2024-10-29 19:22:12 -04:00
parent d33d381617
commit a6efe6e82b
No known key found for this signature in database
GPG key ID: 928A0136009E2745
4 changed files with 78 additions and 2 deletions

View file

@ -86,6 +86,7 @@ namespace N64Recomp {
bool executable = false;
bool relocatable = false; // TODO is this needed? relocs being non-empty should be an equivalent check.
bool has_mips32_relocs = false;
uint32_t gp_ram_addr = 0;
};
struct ReferenceSection {