Date: Fri, 7 Jan 2011 16:07:52 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r217105 - in head/lib/csu: amd64 i386-elf Message-ID: <201101071607.p07G7qsx057764@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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,@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",@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,@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",@progbits add $12,%esp ret + + .section .note.GNU-stack,"",%progbits
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101071607.p07G7qsx057764>