elf64.c 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*++
  2. Copyright (c) 2016 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. elf64.c
  5. Abstract:
  6. This module implements support for loading and processing 64-bit ELF
  7. binaries. It is really just a recompile of the 32-bit code with some
  8. macros defined differently.
  9. Author:
  10. Evan Green 8-Apr-2016
  11. Environment:
  12. Kernel
  13. --*/
  14. //
  15. // ------------------------------------------------------------------- Includes
  16. //
  17. //
  18. // Recompile everything in elf.c, except with the 64 bit macro enabled.
  19. // A little off the beaten path, but way better than maintaining two copies of
  20. // the ELF code.
  21. //
  22. #define WANT_ELF64 1
  23. #include "elf.c"
  24. //
  25. // ---------------------------------------------------------------- Definitions
  26. //
  27. //
  28. // ------------------------------------------------------ Data Type Definitions
  29. //
  30. //
  31. // ----------------------------------------------- Internal Function Prototypes
  32. //
  33. //
  34. // -------------------------------------------------------------------- Globals
  35. //
  36. //
  37. // ------------------------------------------------------------------ Functions
  38. //
  39. //
  40. // --------------------------------------------------------- Internal Functions
  41. //