Annotation of sys/arch/amd64/include/reloc.h, Revision 1.1.1.1
1.1 nbrk 1: /* $OpenBSD: reloc.h,v 1.1 2004/02/10 14:30:05 drahn Exp $ */
2:
3: /*
4: * Copyright (c) 2002,2003 Dale Rahn
5: *
6: * Redistribution and use in source and binary forms, with or without
7: * modification, are permitted provided that the following conditions
8: * are met:
9: * 1. Redistributions of source code must retain the above copyright
10: * notice, this list of conditions and the following disclaimer.
11: * 2. Redistributions in binary form must reproduce the above copyright
12: * notice, this list of conditions and the following disclaimer in the
13: * documentation and/or other materials provided with the distribution.
14: *
15: * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
16: * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17: * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18: * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
19: * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21: * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25: * SUCH DAMAGE.
26: */
27: #ifndef _MACH_RELOC_H
28: #define _MACH_RELOC_H
29: #define R_TYPE(X) __CONCAT(R_X86_64_,X)
30:
31: #define R_X86_64_NONE 0
32: #define R_X86_64_64 1
33: #define R_X86_64_PC32 2
34: #define R_X86_64_GOT32 3
35: #define R_X86_64_PLT32 4
36: #define R_X86_64_COPY 5
37: #define R_X86_64_GLOB_DAT 6
38: #define R_X86_64_JUMP_SLOT 7
39: #define R_X86_64_RELATIVE 8
40: #define R_X86_64_GOTPCREL 9
41: #define R_X86_64_32 10
42: #define R_X86_64_32S 11
43: #define R_X86_64_16 12
44: #define R_X86_64_PC16 13
45: #define R_X86_64_8 14
46: #define R_X86_64_PC8 15
47: #define R_X86_64_DPTMOD64 16
48: #define R_X86_64_DTPOFF64 17
49: #define R_X86_64_TPOFF64 18
50: #define R_X86_64_TLSGD 19
51: #define R_X86_64_TLSLD 20
52: #define R_X86_64_DTPOFF32 21
53: #define R_X86_64_GOTTPOFF 22
54: #define R_X86_64_TPOFF32 23
55:
56: #endif /* _MACH_RELOC_H */
CVSweb