This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] [MIPS] Enable non-executable PT_GNU_STACK support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]