binfmt: Always include arch/elf.h in include/nuttx/elf.h

since symbols defined in arch/elf.h is also used in other case, for example:
CC:  pthread/pthread_testcancel.c machine/arm/gnu_unwind_find_exidx.c:32:8: error: unknown type name '__EIT_entry'
   32 | static __EIT_entry *__exidx_start_elf;
      |        ^~~~~~~~~~~

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2023-06-25 12:59:53 +08:00
committed by Alan Carvalho de Assis
parent 3821ad514d
commit b5c48f3ed8
11 changed files with 2 additions and 13 deletions
-1
View File
@@ -30,7 +30,6 @@
#include <debug.h>
#include <assert.h>
#include <arch/elf.h>
#include <nuttx/elf.h>
/****************************************************************************