From fb599a12a30598f13e50f63fbc0db8919678bbc3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 26 Jul 2010 20:05:22 -0400 Subject: bfin: add exec stack markings to assembly files Signed-off-by: Mike Frysinger --- libc/sysdeps/linux/bfin/bsd-_setjmp.S | 2 ++ libc/sysdeps/linux/bfin/crt1.S | 2 ++ libc/sysdeps/linux/bfin/crti.S | 2 ++ libc/sysdeps/linux/bfin/crtn.S | 2 ++ libc/sysdeps/linux/bfin/setjmp.S | 2 ++ 5 files changed, 10 insertions(+) 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 -- cgit v1.2.3