[BOLT] Skip R_X86_64_PLT32 relocation verification
Summary: R_X86_64_PLT32 relocations recorded by the linker may point to the PLT section instead of being resolved to the symbol reported by the relocation. Sometimes they could point to the symbol too. Disable internal verification for this type of relocation. Include a fix for symbol address calculation when it is based on the extracted value. The truncation to the relocation size is needed if the results overflows. (cherry picked from FBD22317952)
parent
26ad0bd9
Please register or sign in to comment