Skip to content

Commit

Permalink
Fixed BSS section loading problem. Use memsz value, not filesz in ELF.
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkie committed Oct 11, 2009
1 parent 4bedfa8 commit 613d047
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified build/iso/boot/testapp
Binary file not shown.
2 changes: 1 addition & 1 deletion kernel/system/elf.d
Expand Up @@ -602,7 +602,7 @@ static:


s.offset = prog.p_offset; s.offset = prog.p_offset;


s.length = prog.p_filesz; s.length = prog.p_memsz;


s.writeable = true; s.writeable = true;
s.executable = true; s.executable = true;
Expand Down

0 comments on commit 613d047

Please sign in to comment.