mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
style: remove extra spaces and align parameters
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
187def2611
commit
1b801a5bbc
+4
-4
@@ -262,8 +262,8 @@ static int elf_loadbinary(FAR struct binary_s *binp,
|
||||
{
|
||||
if (nexports > 0)
|
||||
{
|
||||
berr("Cannot bind exported symbols to a "\
|
||||
"fully linked executable\n");
|
||||
berr("Cannot bind exported symbols to a "
|
||||
"fully linked executable\n");
|
||||
ret = -ENOEXEC;
|
||||
goto errout_with_load;
|
||||
}
|
||||
@@ -275,8 +275,8 @@ static int elf_loadbinary(FAR struct binary_s *binp,
|
||||
|
||||
else
|
||||
{
|
||||
berr("Unexpected elf type %d\n", loadinfo.ehdr.e_type);
|
||||
ret = -ENOEXEC;
|
||||
berr("Unexpected elf type %d\n", loadinfo.ehdr.e_type);
|
||||
ret = -ENOEXEC;
|
||||
}
|
||||
|
||||
/* Return the load information */
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
static const char g_elfmagic[EI_MAGIC_SIZE] =
|
||||
{
|
||||
0x7f, 'E', 'L', 'F'
|
||||
0x7f, 'E', 'L', 'F'
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
@@ -92,7 +92,7 @@ int elf_verifyheader(FAR const Elf_Ehdr *ehdr)
|
||||
if ((ehdr->e_type != ET_REL) && (ehdr->e_type != ET_EXEC))
|
||||
{
|
||||
berr("Not a relocatable or executable file: e_type=%d\n",
|
||||
ehdr->e_type);
|
||||
ehdr->e_type);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user