mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:07:46 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@
|
||||||
|
|
||||||
#define ElfW(type) Elf64_##type
|
#define ElfW(type) Elf64_##type
|
||||||
|
|
||||||
|
#define ELFSIZE 64
|
||||||
|
|
||||||
typedef uint8_t Elf_Byte;
|
typedef uint8_t Elf_Byte;
|
||||||
|
|
||||||
typedef uint32_t Elf32_Addr; /* Unsigned program address */
|
typedef uint32_t Elf32_Addr; /* Unsigned program address */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue