This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH 2/2][MIPS][RFC] Emit .note.GNU-stack for hard-float linux targets.


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


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