Merged in ccondurache/nuttx/fix_elf_arm_checkarch (pull request #422)

Fix ELF loader up_checkarch on ARM arch

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
Cristian Condurache
2017-06-28 16:19:51 +00:00
committed by Gregory Nutt
6 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ int elf_verifyheader(FAR const Elf32_Ehdr *ehdr)
/* Verify that this file works with the currently configured architecture */
if (up_checkarch(ehdr))
if (!up_checkarch(ehdr))
{
berr("Not a supported architecture\n");
return -ENOEXEC;