xref: /openbsd/sys/arch/sparc64/include/reloc.h (revision 4cfece93)
1 /*	$OpenBSD: reloc.h,v 1.5 2011/03/23 16:54:37 pirofti Exp $	*/
2 /*
3  * Copyright (c) 2001 Artur Grabowski <art@openbsd.org>
4  *
5  * Permission to use, copy, modify, and distribute this software for any
6  * purpose with or without fee is hereby granted, provided that the above
7  * copyright notice and this permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16  */
17 
18 #ifndef	_MACHINE_RELOC_H_
19 #define	_MACHINE_RELOC_H_
20 
21 #define RELOC_NONE		0
22 
23 #define RELOC_COPY		19
24 #define RELOC_GLOB_DAT		20
25 #define RELOC_JMP_SLOT		21
26 #define RELOC_RELATIVE		22
27 #define RELOC_64		32
28 #define RELOC_UA64		54
29 #define RELOC_TLS_DTPMOD32	74
30 #define RELOC_TLS_DTPMOD64	75
31 #define RELOC_TLS_DTPOFF32	76
32 #define RELOC_TLS_DTPOFF64	77
33 #define RELOC_TLS_TPOFF32	78
34 #define RELOC_TLS_TPOFF64	79
35 
36 #endif	/* _MACHINE_RELOC_H_ */
37