Changeset 591


Ignore:
Timestamp:
Dec 5, 2013, 4:47:15 PM (11 years ago)
Author:
cfuguet
Message:

When the file size of an program segment is smaller than
its mem size, the remainder must be set to 0. This is for
sections as .bss which are not present in the ELF file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/src/reset_elf_loader.c

    r586 r591  
    284284                        elf_phdr_ptr[pseg].p_filesz ;
    285285
    286 //                  memset(pseg_ptr, 0, pseg_remainder);
     286                    memset(pseg_ptr, 0, pseg_remainder);
    287287
    288288                    reset_puts("\n[RESET] Segment loaded : address = ");
Note: See TracChangeset for help on using the changeset viewer.