|
1 /* |
|
2 verdef_64_tom.c - copy 64-bit versioning information. |
|
3 Copyright (C) 2001 Michael Riepe |
|
4 |
|
5 This library is free software; you can redistribute it and/or |
|
6 modify it under the terms of the GNU Library General Public |
|
7 License as published by the Free Software Foundation; either |
|
8 version 2 of the License, or (at your option) any later version. |
|
9 |
|
10 This library is distributed in the hope that it will be useful, |
|
11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
13 Library General Public License for more details. |
|
14 |
|
15 You should have received a copy of the GNU Library General Public |
|
16 License along with this library; if not, write to the Free Software |
|
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
18 */ |
|
19 |
|
20 #include <private.h> |
|
21 #include <ext_types.h> |
|
22 #include <byteswap.h> |
|
23 |
|
24 #if __LIBELF64 && __LIBELF_SYMBOL_VERSIONS |
|
25 |
|
26 #ifndef lint |
|
27 static const char rcsid[] = "@(#) $Id: verdef_64_tom.c,v 1.4 2005/05/21 15:39:27 michael Exp $"; |
|
28 #endif /* lint */ |
|
29 |
|
30 typedef Elf64_Verdaux verdaux_mtype; |
|
31 typedef Elf64_Verdef verdef_mtype; |
|
32 typedef Elf64_Vernaux vernaux_mtype; |
|
33 typedef Elf64_Verneed verneed_mtype; |
|
34 typedef Elf64_Word align_mtype; |
|
35 |
|
36 typedef __ext_Elf64_Verdaux verdaux_ftype; |
|
37 typedef __ext_Elf64_Verdef verdef_ftype; |
|
38 typedef __ext_Elf64_Vernaux vernaux_ftype; |
|
39 typedef __ext_Elf64_Verneed verneed_ftype; |
|
40 typedef __ext_Elf64_Word align_ftype; |
|
41 |
|
42 #define class_suffix 64 |
|
43 |
|
44 #undef TOFILE |
|
45 #define TOFILE 0 |
|
46 |
|
47 /* |
|
48 * Include shared code |
|
49 */ |
|
50 #include "verdef.h" |
|
51 #include "verneed.h" |
|
52 |
|
53 #endif /* __LIBELF64 && __LIBELF_SYMBOL_VERSIONS */ |