elf_machdep.c (165064) | elf_machdep.c (169846) |
---|---|
1/*- 2 * Copyright (c) 2001 Jake Burkholder. 3 * Copyright (c) 2000 Eduardo Horvath. 4 * Copyright (c) 1999 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Paul Kranenburg. --- 22 unchanged lines hidden (view full) --- 31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 33 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 36 * POSSIBILITY OF SUCH DAMAGE. 37 * 38 * from: NetBSD: mdreloc.c,v 1.5 2001/04/25 12:24:51 kleink Exp | 1/*- 2 * Copyright (c) 2001 Jake Burkholder. 3 * Copyright (c) 2000 Eduardo Horvath. 4 * Copyright (c) 1999 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Paul Kranenburg. --- 22 unchanged lines hidden (view full) --- 31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 33 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 36 * POSSIBILITY OF SUCH DAMAGE. 37 * 38 * from: NetBSD: mdreloc.c,v 1.5 2001/04/25 12:24:51 kleink Exp |
39 * $FreeBSD: head/sys/sparc64/sparc64/elf_machdep.c 165064 2006-12-10 04:18:03Z kmacy $ | 39 * $FreeBSD: head/sys/sparc64/sparc64/elf_machdep.c 169846 2007-05-22 02:22:58Z kan $ |
40 */ 41 42#include <sys/param.h> 43#include <sys/kernel.h> 44#include <sys/systm.h> 45#include <sys/exec.h> 46#include <sys/imgact.h> 47#include <sys/linker.h> --- 42 unchanged lines hidden (view full) --- 90static Elf64_Brandinfo freebsd_brand_info = { 91 ELFOSABI_FREEBSD, 92 EM_SPARCV9, 93 "FreeBSD", 94 NULL, 95 "/libexec/ld-elf.so.1", 96 &elf64_freebsd_sysvec, 97 NULL, | 40 */ 41 42#include <sys/param.h> 43#include <sys/kernel.h> 44#include <sys/systm.h> 45#include <sys/exec.h> 46#include <sys/imgact.h> 47#include <sys/linker.h> --- 42 unchanged lines hidden (view full) --- 90static Elf64_Brandinfo freebsd_brand_info = { 91 ELFOSABI_FREEBSD, 92 EM_SPARCV9, 93 "FreeBSD", 94 NULL, 95 "/libexec/ld-elf.so.1", 96 &elf64_freebsd_sysvec, 97 NULL, |
98 0, | 98 BI_CAN_EXEC_DYN, |
99 }; 100 101SYSINIT(elf64, SI_SUB_EXEC, SI_ORDER_ANY, 102 (sysinit_cfunc_t) elf64_insert_brand_entry, 103 &freebsd_brand_info); 104 105static Elf64_Brandinfo freebsd_brand_oinfo = { 106 ELFOSABI_FREEBSD, 107 EM_SPARCV9, 108 "FreeBSD", 109 NULL, 110 "/usr/libexec/ld-elf.so.1", 111 &elf64_freebsd_sysvec, 112 NULL, | 99 }; 100 101SYSINIT(elf64, SI_SUB_EXEC, SI_ORDER_ANY, 102 (sysinit_cfunc_t) elf64_insert_brand_entry, 103 &freebsd_brand_info); 104 105static Elf64_Brandinfo freebsd_brand_oinfo = { 106 ELFOSABI_FREEBSD, 107 EM_SPARCV9, 108 "FreeBSD", 109 NULL, 110 "/usr/libexec/ld-elf.so.1", 111 &elf64_freebsd_sysvec, 112 NULL, |
113 0, | 113 BI_CAN_EXEC_DYN, |
114 }; 115 116SYSINIT(oelf64, SI_SUB_EXEC, SI_ORDER_ANY, 117 (sysinit_cfunc_t) elf64_insert_brand_entry, 118 &freebsd_brand_oinfo); 119 120 121void --- 240 unchanged lines hidden --- | 114 }; 115 116SYSINIT(oelf64, SI_SUB_EXEC, SI_ORDER_ANY, 117 (sysinit_cfunc_t) elf64_insert_brand_entry, 118 &freebsd_brand_oinfo); 119 120 121void --- 240 unchanged lines hidden --- |