This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/2][MIPS][RFC] Emit .note.GNU-stack for hard-float linux targets.
- From: Jeff Law <law at redhat dot com>
- To: Dragan Mladjenovic <dmladjenovic at wavecomp dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Jakub Jelinek <jakub at redhat dot com>, Matthew Fortune <mfortune at gmail dot com>, Joseph Myers <joseph at codesourcery dot com>, "Maciej W . Rozycki" <macro at linux-mips dot org>, Faraz Shahbazker <fshahbazker at wavecomp dot com>
- Date: Fri, 9 Aug 2019 15:34:20 -0600
- Subject: Re: [PATCH 2/2][MIPS][RFC] Emit .note.GNU-stack for hard-float linux targets.
- References: <1565001657-5145-1-git-send-email-dmladjenovic@wavecomp.com> <1565002149-5397-1-git-send-email-dmladjenovic@wavecomp.com>
On 8/5/19 4:49 AM, Dragan Mladjenovic wrote:
> From: "Dragan Mladjenovic" <dmladjenovic@wavecomp.com>
>
> libgcc/ChangeLog:
>
> 2019-08-05 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
>
> * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
>
> gcc/ChangeLog:
>
> 2019-08-05 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
>
> * config.in: Regenerated.
> * config/mips/linux.h (NEED_INDICATE_EXEC_STACK): Define to 1
> for TARGET_LIBC_GNUSTACK.
> * configure: Regenerated.
> * configure.ac: Define TARGET_LIBC_GNUSTACK if glibc version is
> found 2.31 or greater.
My only concern here is the configure bits. So for example, will it do
the right thing if you're cross-compiling to a MIPS linux target? If
so, how? If not, do we need to make it a first class configure option
so that it can be specified when building cross MIPS linux toolchains?
jeff