Deleted Added
full compact
elf_machdep.c (274817) elf_machdep.c (283382)
1/*-
2 * Copyright 1996-1998 John D. Polstra.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */
25
26#include <sys/cdefs.h>
1/*-
2 * Copyright 1996-1998 John D. Polstra.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 10 unchanged lines hidden (view full) ---

19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */
25
26#include <sys/cdefs.h>
27__FBSDID("$FreeBSD: head/sys/amd64/amd64/elf_machdep.c 274817 2014-11-21 20:53:17Z jhb $");
27__FBSDID("$FreeBSD: head/sys/amd64/amd64/elf_machdep.c 283382 2015-05-24 14:51:29Z dchagin $");
28
29#include <sys/param.h>
30#include <sys/kernel.h>
31#include <sys/systm.h>
32#include <sys/exec.h>
33#include <sys/imgact.h>
34#include <sys/linker.h>
35#include <sys/proc.h>

--- 41 unchanged lines hidden (view full) ---

77 .sv_maxssiz = NULL,
78 .sv_flags = SV_ABI_FREEBSD | SV_LP64 | SV_SHP,
79 .sv_set_syscall_retval = cpu_set_syscall_retval,
80 .sv_fetch_syscall_args = cpu_fetch_syscall_args,
81 .sv_syscallnames = syscallnames,
82 .sv_shared_page_base = SHAREDPAGE,
83 .sv_shared_page_len = PAGE_SIZE,
84 .sv_schedtail = NULL,
28
29#include <sys/param.h>
30#include <sys/kernel.h>
31#include <sys/systm.h>
32#include <sys/exec.h>
33#include <sys/imgact.h>
34#include <sys/linker.h>
35#include <sys/proc.h>

--- 41 unchanged lines hidden (view full) ---

77 .sv_maxssiz = NULL,
78 .sv_flags = SV_ABI_FREEBSD | SV_LP64 | SV_SHP,
79 .sv_set_syscall_retval = cpu_set_syscall_retval,
80 .sv_fetch_syscall_args = cpu_fetch_syscall_args,
81 .sv_syscallnames = syscallnames,
82 .sv_shared_page_base = SHAREDPAGE,
83 .sv_shared_page_len = PAGE_SIZE,
84 .sv_schedtail = NULL,
85 .sv_thread_detach = NULL,
85};
86INIT_SYSENTVEC(elf64_sysvec, &elf64_freebsd_sysvec);
87
88static Elf64_Brandinfo freebsd_brand_info = {
89 .brand = ELFOSABI_FREEBSD,
90 .machine = EM_X86_64,
91 .compat_3_brand = "FreeBSD",
92 .emul_path = NULL,

--- 202 unchanged lines hidden ---
86};
87INIT_SYSENTVEC(elf64_sysvec, &elf64_freebsd_sysvec);
88
89static Elf64_Brandinfo freebsd_brand_info = {
90 .brand = ELFOSABI_FREEBSD,
91 .machine = EM_X86_64,
92 .compat_3_brand = "FreeBSD",
93 .emul_path = NULL,

--- 202 unchanged lines hidden ---