[Bug c/45286] kact.sa_restorer = &restore_rt; in sigaction.c glibc get miss compile with -fPIE on x86_64

hjl dot tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Aug 15 21:15:00 GMT 2010



------- 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_rt@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



More information about the Gcc-bugs mailing list