News for hackers. Stuff that matters.
Re:ELF Binaries and Relocation Entries by bogomipz on Monday December 02, 2019 @01:19AM (#21680240)
I see, the relocations happen in pairs then - lower order and high order bits. Is that correct?
Re:ELF Binaries and Relocation Entries by stffrdhrn on Monday December 02, 2019 @06:59AM (#21681671)
Yes, for OpenRISC as there are no instructions with a 32-bit immediate so we use 2 high and low order relocations. However, on machines like x86 they have variable width instructions and support 32-bit relocations, they can get by with a single relocation entry.