Permalink
Browse files

Fixed BSS section loading problem. Use memsz value, not filesz in ELF.

  • Loading branch information...
1 parent 4bedfa8 commit 613d0479cbc351bce001070226dd212e10070b20 @wilkie wilkie committed Oct 11, 2009
Showing with 1 addition and 1 deletion.
  1. BIN build/iso/boot/testapp
  2. +1 −1 kernel/system/elf.d
View
Binary file not shown.
View
@@ -602,7 +602,7 @@ static:
s.offset = prog.p_offset;
- s.length = prog.p_filesz;
+ s.length = prog.p_memsz;
s.writeable = true;
s.executable = true;

0 comments on commit 613d047

Please sign in to comment.