elf32_machdep.c (132562) | elf32_machdep.c (133464) |
---|---|
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 --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 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 * | 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 --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 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 * $FreeBSD: head/sys/powerpc/powerpc/elf_machdep.c 132562 2004-07-23 00:46:05Z grehan $ | 25 * $FreeBSD: head/sys/powerpc/powerpc/elf_machdep.c 133464 2004-08-11 02:35:06Z marcel $ |
26 */ 27 28#include <sys/param.h> 29#include <sys/kernel.h> 30#include <sys/systm.h> 31#include <sys/exec.h> 32#include <sys/imgact.h> 33#include <sys/malloc.h> --- 66 unchanged lines hidden (view full) --- 100 &elf32_freebsd_sysvec, 101 NULL, 102 }; 103 104SYSINIT(oelf32, SI_SUB_EXEC, SI_ORDER_ANY, 105 (sysinit_cfunc_t) elf32_insert_brand_entry, 106 &freebsd_brand_oinfo); 107 | 26 */ 27 28#include <sys/param.h> 29#include <sys/kernel.h> 30#include <sys/systm.h> 31#include <sys/exec.h> 32#include <sys/imgact.h> 33#include <sys/malloc.h> --- 66 unchanged lines hidden (view full) --- 100 &elf32_freebsd_sysvec, 101 NULL, 102 }; 103 104SYSINIT(oelf32, SI_SUB_EXEC, SI_ORDER_ANY, 105 (sysinit_cfunc_t) elf32_insert_brand_entry, 106 &freebsd_brand_oinfo); 107 |
108 109void 110elf32_dump_thread(struct thread *td __unused, void *dst __unused, 111 size_t *off __unused) 112{ 113} 114 115 |
|
108/* Process one elf relocation with addend. */ 109static int 110elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, 111 int type, int local, elf_lookup_fn lookup) 112{ 113 Elf_Addr *where; 114 Elf_Half *hwhere; 115 Elf_Addr addr; --- 109 unchanged lines hidden --- | 116/* Process one elf relocation with addend. */ 117static int 118elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, 119 int type, int local, elf_lookup_fn lookup) 120{ 121 Elf_Addr *where; 122 Elf_Half *hwhere; 123 Elf_Addr addr; --- 109 unchanged lines hidden --- |