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: r248044
This commit is contained in:
parent
d009a5cfb3
commit
16fbcc168c
@ -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-10 Andreas Tobler <andreast@gcc.gnu.org>
|
||||
|
||||
Backport from mainline
|
||||
|
@ -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…
Reference in New Issue
Block a user