verdef_32_tom.c 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. verdef_32_tom.c - copy 32-bit versioning information.
  3. Copyright (C) 2001 Michael Riepe
  4. This library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Library General Public
  6. License as published by the Free Software Foundation; either
  7. version 2 of the License, or (at your option) any later version.
  8. This library is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Library General Public License for more details.
  12. You should have received a copy of the GNU Library General Public
  13. License along with this library; if not, write to the Free Software
  14. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  15. */
  16. #include <private.h>
  17. #include <ext_types.h>
  18. #include <byteswap.h>
  19. #if __LIBELF_SYMBOL_VERSIONS
  20. #ifndef lint
  21. static const char rcsid[] = "@(#) $Id: verdef_32_tom.c,v 1.5 2008/05/23 08:15:35 michael Exp $";
  22. #endif /* lint */
  23. typedef Elf32_Verdaux verdaux_mtype;
  24. typedef Elf32_Verdef verdef_mtype;
  25. typedef Elf32_Vernaux vernaux_mtype;
  26. typedef Elf32_Verneed verneed_mtype;
  27. typedef Elf32_Word align_mtype;
  28. typedef __ext_Elf32_Verdaux verdaux_ftype;
  29. typedef __ext_Elf32_Verdef verdef_ftype;
  30. typedef __ext_Elf32_Vernaux vernaux_ftype;
  31. typedef __ext_Elf32_Verneed verneed_ftype;
  32. typedef __ext_Elf32_Word align_ftype;
  33. #define class_suffix 32
  34. #undef TOFILE
  35. #define TOFILE 0
  36. /*
  37. * Include shared code
  38. */
  39. #include "verdef.h"
  40. #include "verneed.h"
  41. #endif /* __LIBELF_SYMBOL_VERSIONS */