[BOLT][PR] Handle TLS relocations on AArch64
Summary: Some of the TLS relocatios like R_AARCH64_TLSDESC_ADR_PAGE21 must be handled by bolt and should not be skipped by the removed condition. Some of the TLS relocations like R_AARCH64_TLS_TPREL64 could really be skipped here, but AFAIU this condition was added as part of BOLT its self optimization, so to prevent future problems here my suggestion is not to add another condition like "isTLS(RType) && isTLSRelocatable(RType)", but just remove it since absense of this condition should not broke any other TLS relocation. Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei Pull Request resolved: https://github.com/facebookincubator/BOLT/pull/103 GitHub Author: Vladislav Khmelevsky <Vladislav.Khmelevskyi@huawei.com> (cherry picked from FBD24745928)
Loading
Please register or sign in to comment