From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31165 invoked by alias); 15 Aug 2010 21:15:19 -0000 Received: (qmail 31129 invoked by uid 48); 15 Aug 2010 21:15:09 -0000 Date: Sun, 15 Aug 2010 21:15:00 -0000 Message-ID: <20100815211509.31128.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/45286] kact.sa_restorer = &restore_rt; in sigaction.c glibc get miss compile with -fPIE on x86_64 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg01240.txt.bz2 ------- 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