Deleted Added
full compact
elf.h (70566) elf.h (78342)
1/*-
2 * Copyright (c) 2001 David E. O'Brien
3 * Copyright (c) 1996-1997 John D. Polstra.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 10 unchanged lines hidden (view full) ---

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
1/*-
2 * Copyright (c) 2001 David E. O'Brien
3 * Copyright (c) 1996-1997 John D. Polstra.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 10 unchanged lines hidden (view full) ---

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/powerpc/include/elf.h 70566 2001-01-01 21:54:48Z obrien $
27 * $FreeBSD: head/sys/powerpc/include/elf.h 78342 2001-06-16 07:14:07Z benno $
28 */
29
30#ifndef _MACHINE_ELF_H_
31#define _MACHINE_ELF_H_ 1
32
33/*
34 * EABI ELF definitions for the PowerPC architecture.
35 * See "PowerPC Embedded Application Binary Interface, 32-Bit Impliementation"

--- 39 unchanged lines hidden (view full) ---

75#define AT_FLAGS 8 /* Flags (unused for PowerPC). */
76#define AT_ENTRY 9 /* Where interpreter should transfer control. */
77#define AT_DCACHEBSIZE 10 /* Data cache block size for the processor. */
78#define AT_ICACHEBSIZE 11 /* Instruction cache block size for the uP. */
79#define AT_UCACHEBSIZE 12 /* Cache block size, or `0' if cache not unified. */
80
81#define AT_COUNT 13 /* Count of defined aux entry types. */
82
28 */
29
30#ifndef _MACHINE_ELF_H_
31#define _MACHINE_ELF_H_ 1
32
33/*
34 * EABI ELF definitions for the PowerPC architecture.
35 * See "PowerPC Embedded Application Binary Interface, 32-Bit Impliementation"

--- 39 unchanged lines hidden (view full) ---

75#define AT_FLAGS 8 /* Flags (unused for PowerPC). */
76#define AT_ENTRY 9 /* Where interpreter should transfer control. */
77#define AT_DCACHEBSIZE 10 /* Data cache block size for the processor. */
78#define AT_ICACHEBSIZE 11 /* Instruction cache block size for the uP. */
79#define AT_UCACHEBSIZE 12 /* Cache block size, or `0' if cache not unified. */
80
81#define AT_COUNT 13 /* Count of defined aux entry types. */
82
83/* Used in John Polstra's testbed stuff. */
84#define AT_DEBUG 14 /* Debugging level. */
85
83/*
84 * Relocation types.
85 */
86
87#define R_PPC_NONE 0 /* No relocation. */
88#define R_PPC_ADDR32 1
89#define R_PPC_ADDR24 2
90#define R_PPC_ADDR16 3

--- 80 unchanged lines hidden ---
86/*
87 * Relocation types.
88 */
89
90#define R_PPC_NONE 0 /* No relocation. */
91#define R_PPC_ADDR32 1
92#define R_PPC_ADDR24 2
93#define R_PPC_ADDR16 3

--- 80 unchanged lines hidden ---