099216a64d21e514b0cd3f079ebc39d795a78d66
[unix-history] / usr / src / sys / hp300 / include / reloc.h
/*-
* Copyright (c) 1992 The Regents of the University of California.
* All rights reserved.
*
* %sccs.include.redist.c%
*
* @(#)reloc.h 7.1 (Berkeley) %G%
*/
/* Relocation format. */
struct relocation_info {
int r_address; /* offset in text or data segment */
unsigned int r_symbolnum : 24, /* ordinal number of add symbol */
r_pcrel : 1, /* 1 if value should be pc-relative */
r_length : 2, /* log base 2 of value's width */
r_extern : 1, /* 1 if need to add symbol to value */
: 4; /* reserved */
};