llvm-project
b0ae054a - [BOLT][AArch64] Fix LDR relocation type in ADRP+LDR sequence (#166391)

Commit
1 day ago
[BOLT][AArch64] Fix LDR relocation type in ADRP+LDR sequence (#166391) `R_AARCH64_ADD_ABS_LO12_NC` is for the `ADD` instruction in the `ADRP+ADD` sequence. For `ADRP+LDR` sequence generated in LDR relaxation, relocation type for `LDR` should be `R_AARCH64_LDST64_ABS_LO12_NC` if it is 64-bit integer load or `R_AARCH64_LDST32_ABS_LO12_NC` if 32-bit. Sorry should have included this in #165787.
Author
Parents
Loading