From 2b7528feae06d20d0d81d316da6e65cfd7f27cc5 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 20 Jul 2020 22:36:03 +0800 Subject: [PATCH] =?UTF-8?q?binfmt:=20Fix=20warning:=20unused=20variable=20?= =?UTF-8?q?=E2=80=98exidx=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Xiang Xiao 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 0b73aa5114..b9b51377ea 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;