1/* 2 * Copyright (c) 1998 Mark Newton 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 --- 15 unchanged lines hidden (view full) --- 24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/compat/svr4/svr4_sysvec.c 123742 2003-12-23 02:42:39Z peter $"); |
33 34/* XXX we use functions that might not exist. */ 35#include "opt_compat.h" 36 37#ifndef COMPAT_43 38#error "Unable to compile SVR4-emulator due to missing COMPAT_43 option!" 39#endif 40 --- 153 unchanged lines hidden (view full) --- 194}; 195 196Elf32_Brandinfo svr4_brand = { 197 ELFOSABI_SYSV, 198 EM_386, /* XXX only implemented for x86 so far. */ 199 "SVR4", 200 svr4_emul_path, 201 "/lib/libc.so.1", |
202 &svr4_sysvec, 203 NULL, |
204}; 205 206const char svr4_emul_path[] = "/compat/svr4"; 207 208static int 209svr4_fixup(register_t **stack_base, struct image_params *imgp) 210{ 211 Elf32_Auxargs *args; --- 214 unchanged lines hidden --- |