public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/2] [MIPS] Emit .note.GNU-stack for linux targets.
@ 2019-08-05 10:43 Dragan Mladjenovic
  2019-08-05 10:48 ` [PATCH 1/2][MIPS] Emit .note.GNU-stack for soft-float " Dragan Mladjenovic
  2019-08-05 10:49 ` [PATCH 2/2][MIPS][RFC] Emit .note.GNU-stack for hard-float " Dragan Mladjenovic
  0 siblings, 2 replies; 18+ messages in thread
From: Dragan Mladjenovic @ 2019-08-05 10:43 UTC (permalink / raw)
  To: gcc-patches
  Cc: Dragan Mladjenovic, Jakub Jelinek, Matthew Fortune, Joseph Myers,
	Maciej W . Rozycki, Faraz Shahbazker

From: "Dragan Mladjenovic" <dmladjenovic@wavecomp.com>

Greetings,

These patches enable emitting .note.GNU-stack by default on mips linux targets.
First one enables it unconditionally for soft-float builds while the second one
enables it for hard-float build if gcc is configured against the future version
of glibc that should enable safe usage of PT_GNU_STACK [1].


[1] https://sourceware.org/ml/libc-alpha/2019-08/msg00065.html

Best regards,

Dragan

Dragan Mladjenovic (2):
  Emit .note.GNU-stack for soft-float linux targets.
  Emit .note.GNU-stack for hard-float linux targets.

 gcc/config.in                   |  6 ++++++
 gcc/config/mips/linux.h         |  8 +++++++
 gcc/config/mips/mips.c          | 11 ++++++++++
 gcc/config/mips/mips.h          |  2 ++
 gcc/configure                   | 47 +++++++++++++++++++++++++++++++++--------
 gcc/configure.ac                | 12 +++++++++++
 libgcc/config/mips/crti.S       |  3 +++
 libgcc/config/mips/crtn.S       |  3 +++
 libgcc/config/mips/gnustack.h   |  7 ++++++
 libgcc/config/mips/mips16.S     |  3 +++
 libgcc/config/mips/vr4120-div.S |  3 +++
 11 files changed, 96 insertions(+), 9 deletions(-)
 create mode 100644 libgcc/config/mips/gnustack.h

-- 
1.9.1

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-01-30  8:22 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-05 10:43 [PATCH 0/2] [MIPS] Emit .note.GNU-stack for linux targets Dragan Mladjenovic
2019-08-05 10:48 ` [PATCH 1/2][MIPS] Emit .note.GNU-stack for soft-float " Dragan Mladjenovic
2019-08-09 21:36   ` Jeff Law
2019-08-12 16:34     ` [EXTERNAL]Re: " Dragan Mladjenovic
2019-08-20  7:26       ` Jeff Law
2019-08-05 10:49 ` [PATCH 2/2][MIPS][RFC] Emit .note.GNU-stack for hard-float " Dragan Mladjenovic
2019-08-09 21:38   ` Jeff Law
2019-08-09 23:13     ` Joseph Myers
2019-11-01 10:32       ` Dragan Mladjenovic
2019-11-07 17:05         ` Dragan Mladjenovic
2019-11-27 18:59           ` [PING] " Dragan Mladjenovic
2019-12-07 18:33           ` Jeff Law
2020-01-23 11:14             ` Dragan Mladjenovic
2020-01-23 15:22               ` Jeff Law
2020-01-29 12:20               ` Tobias Burnus
2020-01-30  0:14                 ` [EXTERNAL]Re: " Dragan Mladjenovic
2020-01-30  9:20                   ` Dragan Mladjenovic
2019-08-09 22:03   ` Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).