ia32_sysvec.c (169565) | ia32_sysvec.c (169846) |
---|---|
1/*- 2 * Copyright (c) 2002 Doug Rabson 3 * Copyright (c) 2003 Peter Wemm 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2002 Doug Rabson 3 * Copyright (c) 2003 Peter Wemm 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/sys/compat/ia32/ia32_sysvec.c 169565 2007-05-14 22:40:04Z jhb $"); | 29__FBSDID("$FreeBSD: head/sys/compat/ia32/ia32_sysvec.c 169846 2007-05-22 02:22:58Z kan $"); |
30 31#include "opt_compat.h" 32 33#define __ELF_WORD_SIZE 32 34 35#include <sys/param.h> 36#include <sys/exec.h> 37#include <sys/fcntl.h> --- 95 unchanged lines hidden (view full) --- 133static Elf32_Brandinfo ia32_brand_info = { 134 ELFOSABI_FREEBSD, 135 EM_386, 136 "FreeBSD", 137 NULL, 138 "/libexec/ld-elf.so.1", 139 &ia32_freebsd_sysvec, 140 "/libexec/ld-elf32.so.1", | 30 31#include "opt_compat.h" 32 33#define __ELF_WORD_SIZE 32 34 35#include <sys/param.h> 36#include <sys/exec.h> 37#include <sys/fcntl.h> --- 95 unchanged lines hidden (view full) --- 133static Elf32_Brandinfo ia32_brand_info = { 134 ELFOSABI_FREEBSD, 135 EM_386, 136 "FreeBSD", 137 NULL, 138 "/libexec/ld-elf.so.1", 139 &ia32_freebsd_sysvec, 140 "/libexec/ld-elf32.so.1", |
141 0, | 141 BI_CAN_EXEC_DYN, |
142 }; 143 144SYSINIT(ia32, SI_SUB_EXEC, SI_ORDER_ANY, 145 (sysinit_cfunc_t) elf32_insert_brand_entry, 146 &ia32_brand_info); 147 148static Elf32_Brandinfo ia32_brand_oinfo = { 149 ELFOSABI_FREEBSD, 150 EM_386, 151 "FreeBSD", 152 NULL, 153 "/usr/libexec/ld-elf.so.1", 154 &ia32_freebsd_sysvec, 155 "/libexec/ld-elf32.so.1", | 142 }; 143 144SYSINIT(ia32, SI_SUB_EXEC, SI_ORDER_ANY, 145 (sysinit_cfunc_t) elf32_insert_brand_entry, 146 &ia32_brand_info); 147 148static Elf32_Brandinfo ia32_brand_oinfo = { 149 ELFOSABI_FREEBSD, 150 EM_386, 151 "FreeBSD", 152 NULL, 153 "/usr/libexec/ld-elf.so.1", 154 &ia32_freebsd_sysvec, 155 "/libexec/ld-elf32.so.1", |
156 0, | 156 BI_CAN_EXEC_DYN, |
157 }; 158 159SYSINIT(oia32, SI_SUB_EXEC, SI_ORDER_ANY, 160 (sysinit_cfunc_t) elf32_insert_brand_entry, 161 &ia32_brand_oinfo); 162 163 164void --- 149 unchanged lines hidden --- | 157 }; 158 159SYSINIT(oia32, SI_SUB_EXEC, SI_ORDER_ANY, 160 (sysinit_cfunc_t) elf32_insert_brand_entry, 161 &ia32_brand_oinfo); 162 163 164void --- 149 unchanged lines hidden --- |