5 ms·
So what's the story on 64-bit x64 or other processors?
by dottrap 11y ago
So what's the story on 64-bit x64 or other processors?
- pmalynin 11y agoPosition independent code on x64 is quite trivial, it has a new instruction addressing mode called RIP-relative addressing so that the program can access everything relative to where it is currently executing.
- michaelg73 11y agoThere are some pretty pictures here which help to explain how x86_64 handles relocations in a much less cumbersome way: http://www.mindfruit.co.uk/2012/06/relocations-relocations.html http://www.mindfruit.co.uk/2012/06/relocations-relocations.h...