瀏覽代碼

bfin: add exec stack markings to assembly files

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 14 年之前
父節點
當前提交
fb599a12a3

+ 2 - 0
libc/sysdeps/linux/bfin/bsd-_setjmp.S

@@ -95,3 +95,5 @@ __setjmp:
 	JUMP.L ___sigjmp_save;
 
 .size __setjmp,.-__setjmp
+
+.section .note.GNU-stack,"",%progbits

+ 2 - 0
libc/sysdeps/linux/bfin/crt1.S

@@ -164,3 +164,5 @@ lib_main:
 
 	.hidden _current_shared_library_p5_offset_
 #endif
+
+.section .note.GNU-stack,"",%progbits

+ 2 - 0
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

+ 2 - 0
libc/sysdeps/linux/bfin/crtn.S

@@ -51,3 +51,5 @@ Boston, MA 02111-1307, USA.  */
 	P3 = [SP++];
 #endif
 	rts;
+
+.section .note.GNU-stack,"",%progbits

+ 2 - 0
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