diff options
author | Dragan Mladjenovic <dragan.mladjenovic@rt-rk.com> | 2020-01-23 16:38:14 +0100 |
---|---|---|
committer | Dragan Mladjenovic <dragan.mladjenovic@rt-rk.com> | 2020-01-23 17:00:02 +0100 |
commit | a3c1e1f2ff88628cb163abc5331af752221eddc0 (patch) | |
tree | 4f2525598a928a04ba1c2a6ff88898961ebec2a9 /gcc/config/mips/linux.h | |
parent | c124b345e460780e3c3d4a6e58d0e6e03da982a1 (diff) | |
download | gcc-a3c1e1f2ff88628cb163abc5331af752221eddc0.zip gcc-a3c1e1f2ff88628cb163abc5331af752221eddc0.tar.gz gcc-a3c1e1f2ff88628cb163abc5331af752221eddc0.tar.bz2 |
Emit .note.GNU-stack for soft-float linux targets.
gcc/ChangeLog:
2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
* config/mips/linux.h (NEED_INDICATE_EXEC_STACK): Define to
TARGET_SOFT_FLOAT.
* config/mips/mips.c (TARGET_ASM_FILE_END): Define to ...
(mips_asm_file_end): New function. Delegate to
file_end_indicate_exec_stack if NEED_INDICATE_EXEC_STACK is true.
* config/mips/mips.h (NEED_INDICATE_EXEC_STACK): Define to 0.
libgcc/ChangeLog:
2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
* config/mips/gnustack.h: New file.
* config/mips/crti.S: Include gnustack.h.
* config/mips/crtn.S: Likewise.
* config/mips/mips16.S: Likewise.
* config/mips/vr4120-div.S: Likewise.
Diffstat (limited to 'gcc/config/mips/linux.h')
-rw-r--r-- | gcc/config/mips/linux.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index f8db8d5..183b62f 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -50,3 +50,7 @@ along with GCC; see the file COPYING3. If not see #define GNU_USER_DYNAMIC_LINKERN32 \ CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \ BIONIC_DYNAMIC_LINKERN32, MUSL_DYNAMIC_LINKERN32) + +#undef NEED_INDICATE_EXEC_STACK + +#define NEED_INDICATE_EXEC_STACK TARGET_SOFT_FLOAT |