From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90580 invoked by alias); 11 Aug 2015 20:56:36 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 90538 invoked by uid 48); 11 Aug 2015 20:56:33 -0000 From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/18801] PIE binary with STT_GNU_IFUNC symbol and TEXTREL segfaults on x86_64 Date: Tue, 11 Aug 2015 20:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: ppluzhnikov at google dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-08/txt/msg00289.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18801 --- Comment #6 from H.J. Lu --- (In reply to Sriraman Tallam from comment #5) > Created attachment 8504 [details] > Preserve the original segment's execute permissions when protecting the page > for writing it > > Patch Updated. main: + movabsq $selector, %rax + call *%rax + movl $0, %eax Remove this line since foo returns 0. + ret -- You are receiving this mail because: You are on the CC list for the bug.