xref: /csrg-svn/sys/hp300/include/reloc.h (revision 63160)
153004Sbostic /*-
2*63160Sbostic  * Copyright (c) 1992, 1993
3*63160Sbostic  *	The Regents of the University of California.  All rights reserved.
453004Sbostic  *
553004Sbostic  * %sccs.include.redist.c%
653004Sbostic  *
7*63160Sbostic  *	@(#)reloc.h	8.1 (Berkeley) 06/10/93
853004Sbostic  */
953004Sbostic 
1053004Sbostic /* Relocation format. */
1153004Sbostic struct relocation_info {
1253004Sbostic 	int r_address;			/* offset in text or data segment */
1353004Sbostic 	unsigned int r_symbolnum : 24,	/* ordinal number of add symbol */
1453004Sbostic 			 r_pcrel :  1,	/* 1 if value should be pc-relative */
1553004Sbostic 			r_length :  2,	/* log base 2 of value's width */
1653004Sbostic 			r_extern :  1,	/* 1 if need to add symbol to value */
1753004Sbostic 				 :  4;	/* reserved */
1853004Sbostic };
19