You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/04/30 14:46:31 UTC
[incubator-nuttx] branch master updated: Add missing Elf_Addr
typedef
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 40c990f Add missing Elf_Addr typedef
40c990f is described below
commit 40c990f4f33d286018fa379965012c5f753c8f22
Author: Marcelo Teider Lopes <me...@certi.org.br>
AuthorDate: Thu Apr 30 09:29:49 2020 -0300
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 dad6450..290a385 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 dc86a61..007d650 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;