svn commit: r217103 - in head/libexec/rtld-elf: amd64 i386

Konstantin Belousov kib at FreeBSD.org
Fri Jan 7 16:07:06 UTC 2011


Author: kib
Date: Fri Jan  7 16:07:05 2011
New Revision: 217103
URL: http://svn.freebsd.org/changeset/base/217103

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

Modified:
  head/libexec/rtld-elf/amd64/rtld_start.S
  head/libexec/rtld-elf/i386/rtld_start.S

Modified: head/libexec/rtld-elf/amd64/rtld_start.S
==============================================================================
--- head/libexec/rtld-elf/amd64/rtld_start.S	Fri Jan  7 15:59:23 2011	(r217102)
+++ head/libexec/rtld-elf/amd64/rtld_start.S	Fri Jan  7 16:07:05 2011	(r217103)
@@ -112,3 +112,5 @@ _rtld_bind_start:
 	popfq				# Restore rflags
 	leaq	16(%rsp),%rsp		# Discard spare, obj, do not change rflags
 	ret				# "Return" to target address
+
+	.section .note.GNU-stack,"",%progbits

Modified: head/libexec/rtld-elf/i386/rtld_start.S
==============================================================================
--- head/libexec/rtld-elf/i386/rtld_start.S	Fri Jan  7 15:59:23 2011	(r217102)
+++ head/libexec/rtld-elf/i386/rtld_start.S	Fri Jan  7 16:07:05 2011	(r217103)
@@ -89,3 +89,5 @@ _rtld_bind_start:
 	popf				# Restore eflags
 	leal	4(%esp),%esp		# Discard reloff, do not change eflags
 	ret				# "Return" to target address
+
+	.section .note.GNU-stack,"",%progbits


More information about the svn-src-head mailing list