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
This commit is contained in:
Adhemerval Zanella 2017-05-15 07:36:18 +00:00 committed by Eric Botcazou
parent 4d37001f1e
commit c39d309a25
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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>
PR target/80600

View file

@ -5,6 +5,12 @@
slightly edited to match the desired calling convention, and also to
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
.text
.align 4