diff options
author | Keith Packard <keithp@keithp.com> | 2016-03-18 10:51:20 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2016-03-18 10:51:20 -0700 |
commit | 4e738dff6dec4685b8712d3e96742971fa39c8f1 (patch) | |
tree | 4dbce7d22e788a3473287ebf68b0e2d26565af25 /ao-tools/lib | |
parent | 45d61b79665197ff99f415cda7bd5907830233e9 (diff) |
ao-tools/lib: Remove trailing whitespace from ao-elf.c
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/lib')
-rw-r--r-- | ao-tools/lib/ao-elf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ao-tools/lib/ao-elf.c b/ao-tools/lib/ao-elf.c index 99b37210..680a80f0 100644 --- 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; |