Re:New optimizations for X86 in upcoming GCC 5.0: PIC in 32 ...
by glglwty on Wednesday April 15, 2015 @07:39AM
(#9380221)
How does x86_64 store GOT?
[ Parent
| on HN ]
Re:New optimizations for X86 in upcoming GCC 5.0: PIC in 32 ...
by pitterpatter on Wednesday April 15, 2015 @02:23PM
(#9383008)
It handles relocations somewhat differently: http://www.mindfruit.co.uk/2012/06/relocations-relocations.h...
Basically, it has a new addressing mode so that you can access things relative to the program counter: RIP-relative addressing.