mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-03 08:41:34 +00:00
Remove another obscure useless relocation type made by the new (psp-)gcc
This commit is contained in:
@@ -419,7 +419,7 @@ int remove_weak_relocs(struct ElfSection *pReloc, struct ElfSection *pSymbol, st
|
||||
}
|
||||
|
||||
/* Remove PC16 relocations (unsupported by PSP, and useless) */
|
||||
if(LH(pSymData[iSymbol].st_shndx) == 0 || ELF32_R_TYPE(LW(pInRel->r_info)) == R_MIPS_PC16)
|
||||
if(LH(pSymData[iSymbol].st_shndx) == 0 || ELF32_R_TYPE(LW(pInRel->r_info)) == R_MIPS_PC16 || ELF32_R_TYPE(LW(pInRel->r_info)) == R_MIPS_GPREL16)
|
||||
{
|
||||
if(g_verbose)
|
||||
{
|
||||
|
Reference in New Issue
Block a user