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