Displaying 1 result from an estimated 1 matches for "getgotrefreloc".
2015 Nov 21
2
[lld] Hiding original type of GOT related relocations
...on in each cases [2]. R_MIPS_CALL16 is
applicable to external symbols only and a linker should show an error
if it finds R_MIPS_CALL16 with a local target. Now LLD in the
`InputSectionBase<ELFT>::relocate` methods hides original type of GOT
relocations and always use the result of `Target->getGotRefReloc()`
call. In case of MIPS it is R_MIPS_GOT16. It makes impossible to
perform target symbol type checking and the error generation in the
`MipsTargetInfo<ELFT>::relocateOne` method.
Is it really necessary to hide original relocation type? If a target
has multiple GOT related relocations it mig...