Commit c39d309a by Adhemerval Zanella Committed by Eric Botcazou

lb1spc.S: Emit .note.GNU-stack section for a non-executable stack.

	* config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
	section for a non-executable stack.

From-SVN: r248043
parent 4d37001f
2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
section for a non-executable stack.
2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com> 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
PR target/80600 PR target/80600
......
...@@ -5,6 +5,12 @@ ...@@ -5,6 +5,12 @@
slightly edited to match the desired calling convention, and also to slightly edited to match the desired calling convention, and also to
optimize them for our purposes. */ optimize them for our purposes. */
/* An executable stack is *not* required for these functions. */
#if defined(__ELF__) && defined(__linux__)
.section .note.GNU-stack,"",%progbits
.previous
#endif
#ifdef L_mulsi3 #ifdef L_mulsi3
.text .text
.align 4 .align 4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment