URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 808 |
Rev 819 |
Line 576... |
Line 576... |
printf(" vaddr: 0x%.8x,", ELF_LONG_H(elf_spnt->sh_addr));
|
printf(" vaddr: 0x%.8x,", ELF_LONG_H(elf_spnt->sh_addr));
|
printf(" paddr: 0x%.8x,", padd);
|
printf(" paddr: 0x%.8x,", padd);
|
printf(" offset: 0x%.8x,", ELF_LONG_H(elf_spnt->sh_offset));
|
printf(" offset: 0x%.8x,", ELF_LONG_H(elf_spnt->sh_offset));
|
printf(" size: 0x%.8x\n", ELF_LONG_H(elf_spnt->sh_size));
|
printf(" size: 0x%.8x\n", ELF_LONG_H(elf_spnt->sh_size));
|
|
|
freemem = ELF_LONG_H(elf_spnt->sh_addr);
|
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) != 0) {
|
if (fseek(inputfs, ELF_LONG_H(elf_spnt->sh_offset), SEEK_SET) != 0) {
|
perror("readfile_elf");
|
perror("readfile_elf");
|
exit(1);
|
exit(1);
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.