You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by bt...@apache.org on 2020/07/21 07:03:53 UTC

[incubator-nuttx] branch master updated: binfmt: Fix warning: unused variable ‘exidx’

This is an automated email from the ASF dual-hosted git repository.

btashton 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 2b7528f  binfmt: Fix warning: unused variable ‘exidx’
2b7528f is described below

commit 2b7528feae06d20d0d81d316da6e65cfd7f27cc5
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Mon Jul 20 22:36:03 2020 +0800

    binfmt: Fix warning: unused variable ‘exidx’
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
    Change-Id: I55d3355813b8b24727e2a7f78fcd72622a1e6758
---
 binfmt/libelf/libelf_load.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/binfmt/libelf/libelf_load.c b/binfmt/libelf/libelf_load.c
index 0b73aa5..b9b5137 100644
--- a/binfmt/libelf/libelf_load.c
+++ b/binfmt/libelf/libelf_load.c
@@ -248,7 +248,7 @@ static inline int elf_loadfile(FAR struct elf_loadinfo_s *loadinfo)
 int elf_load(FAR struct elf_loadinfo_s *loadinfo)
 {
   size_t heapsize;
-#ifdef CONFIG_CXX_EXCEPTION
+#ifdef CONFIG_ELF_EXIDX_SECTNAME
   int exidx;
 #endif
   int ret;