[PR] AArch64: Skip some of the relocations processing
Summary: There are some cases, when relocations must not be processed by bolt. This patch handles three of such cases: * The linker might eliminate the instruction and replace it with NOP * The linker might perform TLS relocations relaxations, replacing the got to direct TP + offset access. * Due to errata 843419 the linker might create a veneer, replacing the load/store instruction with branching. In both cases linker leaves old relocations, that are no longer matches the instruction emmited to binary, so we must avoid processing of these relocations. Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei (cherry picked from FBD31002384)
Loading
Please sign in to comment