1 /*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)reloc.h 8.1 (Berkeley) 06/10/93 8 */ 9 10 /* Relocation format. */ 11 struct 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 }; 19