svn commit: r217105 - in head/lib/csu: amd64 i386-elf
Konstantin Belousov
kib at FreeBSD.org
Fri Jan 7 16:07:52 UTC 2011
Author: kib
Date: Fri Jan 7 16:07:51 2011
New Revision: 217105
URL: http://svn.freebsd.org/changeset/base/217105
Log:
Add section .note.GNU-stack for assembly files used by 386 and amd64.
Modified:
head/lib/csu/amd64/crti.S
head/lib/csu/amd64/crtn.S
head/lib/csu/i386-elf/crt1_s.S
head/lib/csu/i386-elf/crti.S
head/lib/csu/i386-elf/crtn.S
Modified: head/lib/csu/amd64/crti.S
==============================================================================
--- head/lib/csu/amd64/crti.S Fri Jan 7 16:07:29 2011 (r217104)
+++ head/lib/csu/amd64/crti.S Fri Jan 7 16:07:51 2011 (r217105)
@@ -39,3 +39,5 @@ _init:
.type _fini, at function
_fini:
subq $8,%rsp
+
+ .section .note.GNU-stack,"",%progbits
Modified: head/lib/csu/amd64/crtn.S
==============================================================================
--- head/lib/csu/amd64/crtn.S Fri Jan 7 16:07:29 2011 (r217104)
+++ head/lib/csu/amd64/crtn.S Fri Jan 7 16:07:51 2011 (r217105)
@@ -33,3 +33,5 @@ __FBSDID("$FreeBSD$");
.section .fini,"ax", at progbits
addq $8,%rsp
ret
+
+ .section .note.GNU-stack,"",%progbits
Modified: head/lib/csu/i386-elf/crt1_s.S
==============================================================================
--- head/lib/csu/i386-elf/crt1_s.S Fri Jan 7 16:07:29 2011 (r217104)
+++ head/lib/csu/i386-elf/crt1_s.S Fri Jan 7 16:07:51 2011 (r217105)
@@ -49,3 +49,5 @@ _start:
int3
.cfi_endproc
.size _start, . - _start
+
+ .section .note.GNU-stack,"",%progbits
Modified: head/lib/csu/i386-elf/crti.S
==============================================================================
--- head/lib/csu/i386-elf/crti.S Fri Jan 7 16:07:29 2011 (r217104)
+++ head/lib/csu/i386-elf/crti.S Fri Jan 7 16:07:51 2011 (r217105)
@@ -39,3 +39,5 @@ _init:
.type _fini, at function
_fini:
sub $12,%esp /* re-align stack pointer */
+
+ .section .note.GNU-stack,"",%progbits
Modified: head/lib/csu/i386-elf/crtn.S
==============================================================================
--- head/lib/csu/i386-elf/crtn.S Fri Jan 7 16:07:29 2011 (r217104)
+++ head/lib/csu/i386-elf/crtn.S Fri Jan 7 16:07:51 2011 (r217105)
@@ -33,3 +33,5 @@ __FBSDID("$FreeBSD$");
.section .fini,"ax", at progbits
add $12,%esp
ret
+
+ .section .note.GNU-stack,"",%progbits
More information about the svn-src-all
mailing list