add CTL_MACHDEP definitions
[unix-history] / usr / src / sys / hp300 / include / reloc.h
CommitLineData
73dabb9b
KB
1/*-
2 * Copyright (c) 1992 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 *
7 * @(#)reloc.h 7.1 (Berkeley) %G%
8 */
9
10/* Relocation format. */
11struct relocation_info {
12 int r_address; /* offset in text or data segment */
13 unsigned int r_symbolnum : 24, /* ordinal number of add symbol */
14 r_pcrel : 1, /* 1 if value should be pc-relative */
15 r_length : 2, /* log base 2 of value's width */
16 r_extern : 1, /* 1 if need to add symbol to value */
17 : 4; /* reserved */
18};