diff options
author | kib <kib@FreeBSD.org> | 2011-01-14 11:33:40 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-01-14 11:33:40 +0000 |
commit | 897b773ff41094ced927d1870273154b3a7d6d70 (patch) | |
tree | deea1a809e669ad3d372e327ac3c2d84977afb00 /lib/libc/powerpc64 | |
parent | e5afbd75dfcca49e4da6e59e8ce6c5303a5f0d76 (diff) | |
download | FreeBSD-src-897b773ff41094ced927d1870273154b3a7d6d70.zip FreeBSD-src-897b773ff41094ced927d1870273154b3a7d6d70.tar.gz |
Mark assembler sources from libc as working with non-executable stack.
Reviewed and tested by: nwhitehorn
Diffstat (limited to 'lib/libc/powerpc64')
-rw-r--r-- | lib/libc/powerpc64/gen/_ctx_start.S | 2 | ||||
-rw-r--r-- | lib/libc/powerpc64/gen/_setjmp.S | 2 | ||||
-rw-r--r-- | lib/libc/powerpc64/gen/fabs.S | 2 | ||||
-rw-r--r-- | lib/libc/powerpc64/gen/setjmp.S | 1 | ||||
-rw-r--r-- | lib/libc/powerpc64/gen/sigsetjmp.S | 2 | ||||
-rw-r--r-- | lib/libc/powerpc64/sys/brk.S | 2 | ||||
-rw-r--r-- | lib/libc/powerpc64/sys/cerror.S | 2 | ||||
-rw-r--r-- | lib/libc/powerpc64/sys/exect.S | 2 | ||||
-rw-r--r-- | lib/libc/powerpc64/sys/pipe.S | 2 | ||||
-rw-r--r-- | lib/libc/powerpc64/sys/ptrace.S | 2 | ||||
-rw-r--r-- | lib/libc/powerpc64/sys/sbrk.S | 2 | ||||
-rw-r--r-- | lib/libc/powerpc64/sys/setlogin.S | 2 |
12 files changed, 22 insertions, 1 deletions
diff --git a/lib/libc/powerpc64/gen/_ctx_start.S b/lib/libc/powerpc64/gen/_ctx_start.S index 4dabd13..6e373c8 100644 --- a/lib/libc/powerpc64/gen/_ctx_start.S +++ b/lib/libc/powerpc64/gen/_ctx_start.S @@ -45,3 +45,5 @@ */ nop bl PIC_PLT(CNAME(abort)) /* abort */ + + .section .note.GNU-stack,"",%progbits diff --git a/lib/libc/powerpc64/gen/_setjmp.S b/lib/libc/powerpc64/gen/_setjmp.S index e7ea5f7..a5c247d 100644 --- a/lib/libc/powerpc64/gen/_setjmp.S +++ b/lib/libc/powerpc64/gen/_setjmp.S @@ -114,3 +114,5 @@ ENTRY(_longjmp) bnelr li %r3,1 blr + + .section .note.GNU-stack,"",%progbits diff --git a/lib/libc/powerpc64/gen/fabs.S b/lib/libc/powerpc64/gen/fabs.S index 79475ca..7891012 100644 --- a/lib/libc/powerpc64/gen/fabs.S +++ b/lib/libc/powerpc64/gen/fabs.S @@ -33,3 +33,5 @@ __FBSDID("$FreeBSD$"); ENTRY(fabs) fabs %f1,%f1 blr + + .section .note.GNU-stack,"",%progbits diff --git a/lib/libc/powerpc64/gen/setjmp.S b/lib/libc/powerpc64/gen/setjmp.S index fff8aee..0f33ab2 100644 --- a/lib/libc/powerpc64/gen/setjmp.S +++ b/lib/libc/powerpc64/gen/setjmp.S @@ -137,3 +137,4 @@ ENTRY(__longjmp) li %r3,1 blr + .section .note.GNU-stack,"",%progbits diff --git a/lib/libc/powerpc64/gen/sigsetjmp.S b/lib/libc/powerpc64/gen/sigsetjmp.S index 9a26a8f..7b50f9f 100644 --- a/lib/libc/powerpc64/gen/sigsetjmp.S +++ b/lib/libc/powerpc64/gen/sigsetjmp.S @@ -142,3 +142,5 @@ ENTRY(siglongjmp) bnelr li %r3,1 blr + + .section .note.GNU-stack,"",%progbits diff --git a/lib/libc/powerpc64/sys/brk.S b/lib/libc/powerpc64/sys/brk.S index 59b891c..1e71663 100644 --- a/lib/libc/powerpc64/sys/brk.S +++ b/lib/libc/powerpc64/sys/brk.S @@ -69,3 +69,5 @@ ENTRY(brk) ld %r0,16(%r1) mtlr %r0 blr + + .section .note.GNU-stack,"",%progbits diff --git a/lib/libc/powerpc64/sys/cerror.S b/lib/libc/powerpc64/sys/cerror.S index 9afb0f4..db7a10f 100644 --- a/lib/libc/powerpc64/sys/cerror.S +++ b/lib/libc/powerpc64/sys/cerror.S @@ -57,4 +57,4 @@ ENTRY(HIDENAME(cerror)) li %r4,-1 blr - + .section .note.GNU-stack,"",%progbits diff --git a/lib/libc/powerpc64/sys/exect.S b/lib/libc/powerpc64/sys/exect.S index eecbd11..b752fb8 100644 --- a/lib/libc/powerpc64/sys/exect.S +++ b/lib/libc/powerpc64/sys/exect.S @@ -45,3 +45,5 @@ ENTRY(exect) ld %r0,16(%r1) mtlr %r0 blr + + .section .note.GNU-stack,"",%progbits diff --git a/lib/libc/powerpc64/sys/pipe.S b/lib/libc/powerpc64/sys/pipe.S index fe115b0..0a92df5 100644 --- a/lib/libc/powerpc64/sys/pipe.S +++ b/lib/libc/powerpc64/sys/pipe.S @@ -49,3 +49,5 @@ ENTRY(pipe) ld %r0,16(%r1) mtlr %r0 blr + + .section .note.GNU-stack,"",%progbits diff --git a/lib/libc/powerpc64/sys/ptrace.S b/lib/libc/powerpc64/sys/ptrace.S index 3ec4915..bda17e8 100644 --- a/lib/libc/powerpc64/sys/ptrace.S +++ b/lib/libc/powerpc64/sys/ptrace.S @@ -63,3 +63,5 @@ ENTRY(ptrace) ld %r0,16(%r1) mtlr %r0 blr + + .section .note.GNU-stack,"",%progbits diff --git a/lib/libc/powerpc64/sys/sbrk.S b/lib/libc/powerpc64/sys/sbrk.S index a7a9c77..c767049 100644 --- a/lib/libc/powerpc64/sys/sbrk.S +++ b/lib/libc/powerpc64/sys/sbrk.S @@ -64,3 +64,5 @@ ENTRY(sbrk) ld %r0,16(%r1) mtlr %r0 blr + + .section .note.GNU-stack,"",%progbits diff --git a/lib/libc/powerpc64/sys/setlogin.S b/lib/libc/powerpc64/sys/setlogin.S index 19e3212..6183407 100644 --- a/lib/libc/powerpc64/sys/setlogin.S +++ b/lib/libc/powerpc64/sys/setlogin.S @@ -37,3 +37,5 @@ SYSCALL(setlogin) li %r5,0 stw %r5,CNAME(_logname_valid)@toc@l(%r4) blr + + .section .note.GNU-stack,"",%progbits |