|
From: Tom H. <th...@cy...> - 2004-07-27 17:19:12
|
In message <109...@ix...>
Jeremy Fitzhardinge <je...@go...> wrote:
> Looks like mapelf isn't respecting the alignment in the PHDR. What does
> readelf -l stage2 say?
It looks like it respects it to me.
> I bet the distinction between the groups of values is that some are
> initialized in the source, and some are not (ie, expected to default to
> 0/NULL).
I think this may be the problem - the code to zero pad from filesz
to memsz looks highly odd to me. Specifically where it works out the
value of "bytes" which is the amount of memory it zeros.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|