|
From: Tom H. <th...@cy...> - 2004-06-27 12:07:33
|
In message <Pin...@he...>
Nicholas Nethercote <nj...@ca...> wrote:
> On my machine, it seems that /lib/tls/libc.so is always put at address
> 0x42000000. All other .so files seem to move around and get put near the
> base of the mmap-segment. Here's an example -- with Memcheck, here the
> mmap-segment starts at 0x1b8e4000, and all the other .so files are put
> around there, but /lib/tlc/libc.so isn't:
I thought this was something to do with prelinking as it doesn't
seem to happen on my FC2 box where prelinking is turned off, but
it doesn't happen on an FC1 box with prelinking on either.
It does happen on my RH9 box at work where I think libc is prelinked
although there is no daily cronjob to update prelinking like there
is in Fedora.
Looking at libc with objdump -p shows that the virtual addresses
for each section are set to those high numbers on RH9 but are set
to zero on the FC boxes.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|