summaryrefslogtreecommitdiff
path: root/nuttx/binfmt/libelf
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-25 16:37:31 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-25 16:37:31 +0000
commit573c3911fcc480294700bdd82b8509499babb2d2 (patch)
tree04f548a6bed515b310ec2bf6ccc1b6569377f427 /nuttx/binfmt/libelf
parent5da217b108089f9ea14ce8ebd1412908bb86f0a0 (diff)
downloadpx4-nuttx-573c3911fcc480294700bdd82b8509499babb2d2.tar.gz
px4-nuttx-573c3911fcc480294700bdd82b8509499babb2d2.tar.bz2
px4-nuttx-573c3911fcc480294700bdd82b8509499babb2d2.zip
Add x86 ELF support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5258 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/binfmt/libelf')
-rw-r--r--nuttx/binfmt/libelf/libelf_bind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/binfmt/libelf/libelf_bind.c b/nuttx/binfmt/libelf/libelf_bind.c
index dd75809ec..e9491af0e 100644
--- a/nuttx/binfmt/libelf/libelf_bind.c
+++ b/nuttx/binfmt/libelf/libelf_bind.c
@@ -266,7 +266,9 @@ int elf_bind(FAR struct elf_loadinfo_s *loadinfo,
/* Flush the instruction cache before starting the newly loaded module */
+#ifdef CONFIG_ELF_ICACHE
arch_flushicache((FAR void*)loadinfo->alloc, loadinfo->allocsize);
+#endif
return ret;
}