summaryrefslogtreecommitdiff
path: root/elf_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'elf_ops.h')
-rw-r--r--elf_ops.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf_ops.h b/elf_ops.h
index 96cd8fdbf6..75cbdedda7 100644
--- a/elf_ops.h
+++ b/elf_ops.h
@@ -75,13 +75,13 @@ static int glue(load_symbols, SZ)(struct elfhdr *ehdr, int fd, int must_swab)
sizeof(struct elf_shdr) * ehdr->e_shnum);
if (!shdr_table)
return -1;
-
+
if (must_swab) {
for (i = 0; i < ehdr->e_shnum; i++) {
glue(bswap_shdr, SZ)(shdr_table + i);
}
}
-
+
symtab = glue(find_section, SZ)(shdr_table, ehdr->e_shnum, SHT_SYMTAB);
if (!symtab)
goto fail;
@@ -176,7 +176,7 @@ int glue(load_elf, SZ)(int fd, int64_t virt_to_phys_addend,
glue(bswap_phdr, SZ)(ph);
}
}
-
+
total_size = 0;
for(i = 0; i < ehdr.e_phnum; i++) {
ph = &phdr[i];