linker.h (83321) | linker.h (85736) |
---|---|
1/*- 2 * Copyright (c) 1997-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) 1997-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/sys/linker.h 83321 2001-09-11 01:09:24Z peter $ | 26 * $FreeBSD: head/sys/sys/linker.h 85736 2001-10-30 15:21:45Z green $ |
27 */ 28 29#ifndef _SYS_LINKER_H_ 30#define _SYS_LINKER_H_ 31 32#ifdef _KERNEL 33 34#include <machine/elf.h> --- 6 unchanged lines hidden (view full) --- 41/* 42 * Object representing a file which has been loaded by the linker. 43 */ 44typedef struct linker_file* linker_file_t; 45typedef TAILQ_HEAD(, linker_file) linker_file_list_t; 46 47typedef caddr_t linker_sym_t; /* opaque symbol */ 48typedef c_caddr_t c_linker_sym_t; /* const opaque symbol */ | 27 */ 28 29#ifndef _SYS_LINKER_H_ 30#define _SYS_LINKER_H_ 31 32#ifdef _KERNEL 33 34#include <machine/elf.h> --- 6 unchanged lines hidden (view full) --- 41/* 42 * Object representing a file which has been loaded by the linker. 43 */ 44typedef struct linker_file* linker_file_t; 45typedef TAILQ_HEAD(, linker_file) linker_file_list_t; 46 47typedef caddr_t linker_sym_t; /* opaque symbol */ 48typedef c_caddr_t c_linker_sym_t; /* const opaque symbol */ |
49typedef int (*linker_function_name_callback_t)(const char *, void *); |
|
49 50/* 51 * expanded out linker_sym_t 52 */ 53typedef struct linker_symval { 54 const char* name; 55 caddr_t value; 56 size_t size; --- 210 unchanged lines hidden --- | 50 51/* 52 * expanded out linker_sym_t 53 */ 54typedef struct linker_symval { 55 const char* name; 56 caddr_t value; 57 size_t size; --- 210 unchanged lines hidden --- |