link_elf_obj.c (101941) | link_elf_obj.c (102288) |
---|---|
1/*- 2 * Copyright (c) 1998-2000 Doug Rabson 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1998-2000 Doug Rabson 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/kern/link_elf_obj.c 101941 2002-08-15 20:55:08Z rwatson $ | 26 * $FreeBSD: head/sys/kern/link_elf_obj.c 102288 2002-08-22 20:39:30Z peter $ |
27 */ 28 29#include "opt_ddb.h" 30 31#include <sys/param.h> 32#include <sys/systm.h> 33#include <sys/kernel.h> 34#include <sys/lock.h> --- 16 unchanged lines hidden (view full) --- 51#include <vm/vm_object.h> 52#include <vm/vm_kern.h> 53#include <vm/vm_extern.h> 54#endif 55#include <vm/pmap.h> 56#include <vm/vm_map.h> 57 58#ifdef __AOUT__ | 27 */ 28 29#include "opt_ddb.h" 30 31#include <sys/param.h> 32#include <sys/systm.h> 33#include <sys/kernel.h> 34#include <sys/lock.h> --- 16 unchanged lines hidden (view full) --- 51#include <vm/vm_object.h> 52#include <vm/vm_kern.h> 53#include <vm/vm_extern.h> 54#endif 55#include <vm/pmap.h> 56#include <vm/vm_map.h> 57 58#ifdef __AOUT__ |
59#include <nlist.h> | 59#include <sus/nlist_aout.h> |
60#endif | 60#endif |
61#include <link.h> | 61#include <sys/link_elf.h> |
62 63#include "linker_if.h" 64 65typedef struct elf_file { 66 struct linker_file lf; /* Common fields */ 67 int preloaded; /* Was file pre-loaded */ 68 caddr_t address; /* Relocation address */ 69#ifdef SPARSE_MAPPING --- 1175 unchanged lines hidden --- | 62 63#include "linker_if.h" 64 65typedef struct elf_file { 66 struct linker_file lf; /* Common fields */ 67 int preloaded; /* Was file pre-loaded */ 68 caddr_t address; /* Relocation address */ 69#ifdef SPARSE_MAPPING --- 1175 unchanged lines hidden --- |