summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-01-09 20:18:53 +0000
committerdchagin <dchagin@FreeBSD.org>2016-01-09 20:18:53 +0000
commite706df7b9aabea4208d9f836f591eae7b4424987 (patch)
tree552a0c58d2d5879ccf28b0fbfa2ee2a690e1718a /sys/sparc64
parentf7b2f01ed012f7d71bc2a622981864be45556e68 (diff)
downloadFreeBSD-src-e706df7b9aabea4208d9f836f591eae7b4424987.zip
FreeBSD-src-e706df7b9aabea4208d9f836f591eae7b4424987.tar.gz
Implement vsyscall hack. Prior to 2.13 glibc uses vsyscall
instead of vdso. An upcoming linux_base-c6 needs it. Differential Revision: https://reviews.freebsd.org/D1090 Reviewed by: kib, trasz MFC after: 1 week
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/elf_machdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sparc64/sparc64/elf_machdep.c b/sys/sparc64/sparc64/elf_machdep.c
index eea21a2..c2b0d26 100644
--- a/sys/sparc64/sparc64/elf_machdep.c
+++ b/sys/sparc64/sparc64/elf_machdep.c
@@ -85,6 +85,7 @@ static struct sysentvec elf64_freebsd_sysvec = {
.sv_syscallnames = syscallnames,
.sv_schedtail = NULL,
.sv_thread_detach = NULL,
+ .sv_trap = NULL,
};
static Elf64_Brandinfo freebsd_brand_info = {
OpenPOWER on IntegriCloud