Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4973 | right-hear | 1 | /* lib/sys_elf.h. Generated automatically by configure. */ |
2 | /* |
||
3 | sys_elf.h.in - configure template for private "switch" file. |
||
4 | Copyright (C) 1998 Michael Riepe |
||
5 | |||
6 | This library is free software; you can redistribute it and/or |
||
7 | modify it under the terms of the GNU Library General Public |
||
8 | License as published by the Free Software Foundation; either |
||
9 | version 2 of the License, or (at your option) any later version. |
||
10 | |||
11 | This library is distributed in the hope that it will be useful, |
||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||
14 | Library General Public License for more details. |
||
15 | |||
16 | You should have received a copy of the GNU Library General Public |
||
17 | License along with this library; if not, write to the Free Software |
||
18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
||
19 | */ |
||
20 | |||
21 | /* @(#) $Id: sys_elf.h.in,v 1.3 1998/06/04 15:26:48 michael Exp $ */ |
||
22 | |||
23 | /* |
||
24 | * DO NOT USE THIS IN APPLICATIONS - #include |
||
25 | */ |
||
26 | |||
27 | /* Define to ` |
||
28 | #define __LIBELF_HEADER_ELF_H |
||
29 | |||
30 | /* Define if you want 64-bit support (and your system supports it) */ |
||
31 | #define __LIBELF64 1 |
||
32 | |||
33 | /* Define if you want 64-bit support, and are running IRIX */ |
||
34 | /* #undef __LIBELF64_IRIX */ |
||
35 | |||
36 | /* Define if you want 64-bit support, and are running Linux */ |
||
37 | /* #undef __LIBELF64_LINUX */ |
||
38 | |||
39 | /* Define to a 64-bit signed integer type if one exists */ |
||
40 | #define __libelf_i64_t long long |
||
41 | |||
42 | /* Define to a 64-bit unsigned integer type if one exists */ |
||
43 | #define __libelf_u64_t unsigned long long |
||
44 | |||
45 | /* Define to a 32-bit signed integer type if one exists */ |
||
46 | #define __libelf_i32_t long |
||
47 | |||
48 | /* Define to a 32-bit unsigned integer type if one exists */ |
||
49 | #define __libelf_u32_t unsigned long |
||
50 | |||
51 | /* Define to a 16-bit signed integer type if one exists */ |
||
52 | #define __libelf_i16_t short |
||
53 | |||
54 | /* Define to a 16-bit unsigned integer type if one exists */ |
||
55 | #define __libelf_u16_t unsigned short |
||
56 | |||
57 | /* |
||
58 | * Ok, now get the correct instance of elf.h... |
||
59 | */ |
||
60 | #ifdef __LIBELF_HEADER_ELF_H |
||
61 | # include __LIBELF_HEADER_ELF_H |
||
62 | #else /* __LIBELF_HEADER_ELF_H */ |
||
63 | # if __LIBELF_INTERNAL__ |
||
64 | # include |
||
65 | # else /* __LIBELF_INTERNAL__ */ |
||
66 | # include |
||
67 | # endif /* __LIBELF_INTERNAL__ */ |
||
68 | #endif /* __LIBELF_HEADER_ELF_H */ |
||
69 | |||
70 | /* |
||
71 | * Workaround for broken |
||
72 | */ |
||
73 | #if __LIBELF64 && __LIBELF64_LINUX |
||
74 | typedef __libelf_u64_t Elf64_Addr; |
||
75 | typedef __libelf_u16_t Elf64_Half; |
||
76 | typedef __libelf_u64_t Elf64_Off; |
||
77 | typedef __libelf_i32_t Elf64_Sword; |
||
78 | typedef __libelf_i64_t Elf64_Sxword; |
||
79 | typedef __libelf_u32_t Elf64_Word; |
||
80 | typedef __libelf_u64_t Elf64_Xword; |
||
81 | #endif /* __LIBELF64 && __LIBELF64_LINUX */ |