Someone noticed that the MIPS GCC compiler was not putting out the .note.GNU-stack section. This simple patch fixes that problem by calling the standard file_end_indicate_exec_stack function.
Tested on mips-mti-linux-gnu, OK to checkin? Steve Ellcey sell...@mips.com 2014-09-10 Steve Ellcey <sell...@mips.com> * config/mips/mips.c (TARGET_ASM_FILE_END): Define. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 646bb4d..bcaa9cd 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -19146,6 +19146,9 @@ mips_lra_p (void) #undef TARGET_LRA_P #define TARGET_LRA_P mips_lra_p +#undef TARGET_ASM_FILE_END +#define TARGET_ASM_FILE_END file_end_indicate_exec_stack + struct gcc_target targetm = TARGET_INITIALIZER; #include "gt-mips.h"