]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgcc/config/microblaze/crtn.S
Enable no-exec stacks for more targets using the Linux kernel.
[thirdparty/gcc.git] / libgcc / config / microblaze / crtn.S
index 3b9bf7ef52e3508382d0612b89008d60ab1ca12f..c784ed46ca3b17b06ed12ff9c6a9c618c34c93c9 100644 (file)
    see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
+/* An executable stack is *not* required for these functions.  */
+#ifdef __linux__
+.section .note.GNU-stack,"",%progbits
+.previous
+#endif
+
     .section .init, "ax"
     lw      r15, r0, r1
     rtsd    r15, 8