From owner-svn-src-user@FreeBSD.ORG Sun May 19 19:20:00 2013 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 01A03732; Sun, 19 May 2013 19:19:59 +0000 (UTC) (envelope-from dchagin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id CDE5A656; Sun, 19 May 2013 19:19:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4JJJxB6001294; Sun, 19 May 2013 19:19:59 GMT (envelope-from dchagin@svn.freebsd.org) Received: (from dchagin@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4JJJxnd001290; Sun, 19 May 2013 19:19:59 GMT (envelope-from dchagin@svn.freebsd.org) Message-Id: <201305191919.r4JJJxnd001290@svn.freebsd.org> From: Dmitry Chagin Date: Sun, 19 May 2013 19:19:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r250814 - in user/dchagin/lemul/sys: amd64/linux amd64/linux32 i386/linux X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 19:20:00 -0000 Author: dchagin Date: Sun May 19 19:19:58 2013 New Revision: 250814 URL: http://svnweb.freebsd.org/changeset/base/250814 Log: 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: user/dchagin/lemul/sys/amd64/linux/linux_locore.s user/dchagin/lemul/sys/amd64/linux32/linux32_locore.s user/dchagin/lemul/sys/i386/linux/linux_locore.s Modified: user/dchagin/lemul/sys/amd64/linux/linux_locore.s ============================================================================== --- user/dchagin/lemul/sys/amd64/linux/linux_locore.s Sun May 19 19:19:01 2013 (r250813) +++ user/dchagin/lemul/sys/amd64/linux/linux_locore.s Sun May 19 19:19:58 2013 (r250814) @@ -66,7 +66,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 @@ -81,7 +81,7 @@ NON_GPROF_ENTRY(__vdso_getcpu) 4: .balign 4 .previous - +#endif #define do_cfa_expr(offset) \ .byte 0x0f; /* DW_CFA_def_cfa_expression */ \ Modified: user/dchagin/lemul/sys/amd64/linux32/linux32_locore.s ============================================================================== --- user/dchagin/lemul/sys/amd64/linux32/linux32_locore.s Sun May 19 19:19:01 2013 (r250813) +++ user/dchagin/lemul/sys/amd64/linux32/linux32_locore.s Sun May 19 19:19:58 2013 (r250814) @@ -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: user/dchagin/lemul/sys/i386/linux/linux_locore.s ============================================================================== --- user/dchagin/lemul/sys/i386/linux/linux_locore.s Sun May 19 19:19:01 2013 (r250813) +++ user/dchagin/lemul/sys/i386/linux/linux_locore.s Sun May 19 19:19:58 2013 (r250814) @@ -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 */ \