Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2016 16:25:31 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r293536 - in stable/10/sys: amd64/linux amd64/linux32 i386/linux
Message-ID:  <201601091625.u09GPV66038318@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dchagin
Date: Sat Jan  9 16:25:30 2016
New Revision: 293536
URL: https://svnweb.freebsd.org/changeset/base/293536

Log:
  MFC r283432:
  
  Being exported through vdso the note.Linux section used by glibc
  to determine the kernel version (this saves one uname call).
  Temporarily disable the export of a note.Linux section until I figured
  out how to change the kernel version in the note.Linux on the fly.

Modified:
  stable/10/sys/amd64/linux/linux_locore.s
  stable/10/sys/amd64/linux32/linux32_locore.s
  stable/10/sys/i386/linux/linux_locore.s
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/amd64/linux/linux_locore.s
==============================================================================
--- stable/10/sys/amd64/linux/linux_locore.s	Sat Jan  9 16:24:30 2016	(r293535)
+++ stable/10/sys/amd64/linux/linux_locore.s	Sat Jan  9 16:25:30 2016	(r293536)
@@ -58,7 +58,7 @@ NON_GPROF_ENTRY(__vdso_getcpu)
 .weak getcpu
 .set getcpu, __vdso_getcpu
 
-
+#if 0
 	.section .note.Linux, "a",@note
 	.long 2f - 1f		/* namesz */
 	.balign 4
@@ -73,3 +73,4 @@ NON_GPROF_ENTRY(__vdso_getcpu)
 4:
 	.balign 4
 	.previous
+#endif

Modified: stable/10/sys/amd64/linux32/linux32_locore.s
==============================================================================
--- stable/10/sys/amd64/linux32/linux32_locore.s	Sat Jan  9 16:24:30 2016	(r293535)
+++ stable/10/sys/amd64/linux32/linux32_locore.s	Sat Jan  9 16:25:30 2016	(r293536)
@@ -55,7 +55,7 @@ NON_GPROF_ENTRY(linux32_vsyscall)
 	ret
 .endvsyscall:
 
-
+#if 0
 	.section .note.Linux, "a",@note
 	.long 2f - 1f		/* namesz */
 	.balign 4
@@ -70,7 +70,7 @@ NON_GPROF_ENTRY(linux32_vsyscall)
 4:
 	.balign 4
 	.previous
-
+#endif
 
 #define do_cfa_expr(offset)                                             \
 	.byte 0x0f;			/* DW_CFA_def_cfa_expression */ \

Modified: stable/10/sys/i386/linux/linux_locore.s
==============================================================================
--- stable/10/sys/i386/linux/linux_locore.s	Sat Jan  9 16:24:30 2016	(r293535)
+++ stable/10/sys/i386/linux/linux_locore.s	Sat Jan  9 16:25:30 2016	(r293536)
@@ -48,7 +48,7 @@ NON_GPROF_ENTRY(linux_vsyscall)
 	ret
 .endvsyscall:
 
-
+#if 0
 	.section .note.Linux, "a",@note
 	.long 2f - 1f		/* namesz */
 	.balign 4
@@ -63,7 +63,7 @@ NON_GPROF_ENTRY(linux_vsyscall)
 4:
 	.balign 4
 	.previous
-
+#endif
 
 #define do_cfa_expr(offset)                                             \
 	.byte 0x0f;			/* DW_CFA_def_cfa_expression */ \



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