aboutsummaryrefslogtreecommitdiff
path: root/nuttx/binfmt
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
commitc0a46ad696848fc17714a1578cd710835c56eae6 (patch)
tree04f548a6bed515b310ec2bf6ccc1b6569377f427 /nuttx/binfmt
parent630862cd04e0f807f9d1d9d2ed8ba8f044dcedfa (diff)
downloadpx4-firmware-c0a46ad696848fc17714a1578cd710835c56eae6.tar.gz
px4-firmware-c0a46ad696848fc17714a1578cd710835c56eae6.tar.bz2
px4-firmware-c0a46ad696848fc17714a1578cd710835c56eae6.zip
Add x86 ELF support
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5258 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/binfmt')
-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;
}