Line 700... |
Line 700... |
}
|
}
|
|
|
|
|
|
|
if (ELF_LONG_H (elf_spnt->sh_name) && s_str)
|
if (ELF_LONG_H (elf_spnt->sh_name) && s_str)
|
PRINTF ("Section: %s,", &s_str[ELF_LONG_H (elf_spnt->sh_name)]);
|
//PRINTF ("Section: %s,", &s_str[ELF_LONG_H (elf_spnt->sh_name)]);
|
|
printf("* Section: %s,", &s_str[ELF_LONG_H (elf_spnt->sh_name)]);
|
else
|
else
|
PRINTF ("Section: noname,");
|
//PRINTF ("Section: noname,");
|
PRINTF (" vaddr: 0x%.8lx,", ELF_LONG_H (elf_spnt->sh_addr));
|
printf ("* Section: noname,");
|
PRINTF (" paddr: 0x%" PRIx32, padd);
|
printf ("* vaddr: 0x%.8lx,", ELF_LONG_H (elf_spnt->sh_addr));
|
PRINTF (" offset: 0x%.8lx,", ELF_LONG_H (elf_spnt->sh_offset));
|
printf ("* paddr: 0x%" PRIx32, padd);
|
PRINTF (" size: 0x%.8lx\n", ELF_LONG_H (elf_spnt->sh_size));
|
printf ("* offset: 0x%.8lx,", ELF_LONG_H (elf_spnt->sh_offset));
|
|
printf ("* size: 0x%.8lx\n", ELF_LONG_H (elf_spnt->sh_size));
|
|
|
freemem = padd;
|
freemem = padd;
|
sectsize = ELF_LONG_H (elf_spnt->sh_size);
|
sectsize = ELF_LONG_H (elf_spnt->sh_size);
|
|
|
if (fseek (inputfs, ELF_LONG_H (elf_spnt->sh_offset), SEEK_SET) !=
|
if (fseek (inputfs, ELF_LONG_H (elf_spnt->sh_offset), SEEK_SET) !=
|