nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gn...@apache.org
Subject [incubator-nuttx] branch master updated: Add missing Elf_Addr typedef
Date Thu, 30 Apr 2020 14:46:31 GMT
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 <meo@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;


Mime
View raw message