summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-07-26 20:05:22 -0400
committerMike Frysinger <vapier@gentoo.org>2010-07-26 20:31:57 -0400
commitfb599a12a30598f13e50f63fbc0db8919678bbc3 (patch)
tree5bc1ef2c618fd5cb9497329882884f1a86275ed3 /libc/sysdeps/linux
parent0b291e93bc26836686d8a8a2033cdd59e2fc55f2 (diff)
bfin: add exec stack markings to assembly files
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/bfin/bsd-_setjmp.S2
-rw-r--r--libc/sysdeps/linux/bfin/crt1.S2
-rw-r--r--libc/sysdeps/linux/bfin/crti.S2
-rw-r--r--libc/sysdeps/linux/bfin/crtn.S2
-rw-r--r--libc/sysdeps/linux/bfin/setjmp.S2
5 files changed, 10 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/bfin/bsd-_setjmp.S b/libc/sysdeps/linux/bfin/bsd-_setjmp.S
index 61cb53f06..c365b4ef6 100644
--- a/libc/sysdeps/linux/bfin/bsd-_setjmp.S
+++ b/libc/sysdeps/linux/bfin/bsd-_setjmp.S
@@ -95,3 +95,5 @@ __setjmp:
JUMP.L ___sigjmp_save;
.size __setjmp,.-__setjmp
+
+.section .note.GNU-stack,"",%progbits
diff --git a/libc/sysdeps/linux/bfin/crt1.S b/libc/sysdeps/linux/bfin/crt1.S
index 3dd95fa26..22b2b761d 100644
--- a/libc/sysdeps/linux/bfin/crt1.S
+++ b/libc/sysdeps/linux/bfin/crt1.S
@@ -164,3 +164,5 @@ lib_main:
.hidden _current_shared_library_p5_offset_
#endif
+
+.section .note.GNU-stack,"",%progbits
diff --git a/libc/sysdeps/linux/bfin/crti.S b/libc/sysdeps/linux/bfin/crti.S
index 7c10392d8..f2831cc28 100644
--- a/libc/sysdeps/linux/bfin/crti.S
+++ b/libc/sysdeps/linux/bfin/crti.S
@@ -60,3 +60,5 @@ __fini:
#if defined __ID_SHARED_LIB__
P5 = [P5 + _current_shared_library_p5_offset_]
#endif
+
+.section .note.GNU-stack,"",%progbits
diff --git a/libc/sysdeps/linux/bfin/crtn.S b/libc/sysdeps/linux/bfin/crtn.S
index add0b7162..a35ebe05a 100644
--- a/libc/sysdeps/linux/bfin/crtn.S
+++ b/libc/sysdeps/linux/bfin/crtn.S
@@ -51,3 +51,5 @@ Boston, MA 02111-1307, USA. */
P3 = [SP++];
#endif
rts;
+
+.section .note.GNU-stack,"",%progbits
diff --git a/libc/sysdeps/linux/bfin/setjmp.S b/libc/sysdeps/linux/bfin/setjmp.S
index 1b304f84d..a2b6176d7 100644
--- a/libc/sysdeps/linux/bfin/setjmp.S
+++ b/libc/sysdeps/linux/bfin/setjmp.S
@@ -94,3 +94,5 @@ ___sigsetjmp:
R0 = [P0 + 0x20];
JUMP.L ___sigjmp_save;
.size ___sigsetjmp, .-___sigsetjmp
+
+.section .note.GNU-stack,"",%progbits