page size change on MIPS
Mulyadi Santosa
mulyadi.santosa at gmail.com
Sat Feb 5 08:53:13 EST 2011
On Sat, Feb 5, 2011 at 00:25, David Daney <ddaney at caviumnetworks.com> wrote:
> Section headers are not relevant to any of this. You need to look at
> the program headers. Try 'readelf -l'
Sorry for jumping in. I think this is the data we needed in this case:
readelf --program-headers /bin/ls | grep -A 10 PHDR
PHDR 0x000034 0x08048034 0x08048034 0x00120 0x00120 R E 0x4
INTERP 0x000154 0x08048154 0x08048154 0x00013 0x00013 R 0x1
[Requesting program interpreter: /lib/ld-linux.so.2]
LOAD 0x000000 0x08048000 0x08048000 0x17fd8 0x17fd8 R E 0x1000
<...etc....>
If alignment isn't "compatible" with the expected address or
realocation work done by the loader, there comes the crash I guess....
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
More information about the Kernelnewbies
mailing list