Question
cle/backends/elf/relocation/ppc.py
Lines 212-213: Not questioning your code, just trying to understand how these relocations work.
I know the PPC ELF spec says the formula for this reloc type is (S + A - P) >> 2. So how do you know/why do you need to left shift it by 2 on the next line? It seems like undoing what was just done
Similar question applies to ppc64.py in class R_PPC64_REL24.