Add missing Elf_Addr typedef

This fixes a compilation error when exceptions are enabled, as it
depends on the Elf_Addr symbol.
This commit is contained in:
Marcelo Teider Lopes 2020-04-30 09:29:49 -03:00 committed by patacongo
parent bab61180db
commit 40c990f4f3
2 changed files with 2 additions and 0 deletions

View File

@ -165,6 +165,7 @@ typedef struct
} d_un;
} Elf32_Dyn;
typedef Elf32_Addr Elf_Addr;
typedef Elf32_Ehdr Elf_Ehdr;
typedef Elf32_Rel Elf_Rel;
typedef Elf32_Rela Elf_Rela;

View File

@ -147,6 +147,7 @@ typedef struct
} d_un;
} Elf64_Dyn;
typedef Elf64_Addr Elf_Addr;
typedef Elf64_Ehdr Elf_Ehdr;
typedef Elf64_Rel Elf_Rel;
typedef Elf64_Rela Elf_Rela;