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
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Faraz Shahbazker <faraz dot shahbazker at imgtec dot com>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Thu, 21 Jan 2016 22:17:07 +0000
- Subject: Re: [RFC] [MIPS] Enable non-executable PT_GNU_STACK support
- Authentication-results: sourceware.org; auth=none
- References: <56A15768 dot 20005 at imgtec dot com> <56A157AF dot 8080504 at imgtec dot com>
On Thu, 21 Jan 2016, Faraz Shahbazker wrote:
> +#ifdef EXEC_STACK_OVERRIDE
> + EXEC_STACK_OVERRIDE (&GL(dl_stack_flags));
> +#endif
We want to avoid #ifdef where possible. It's better to have a default
definition of this macro to expand to do nothing, in a header overridden
for MIPS.
> @@ -14,3 +14,9 @@ UNIQUE
> #
> # MIPS O32 FP64
> MIPS_O32_FP64 mips*-*-linux*
> +#
> +# MIPS IFUNC
> +IFUNC mips*-*-linux*
> +#
> +# Non-executable stack support
> +MIPS_GNU_STACK mips*-*-linux*
> \ No newline at end of file
Always end text files with a newline (exactly one newline, otherwise the
git hooks will complain).
--
Joseph S. Myers
joseph@codesourcery.com