1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- /*++
- Copyright (c) 2016 Minoca Corp. All Rights Reserved
- Module Name:
- elf64.c
- Abstract:
- This module implements support for loading and processing 64-bit ELF
- binaries. It is really just a recompile of the 32-bit code with some
- macros defined differently.
- Author:
- Evan Green 8-Apr-2016
- Environment:
- Kernel
- --*/
- //
- // ------------------------------------------------------------------- Includes
- //
- //
- // Recompile everything in elf.c, except with the 64 bit macro enabled.
- // A little off the beaten path, but way better than maintaining two copies of
- // the ELF code.
- //
- #define WANT_ELF64 1
- #include "elf.c"
- //
- // ---------------------------------------------------------------- Definitions
- //
- //
- // ------------------------------------------------------ Data Type Definitions
- //
- //
- // ----------------------------------------------- Internal Function Prototypes
- //
- //
- // -------------------------------------------------------------------- Globals
- //
- //
- // ------------------------------------------------------------------ Functions
- //
- //
- // --------------------------------------------------------- Internal Functions
- //
|