Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2011 16:08:40 +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: r217106 - in head/lib/libc: amd64/gen amd64/stdlib amd64/string amd64/sys i386/gen i386/stdlib i386/string i386/sys
Message-ID:  <201101071608.p07G8eDh057826@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Fri Jan  7 16:08:40 2011
New Revision: 217106
URL: http://svn.freebsd.org/changeset/base/217106

Log:
  Add section .note.GNU-stack for assembly files used by 386 and amd64.

Modified:
  head/lib/libc/amd64/gen/_setjmp.S
  head/lib/libc/amd64/gen/fabs.S
  head/lib/libc/amd64/gen/modf.S
  head/lib/libc/amd64/gen/rfork_thread.S
  head/lib/libc/amd64/gen/setjmp.S
  head/lib/libc/amd64/gen/sigsetjmp.S
  head/lib/libc/amd64/stdlib/div.S
  head/lib/libc/amd64/stdlib/ldiv.S
  head/lib/libc/amd64/stdlib/lldiv.S
  head/lib/libc/amd64/string/bcmp.S
  head/lib/libc/amd64/string/bcopy.S
  head/lib/libc/amd64/string/bzero.S
  head/lib/libc/amd64/string/memcmp.S
  head/lib/libc/amd64/string/memmove.S
  head/lib/libc/amd64/string/memset.S
  head/lib/libc/amd64/string/strcat.S
  head/lib/libc/amd64/string/strcmp.S
  head/lib/libc/amd64/string/strcpy.S
  head/lib/libc/amd64/sys/brk.S
  head/lib/libc/amd64/sys/cerror.S
  head/lib/libc/amd64/sys/exect.S
  head/lib/libc/amd64/sys/getcontext.S
  head/lib/libc/amd64/sys/pipe.S
  head/lib/libc/amd64/sys/ptrace.S
  head/lib/libc/amd64/sys/reboot.S
  head/lib/libc/amd64/sys/sbrk.S
  head/lib/libc/amd64/sys/setlogin.S
  head/lib/libc/amd64/sys/sigreturn.S
  head/lib/libc/amd64/sys/vfork.S
  head/lib/libc/i386/gen/_ctx_start.S
  head/lib/libc/i386/gen/_setjmp.S
  head/lib/libc/i386/gen/fabs.S
  head/lib/libc/i386/gen/modf.S
  head/lib/libc/i386/gen/rfork_thread.S
  head/lib/libc/i386/gen/setjmp.S
  head/lib/libc/i386/gen/sigsetjmp.S
  head/lib/libc/i386/stdlib/div.S
  head/lib/libc/i386/stdlib/ldiv.S
  head/lib/libc/i386/string/bcmp.S
  head/lib/libc/i386/string/bcopy.S
  head/lib/libc/i386/string/bzero.S
  head/lib/libc/i386/string/ffs.S
  head/lib/libc/i386/string/index.S
  head/lib/libc/i386/string/memchr.S
  head/lib/libc/i386/string/memcmp.S
  head/lib/libc/i386/string/memcpy.S
  head/lib/libc/i386/string/memmove.S
  head/lib/libc/i386/string/memset.S
  head/lib/libc/i386/string/rindex.S
  head/lib/libc/i386/string/strcat.S
  head/lib/libc/i386/string/strchr.S
  head/lib/libc/i386/string/strcmp.S
  head/lib/libc/i386/string/strcpy.S
  head/lib/libc/i386/string/strncmp.S
  head/lib/libc/i386/string/strrchr.S
  head/lib/libc/i386/string/swab.S
  head/lib/libc/i386/string/wcschr.S
  head/lib/libc/i386/string/wcscmp.S
  head/lib/libc/i386/string/wcslen.S
  head/lib/libc/i386/string/wmemchr.S
  head/lib/libc/i386/sys/Ovfork.S
  head/lib/libc/i386/sys/brk.S
  head/lib/libc/i386/sys/cerror.S
  head/lib/libc/i386/sys/exect.S
  head/lib/libc/i386/sys/getcontext.S
  head/lib/libc/i386/sys/pipe.S
  head/lib/libc/i386/sys/ptrace.S
  head/lib/libc/i386/sys/reboot.S
  head/lib/libc/i386/sys/sbrk.S
  head/lib/libc/i386/sys/setlogin.S
  head/lib/libc/i386/sys/sigreturn.S
  head/lib/libc/i386/sys/syscall.S

