From a1e3b366c78d8dbd5b80f830911528438032f941 Mon Sep 17 00:00:00 2001 From: dchagin Date: Sat, 9 Jan 2016 16:25:30 +0000 Subject: 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. --- sys/i386/linux/linux_locore.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/i386/linux/linux_locore.s') diff --git a/sys/i386/linux/linux_locore.s b/sys/i386/linux/linux_locore.s index 54553b5..6c4d19c 100644 --- a/sys/i386/linux/linux_locore.s +++ b/sys/i386/linux/linux_locore.s @@ -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 */ \ -- cgit v1.1