Emit .note.GNU-stack for soft-float linux targets.
authorDragan Mladjenovic <dragan.mladjenovic@rt-rk.com>
Thu, 23 Jan 2020 15:38:14 +0000 (16:38 +0100)
committerDragan Mladjenovic <dragan.mladjenovic@rt-rk.com>
Thu, 23 Jan 2020 16:00:02 +0000 (17:00 +0100)
commita3c1e1f2ff88628cb163abc5331af752221eddc0
tree4f2525598a928a04ba1c2a6ff88898961ebec2a9
parentc124b345e460780e3c3d4a6e58d0e6e03da982a1
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.
gcc/ChangeLog
gcc/config/mips/linux.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h
libgcc/ChangeLog
libgcc/config/mips/crti.S
libgcc/config/mips/crtn.S
libgcc/config/mips/gnustack.h [new file with mode: 0644]
libgcc/config/mips/mips16.S
libgcc/config/mips/vr4120-div.S