Don't touch PHDRs memsz in memory
commit12ea2917f258f52be26ba9b364f1677746133df6
authordhewg <dhewg@wiibrew.org>
Sat, 16 Jul 2011 08:45:47 +0000 (16 10:45 +0200)
committerdhewg <dhewg@wiibrew.org>
Thu, 11 Aug 2011 20:03:49 +0000 (11 22:03 +0200)
treedcf2b003fc321a0a93d0dee2c7a65286c5ae444b
parent1d00ba39b8067723b564a2a2a8980f7edec8773b
Don't touch PHDRs memsz in memory

Only load filesz in memory, let the crt0 of the loaded ELF work on
memsz
Fixes loading kernels with a huge (s)bss section
stage2/kernel.c