diff options
Diffstat (limited to 'arch/mips/boot/elf2ecoff.c')
-rw-r--r-- | arch/mips/boot/elf2ecoff.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/boot/elf2ecoff.c b/arch/mips/boot/elf2ecoff.c index 2a4c52e27f41..266c8137e859 100644 --- a/arch/mips/boot/elf2ecoff.c +++ b/arch/mips/boot/elf2ecoff.c | |||
@@ -268,7 +268,6 @@ int main(int argc, char *argv[]) | |||
268 | Elf32_Ehdr ex; | 268 | Elf32_Ehdr ex; |
269 | Elf32_Phdr *ph; | 269 | Elf32_Phdr *ph; |
270 | Elf32_Shdr *sh; | 270 | Elf32_Shdr *sh; |
271 | char *shstrtab; | ||
272 | int i, pad; | 271 | int i, pad; |
273 | struct sect text, data, bss; | 272 | struct sect text, data, bss; |
274 | struct filehdr efh; | 273 | struct filehdr efh; |
@@ -336,9 +335,6 @@ int main(int argc, char *argv[]) | |||
336 | "sh"); | 335 | "sh"); |
337 | if (must_convert_endian) | 336 | if (must_convert_endian) |
338 | convert_elf_shdrs(sh, ex.e_shnum); | 337 | convert_elf_shdrs(sh, ex.e_shnum); |
339 | /* Read in the section string table. */ | ||
340 | shstrtab = saveRead(infile, sh[ex.e_shstrndx].sh_offset, | ||
341 | sh[ex.e_shstrndx].sh_size, "shstrtab"); | ||
342 | 338 | ||
343 | /* Figure out if we can cram the program header into an ECOFF | 339 | /* Figure out if we can cram the program header into an ECOFF |
344 | header... Basically, we can't handle anything but loadable | 340 | header... Basically, we can't handle anything but loadable |