nso: Fixes to support homebrew NSOs without a MOD header.

This commit is contained in:
bunnei 2017-10-03 18:30:02 -04:00
parent 6377585edb
commit d454364bca
2 changed files with 23 additions and 17 deletions

View file

@ -47,7 +47,7 @@ private:
void WriteRelocations(const std::vector<Symbol>& symbols, VAddr load_base,
u64 relocation_offset, u64 size, bool is_jump_relocation);
VAddr GetEntryPoint() const;
VAddr GetEntryPoint(VAddr load_base) const;
bool LoadNso(const std::string& path, VAddr load_base);
void Relocate(VAddr load_base, VAddr dynamic_section_addr);