R_PPC_REL24 relocation question for understanding
Aperta
question
- Lingua principale
- Python
- Stelle
- 485
- Fork
- 135
- Merge medio
- 2g 2h
- PR unite (30g)
- 15
Descrizione
### 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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.