projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
45d61b7
)
ao-tools/lib: Remove trailing whitespace from ao-elf.c
author
Keith Packard
<keithp@keithp.com>
Fri, 18 Mar 2016 17:51:20 +0000
(10:51 -0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 18 Mar 2016 17:51:20 +0000
(10:51 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/lib/ao-elf.c
patch
|
blob
|
history
diff --git
a/ao-tools/lib/ao-elf.c
b/ao-tools/lib/ao-elf.c
index 99b37210781e553094f2e9aa52407392b7da2486..680a80f06098993dc4b5a273b230265cdb51395f 100644
(file)
--- a/
ao-tools/lib/ao-elf.c
+++ b/
ao-tools/lib/ao-elf.c
@@
-206,7
+206,7
@@
get_load(Elf *e)
#endif
size_t nshdr;
size_t s;
-
+
if (elf_getshdrstrndx(e, &shstrndx) < 0)
return 0;
@@
-238,7
+238,7
@@
get_load(Elf *e)
(uint32_t) phdr.p_filesz,
(uint32_t) phdr.p_memsz);
#endif
-
+
for (s = 0; s < nshdr; s++) {
scn = elf_getscn(e, s);
@@
-256,7
+256,7
@@
get_load(Elf *e)
#endif
if (phdr.p_offset <= shdr.sh_offset && shdr.sh_offset < phdr.p_offset + phdr.p_filesz) {
-
+
if (shdr.sh_size == 0)
continue;