LibELF: Define ELFSIZE
macro
This makes the rest of the `ELFABI.h` header define the bit-width-independent `Elf_type` macros.
This commit is contained in:
parent
961b067df8
commit
2151e6c8b4
Notes:
sideshowbarker
2024-07-17 02:55:44 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/2151e6c8b4 Pull-request: https://github.com/SerenityOS/serenity/pull/22106 Issue: https://github.com/SerenityOS/serenity/issues/8315
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@
|
|||
|
||||
#define ElfW(type) Elf64_##type
|
||||
|
||||
#define ELFSIZE 64
|
||||
|
||||
typedef uint8_t Elf_Byte;
|
||||
|
||||
typedef uint32_t Elf32_Addr; /* Unsigned program address */
|
||||
|
|
Loading…
Add table
Reference in a new issue