diff options
author | dchagin <dchagin@FreeBSD.org> | 2016-01-09 20:18:53 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2016-01-09 20:18:53 +0000 |
commit | e706df7b9aabea4208d9f836f591eae7b4424987 (patch) | |
tree | 552a0c58d2d5879ccf28b0fbfa2ee2a690e1718a /sys/mips | |
parent | f7b2f01ed012f7d71bc2a622981864be45556e68 (diff) | |
download | FreeBSD-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/mips')
-rw-r--r-- | sys/mips/mips/elf_machdep.c | 2 | ||||
-rw-r--r-- | sys/mips/mips/freebsd32_machdep.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/mips/mips/elf_machdep.c b/sys/mips/mips/elf_machdep.c index 2b50015..b332bf3 100644 --- a/sys/mips/mips/elf_machdep.c +++ b/sys/mips/mips/elf_machdep.c @@ -81,6 +81,7 @@ struct sysentvec elf64_freebsd_sysvec = { .sv_syscallnames = syscallnames, .sv_schedtail = NULL, .sv_thread_detach = NULL, + .sv_trap = NULL, }; static Elf64_Brandinfo freebsd_brand_info = { @@ -135,6 +136,7 @@ struct sysentvec elf32_freebsd_sysvec = { .sv_syscallnames = syscallnames, .sv_schedtail = NULL, .sv_thread_detach = NULL, + .sv_trap = NULL, }; static Elf32_Brandinfo freebsd_brand_info = { diff --git a/sys/mips/mips/freebsd32_machdep.c b/sys/mips/mips/freebsd32_machdep.c index 7726ecd..f4ace04 100644 --- a/sys/mips/mips/freebsd32_machdep.c +++ b/sys/mips/mips/freebsd32_machdep.c @@ -104,6 +104,7 @@ struct sysentvec elf32_freebsd_sysvec = { .sv_syscallnames = freebsd32_syscallnames, .sv_schedtail = NULL, .sv_thread_detach = NULL, + .sv_trap = NULL, }; INIT_SYSENTVEC(elf32_sysvec, &elf32_freebsd_sysvec); |