------- Comment #12 from zorry at ume dot nu 2010-08-15 21:31 ------- (In reply to comment #11) > It works for me with -fPIC -fPIE using gcc 4.4.4 on > Fedora 13. I got > > movq __restore...@gotpcrel(%rip), %rax > movq %rax, 56(%rsp) > > in assembly output. It is correct. Please make sure that > you use the current Linux binutils. > what do you get only with -fPIE?
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45286