Modified: head/lib/libc/amd64/gen/_setjmp.S
==============================================================================
--- head/lib/libc/amd64/gen/_setjmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/gen/_setjmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -92,3 +92,5 @@ ENTRY(___longjmp)
 1:	movq	%rcx,0(%rsp)
 	ret
 END(___longjmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/gen/fabs.S
==============================================================================
--- head/lib/libc/amd64/gen/fabs.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/gen/fabs.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -42,3 +42,5 @@ END(fabs)
 	.data
 signbit:
 	.quad	0x8000000000000000
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/gen/modf.S
==============================================================================
--- head/lib/libc/amd64/gen/modf.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/gen/modf.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -87,3 +87,5 @@ ENTRY(modf)
 
 	ret
 END(modf)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/gen/rfork_thread.S
==============================================================================
--- head/lib/libc/amd64/gen/rfork_thread.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/gen/rfork_thread.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -100,3 +100,5 @@ ENTRY(rfork_thread)
 	jmp	HIDENAME(cerror)
 #endif
 END(rfork_thread)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/gen/setjmp.S
==============================================================================
--- head/lib/libc/amd64/gen/setjmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/gen/setjmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -110,3 +110,5 @@ ENTRY(__longjmp)
 1:	movq	%rcx,0(%rsp)
 	ret
 END(__longjmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/gen/sigsetjmp.S
==============================================================================
--- head/lib/libc/amd64/gen/sigsetjmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/gen/sigsetjmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -111,3 +111,5 @@ ENTRY(__siglongjmp)
 1:	movq	%rcx,0(%rsp)
 	ret
 END(__siglongjmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/stdlib/div.S
==============================================================================
--- head/lib/libc/amd64/stdlib/div.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/stdlib/div.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -16,3 +16,5 @@ ENTRY(div)
 	orq	%rdx,%rax
 	ret
 END(div)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/stdlib/ldiv.S
==============================================================================
--- head/lib/libc/amd64/stdlib/ldiv.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/stdlib/ldiv.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -14,3 +14,5 @@ ENTRY(ldiv)
 	idivq	%rsi
 	ret
 END(ldiv)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/stdlib/lldiv.S
==============================================================================
--- head/lib/libc/amd64/stdlib/lldiv.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/stdlib/lldiv.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -14,3 +14,5 @@ ENTRY(lldiv)
 	idivq	%rsi
 	ret
 END(lldiv)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/string/bcmp.S
==============================================================================
--- head/lib/libc/amd64/string/bcmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/string/bcmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -23,3 +23,5 @@ L1:
 	movsbl	%al,%eax
 	ret
 END(bcmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/string/bcopy.S
==============================================================================
--- head/lib/libc/amd64/string/bcopy.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/string/bcopy.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -95,3 +95,5 @@ END(memmove)
 END(bcopy)
 #endif
 #endif
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/string/bzero.S
==============================================================================
--- head/lib/libc/amd64/string/bzero.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/string/bzero.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -42,3 +42,5 @@ L1:	movq	%rsi,%rcx		/* zero remainder by
 
 	ret
 END(bzero)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/string/memcmp.S
==============================================================================
--- head/lib/libc/amd64/string/memcmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/string/memcmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -40,3 +40,5 @@ L6:	xorl	%eax,%eax		/* Perform unsigned 
 	subl    %edx,%eax
 	ret
 END(memcmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/string/memmove.S
==============================================================================
--- head/lib/libc/amd64/string/memmove.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/string/memmove.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -3,3 +3,5 @@
 
 #define MEMMOVE
 #include "bcopy.S"
+
+	.section .note.GNU-stack,"",%progbist

Modified: head/lib/libc/amd64/string/memset.S
==============================================================================
--- head/lib/libc/amd64/string/memset.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/string/memset.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -59,3 +59,5 @@ L1:	rep
 
 	ret
 END(memset)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/string/strcat.S
==============================================================================
--- head/lib/libc/amd64/string/strcat.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/string/strcat.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -164,3 +164,5 @@ ENTRY(strcat)
 .Ldone:
 	ret
 END(strcat)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/string/strcmp.S
==============================================================================
--- head/lib/libc/amd64/string/strcmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/string/strcmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -72,3 +72,5 @@ ENTRY(strcmp)
 	subq	%rdx,%rax
 	ret
 END(strcmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/string/strcpy.S
==============================================================================
--- head/lib/libc/amd64/string/strcpy.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/string/strcpy.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -110,3 +110,5 @@ ENTRY(strcpy)
 .Ldone:
 	ret
 END(strcpy)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/sys/brk.S
==============================================================================
--- head/lib/libc/amd64/sys/brk.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/sys/brk.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -83,3 +83,5 @@ err:
 	jmp	HIDENAME(cerror)
 #endif
 END(brk)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/sys/cerror.S
==============================================================================
--- head/lib/libc/amd64/sys/cerror.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/sys/cerror.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -56,3 +56,4 @@ HIDENAME(cerror):
 	movq	$-1,%rdx
 	ret
 
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/sys/exect.S
==============================================================================
--- head/lib/libc/amd64/sys/exect.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/sys/exect.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -54,3 +54,5 @@ ENTRY(exect)
 	jmp	HIDENAME(cerror)
 #endif
 END(exect)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/sys/getcontext.S
==============================================================================
--- head/lib/libc/amd64/sys/getcontext.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/sys/getcontext.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -53,3 +53,5 @@ ENTRY(__sys_getcontext)
 	jmp	HIDENAME(cerror)
 #endif
 END(__sys_getcontext)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/sys/pipe.S
==============================================================================
--- head/lib/libc/amd64/sys/pipe.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/sys/pipe.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -58,3 +58,5 @@ ENTRY(__sys_pipe)
 	jmp	HIDENAME(cerror)
 #endif
 END(__sys_pipe)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/sys/ptrace.S
==============================================================================
--- head/lib/libc/amd64/sys/ptrace.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/sys/ptrace.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -58,3 +58,5 @@ err:
 	jmp	HIDENAME(cerror)
 #endif
 END(ptrace)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/sys/reboot.S
==============================================================================
--- head/lib/libc/amd64/sys/reboot.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/sys/reboot.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -55,3 +55,5 @@ ENTRY(__sys_reboot)
 	jmp	HIDENAME(cerror)
 #endif
 END(__sys_reboot)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/sys/sbrk.S
==============================================================================
--- head/lib/libc/amd64/sys/sbrk.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/sys/sbrk.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -86,3 +86,5 @@ err:
 	jmp	HIDENAME(cerror)
 #endif
 END(sbrk)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/sys/setlogin.S
==============================================================================
--- head/lib/libc/amd64/sys/setlogin.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/sys/setlogin.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -63,3 +63,5 @@ ENTRY(__sys_setlogin)
 	jmp	HIDENAME(cerror)
 #endif
 END(__sys_setlogin)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/sys/sigreturn.S
==============================================================================
--- head/lib/libc/amd64/sys/sigreturn.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/sys/sigreturn.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -44,3 +44,5 @@ __FBSDID("$FreeBSD$");
  */
 
 RSYSCALL(sigreturn)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/amd64/sys/vfork.S
==============================================================================
--- head/lib/libc/amd64/sys/vfork.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/amd64/sys/vfork.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -57,3 +57,5 @@ ENTRY(__sys_vfork)
 	jmp	HIDENAME(cerror)
 #endif
 END(__sys_vfork)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/gen/_ctx_start.S
==============================================================================
--- head/lib/libc/i386/gen/_ctx_start.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/gen/_ctx_start.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -50,3 +50,5 @@ ENTRY(_ctx_start)
 	call	PIC_PLT(abort)		/* fubar */
 	ret
 END(_ctx_start)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/gen/_setjmp.S
==============================================================================
--- head/lib/libc/i386/gen/_setjmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/gen/_setjmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -78,3 +78,5 @@ ENTRY(___longjmp)
 1:	movl	%ecx,0(%esp)
 	ret
 END(___longjmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/gen/fabs.S
==============================================================================
--- head/lib/libc/i386/gen/fabs.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/gen/fabs.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -41,3 +41,5 @@ ENTRY(fabs)
 	fabs
 	ret
 END(fabs)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/gen/modf.S
==============================================================================
--- head/lib/libc/i386/gen/modf.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/gen/modf.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -83,3 +83,5 @@ ENTRY(modf)
 	leave
 	ret
 END(modf)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/gen/rfork_thread.S
==============================================================================
--- head/lib/libc/i386/gen/rfork_thread.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/gen/rfork_thread.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -116,3 +116,5 @@ ENTRY(rfork_thread)
 	PIC_PROLOGUE
 	jmp	PIC_PLT(HIDENAME(cerror))
 END(rfork_thread)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/gen/setjmp.S
==============================================================================
--- head/lib/libc/i386/gen/setjmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/gen/setjmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -98,3 +98,5 @@ ENTRY(__longjmp)
 1:	movl	%ecx,0(%esp)
 	ret
 END(__longjmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/gen/sigsetjmp.S
==============================================================================
--- head/lib/libc/i386/gen/sigsetjmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/gen/sigsetjmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -110,3 +110,5 @@ ENTRY(__siglongjmp)
 1:	movl	%ecx,0(%esp)
 	ret
 END(__siglongjmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/stdlib/div.S
==============================================================================
--- head/lib/libc/i386/stdlib/div.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/stdlib/div.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -35,3 +35,5 @@ ENTRY(div)
         idiv    %ecx
         ret
 END(div)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/stdlib/ldiv.S
==============================================================================
--- head/lib/libc/i386/stdlib/ldiv.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/stdlib/ldiv.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -38,3 +38,5 @@ ENTRY(ldiv)
         idiv    %ecx
         ret
 END(ldiv)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/bcmp.S
==============================================================================
--- head/lib/libc/i386/string/bcmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/bcmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -62,3 +62,5 @@ L1:
 	popl	%edi
 	ret
 END(bcmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/bcopy.S
==============================================================================
--- head/lib/libc/i386/string/bcopy.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/bcopy.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -106,3 +106,5 @@ END(memmove)
 END(bcopy)
 #endif
 #endif
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/bzero.S
==============================================================================
--- head/lib/libc/i386/string/bzero.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/bzero.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -80,3 +80,5 @@ L1:	rep
 	popl	%edi
 	ret
 END(bzero)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/ffs.S
==============================================================================
--- head/lib/libc/i386/string/ffs.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/ffs.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -52,3 +52,5 @@ ENTRY(ffs)
 L1:	xorl	%eax,%eax		/* clear result */
 	ret
 END(ffs)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/index.S
==============================================================================
--- head/lib/libc/i386/string/index.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/index.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -62,3 +62,5 @@ L2:
 	popl	%ebx
 	ret
 END(index)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/memchr.S
==============================================================================
--- head/lib/libc/i386/string/memchr.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/memchr.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -57,3 +57,5 @@ L1:	xorl	%eax,%eax
 	popl	%edi
 	ret
 END(memchr)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/memcmp.S
==============================================================================
--- head/lib/libc/i386/string/memcmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/memcmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -74,3 +74,5 @@ L6:	movzbl  -1(%edi),%eax		/* Perform un
 	popl	%edi
 	ret
 END(memcmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/memcpy.S
==============================================================================
--- head/lib/libc/i386/string/memcpy.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/memcpy.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -3,3 +3,5 @@ __FBSDID("$FreeBSD$");
 
 #define MEMCOPY
 #include "bcopy.S"
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/memmove.S
==============================================================================
--- head/lib/libc/i386/string/memmove.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/memmove.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -3,3 +3,5 @@ __FBSDID("$FreeBSD$");
 
 #define MEMMOVE
 #include "bcopy.S"
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/memset.S
==============================================================================
--- head/lib/libc/i386/string/memset.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/memset.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -88,3 +88,5 @@ L1:	rep
 	popl	%edi
 	ret
 END(memset)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/rindex.S
==============================================================================
--- head/lib/libc/i386/string/rindex.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/rindex.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -63,3 +63,5 @@ L2:	
 	popl	%ebx
 	ret
 END(rindex)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/strcat.S
==============================================================================
--- head/lib/libc/i386/string/strcat.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/strcat.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -99,3 +99,5 @@ L2:	popl	%eax			/* pop destination addre
 	popl	%edi			/* restore edi */
 	ret
 END(strcat)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/strchr.S
==============================================================================
--- head/lib/libc/i386/string/strchr.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/strchr.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -62,3 +62,5 @@ L2:
 	popl	%ebx
 	ret
 END(strchr)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/strcmp.S
==============================================================================
--- head/lib/libc/i386/string/strcmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/strcmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -118,3 +118,5 @@ L3:     movzbl  (%eax),%eax             
 	subl	%edx,%eax
 	ret
 END(strcmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/strcpy.S
==============================================================================
--- head/lib/libc/i386/string/strcpy.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/strcpy.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -88,3 +88,5 @@ L1:	movb	(%edx),%al		/* unroll loop, but
 L2:	popl	%eax			/* pop dst address */
 	ret
 END(strcpy)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/strncmp.S
==============================================================================
--- head/lib/libc/i386/string/strncmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/strncmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -165,3 +165,5 @@ L4:	xorl	%eax,%eax
 	popl	%ebx
 	ret
 END(strncmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/strrchr.S
==============================================================================
--- head/lib/libc/i386/string/strrchr.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/strrchr.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -63,3 +63,5 @@ L2:	
 	popl	%ebx
 	ret
 END(strrchr)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/swab.S
==============================================================================
--- head/lib/libc/i386/string/swab.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/swab.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -98,3 +98,5 @@ L4:	popl	%edi
 	popl	%esi
 	ret
 END(swab)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/wcschr.S
==============================================================================
--- head/lib/libc/i386/string/wcschr.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/wcschr.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -75,3 +75,5 @@ no:	popl	%ebx
 	xorl	%eax,%eax
 	ret
 END(wcschr)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/wcscmp.S
==============================================================================
--- head/lib/libc/i386/string/wcscmp.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/wcscmp.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -78,3 +78,5 @@ no0:	subl	(%esi),%eax
 	popl	%edi
 	ret
 END(wcscmp)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/wcslen.S
==============================================================================
--- head/lib/libc/i386/string/wcslen.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/wcslen.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -67,3 +67,5 @@ found1:	incl	%eax
 found0:	popl	%ebx
 	ret
 END(wcslen)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/string/wmemchr.S
==============================================================================
--- head/lib/libc/i386/string/wmemchr.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/string/wmemchr.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -104,3 +104,5 @@ no:	xorl	%eax,%eax
 	popl	%edi
 	ret
 END(wmemchr)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/sys/Ovfork.S
==============================================================================
--- head/lib/libc/i386/sys/Ovfork.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/sys/Ovfork.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -53,3 +53,5 @@ ENTRY(__sys_vfork)
 	PIC_PROLOGUE
 	jmp     PIC_PLT(HIDENAME(cerror))
 END(__sys_vfork)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/sys/brk.S
==============================================================================
--- head/lib/libc/i386/sys/brk.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/sys/brk.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -86,3 +86,5 @@ err:
 	jmp	HIDENAME(cerror)
 #endif
 END(brk)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/sys/cerror.S
==============================================================================
--- head/lib/libc/i386/sys/cerror.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/sys/cerror.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -63,3 +63,4 @@ HIDENAME(cerror):
 	movl	$-1,%edx
 	ret
 
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/sys/exect.S
==============================================================================
--- head/lib/libc/i386/sys/exect.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/sys/exect.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -50,3 +50,5 @@ ENTRY(exect)
 	PIC_PROLOGUE
 	jmp	PIC_PLT(HIDENAME(cerror))	/* exect(file, argv, env); */
 END(exect)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/sys/getcontext.S
==============================================================================
--- head/lib/libc/i386/sys/getcontext.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/sys/getcontext.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -49,3 +49,5 @@ ENTRY(__sys_getcontext)
 	PIC_PROLOGUE
 	jmp	PIC_PLT(HIDENAME(cerror))
 END(__sys_getcontext)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/sys/pipe.S
==============================================================================
--- head/lib/libc/i386/sys/pipe.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/sys/pipe.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -45,3 +45,5 @@ SYSCALL(pipe)
 	movl	$0,%eax
 	ret
 END(__sys_pipe)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/sys/ptrace.S
==============================================================================
--- head/lib/libc/i386/sys/ptrace.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/sys/ptrace.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -56,3 +56,5 @@ err:
 	PIC_PROLOGUE
 	jmp	PIC_PLT(HIDENAME(cerror))
 END(ptrace)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/sys/reboot.S
==============================================================================
--- head/lib/libc/i386/sys/reboot.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/sys/reboot.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -41,3 +41,5 @@ __FBSDID("$FreeBSD$");
 SYSCALL(reboot)
 	iret
 END(__sys_reboot)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/sys/sbrk.S
==============================================================================
--- head/lib/libc/i386/sys/sbrk.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/sys/sbrk.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -89,3 +89,5 @@ err:
 	jmp	HIDENAME(cerror)
 #endif /* PIC */
 END(sbrk)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/sys/setlogin.S
==============================================================================
--- head/lib/libc/i386/sys/setlogin.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/sys/setlogin.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -53,3 +53,5 @@ SYSCALL(setlogin)
 #endif
 	ret				/* setlogin(name) */
 END(__sys_setlogin)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/sys/sigreturn.S
==============================================================================
--- head/lib/libc/i386/sys/sigreturn.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/sys/sigreturn.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -44,3 +44,5 @@ __FBSDID("$FreeBSD$");
  */
 
 RSYSCALL(sigreturn)
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/lib/libc/i386/sys/syscall.S
==============================================================================
--- head/lib/libc/i386/sys/syscall.S	Fri Jan  7 16:07:51 2011	(r217105)
+++ head/lib/libc/i386/sys/syscall.S	Fri Jan  7 16:08:40 2011	(r217106)
@@ -51,3 +51,5 @@ ENTRY(syscall)
 	PIC_PROLOGUE
 	jmp	PIC_PLT(HIDENAME(cerror))
 END(syscall)
+
+	.section .note.GNU-stack,"",%progbits



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101071608.p07G8eDh057826>