Add ELF relocations for the following fixups:
- fixup_arm_ldst_pcrel_12 -> R_ARM_LDR_PC_G0
- fixup_arm_adr_pcrel_12 -> R_ARM_ALU_PC_G0
These relocations map to the pseudo instructions:
- ldr rd, label
- adr rd, label
They are short ranged and normally resolved by the fixup, however MC will no longer resolve the fixups to global symbols due to interpositioning concerns. We can handle these at link time by implementing the relocations.
This is the ARM equivalent of D75039, LLD patch implementing the relocations will be submitted later today.
From the fixup name it is hard to predicate the name of the relocation type. Does anyone know why?