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:
parent
4d37001f1e
commit
c39d309a25
2 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue