Git init
[external/libelf.git] / lib / verdef_32_tom.c
1 /*
2 verdef_32_tom.c - copy 32-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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
18 */
19
20 #include <private.h>
21 #include <ext_types.h>
22 #include <byteswap.h>
23
24 #if __LIBELF_SYMBOL_VERSIONS
25
26 #ifndef lint
27 static const char rcsid[] = "@(#) $Id: verdef_32_tom.c,v 1.5 2008/05/23 08:15:35 michael Exp $";
28 #endif /* lint */
29
30 typedef Elf32_Verdaux           verdaux_mtype;
31 typedef Elf32_Verdef            verdef_mtype;
32 typedef Elf32_Vernaux           vernaux_mtype;
33 typedef Elf32_Verneed           verneed_mtype;
34 typedef Elf32_Word              align_mtype;
35
36 typedef __ext_Elf32_Verdaux     verdaux_ftype;
37 typedef __ext_Elf32_Verdef      verdef_ftype;
38 typedef __ext_Elf32_Vernaux     vernaux_ftype;
39 typedef __ext_Elf32_Verneed     verneed_ftype;
40 typedef __ext_Elf32_Word        align_ftype;
41
42 #define class_suffix            32
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 /* __LIBELF_SYMBOL_VERSIONS */