This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC] [MIPS] Enable non-executable PT_GNU_STACK support v2
- From: Aurelien Jarno <aurelien at aurel32 dot net>
- To: Faraz Shahbazker <faraz dot shahbazker at imgtec dot com>
- Cc: Joseph Myers <joseph at codesourcery dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Thu, 11 Aug 2016 23:01:18 +0200
- Subject: Re: [RFC] [MIPS] Enable non-executable PT_GNU_STACK support v2
- Authentication-results: sourceware.org; auth=none
- References: <56A15768.20005@imgtec.com> <56A157AF.8080504@imgtec.com> <alpine.DEB.2.10.1601212215030.24424@digraph.polyomino.org.uk> <56A6BF93.5010401@imgtec.com> <56B4EC43.7040000@imgtec.com>
On 2016-02-05 10:38, Faraz Shahbazker wrote:
> Bump!
>
> Related patches for review:
> * binutils: https://sourceware.org/ml/libc-alpha/2016-01/msg00567.html
> * gcc : https://gcc.gnu.org/ml/gcc-patches/2016-02/msg00444.html
>
It seems that the patches are present in the 2.27 binutils release,
while they are not yet ready on the glibc side (I guess still waiting
on the IFUNC patches).
This means that building binaries with -Wl,-z,noexecstack set the ABI
version to 5 and we then have no way to execute them. Some configure
scripts probe for the availability of this option and enable it
automatically.
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net