summaryrefslogtreecommitdiffstats
path: root/sys/amd64/linux32
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2015-05-24 16:25:44 +0000
committerdchagin <dchagin@FreeBSD.org>2015-05-24 16:25:44 +0000
commitd1e150aef17fd1b3c9caaf040fa7be17f04c873b (patch)
tree51cc1fecda53f7fc8ab9d62235f7662ce8e4bea1 /sys/amd64/linux32
parenteb881eec7ed974691ab44b62a8e4a751f8f7da9a (diff)
downloadFreeBSD-src-d1e150aef17fd1b3c9caaf040fa7be17f04c873b.zip
FreeBSD-src-d1e150aef17fd1b3c9caaf040fa7be17f04c873b.tar.gz
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. Differential Revision: https://reviews.freebsd.org/D1081 Reviewed by: trasz
Diffstat (limited to 'sys/amd64/linux32')
-rw-r--r--sys/amd64/linux32/linux32_locore.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/linux32/linux32_locore.s b/sys/amd64/linux32/linux32_locore.s
index 7db3683..4edbdf3 100644
--- a/sys/amd64/linux32/linux32_locore.s
+++ b/sys/amd64/linux32/linux32_locore.s
@@ -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 */ \
OpenPOWER on IntegriCloud