From 40c990f4f33d286018fa379965012c5f753c8f22 Mon Sep 17 00:00:00 2001 From: Marcelo Teider Lopes Date: Thu, 30 Apr 2020 09:29:49 -0300 Subject: [PATCH] Add missing Elf_Addr typedef This fixes a compilation error when exceptions are enabled, as it depends on the Elf_Addr symbol. --- include/elf32.h | 1 + include/elf64.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/elf32.h b/include/elf32.h index dad6450d3e..290a385174 100644 --- a/include/elf32.h +++ b/include/elf32.h @@ -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; diff --git a/include/elf64.h b/include/elf64.h index dc86a618f9..007d650fb8 100644 --- a/include/elf64.h +++ b/include/elf64.h @@ -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;