link_elf_obj.c (9ca43589) link_elf_obj.c (f9980387)
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

--- 42 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__
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

--- 42 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 ---