------- Comment #11 from hjl dot tools at gmail dot com 2010-08-15 21:15 ------- 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. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45286