Re: memory fragmentation by the loader

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--exec-shield set the base to the same as it was before. (In the middle of the
address space.)

What does this option do exactly?
Why doesn't it boot when I relocate ld-linux.so?
(or actually how can I relocate it so it would still work.)

Also, how can it be that two identical machine got (totally) different values
when they were installed?

Maybe one machine is different in some way that forces ld-linux.so to be in the
middle of the address space.

I thought computers are supposed to be deterministic ...



Quoting Arjan van de Ven <arjan@xxxxxxxxxxxxx>:

> On Wed, 2005-08-03 at 15:55 +0300, hayim@xxxxxxxxxxxxxx wrote:
> > OK I figured that I need to do:
> > prelink -r _base_address_ _library_
> >
> > changing /lib/tls/libc.so.6 to 0x00585000 was easy.
> > When I tried to move /lib/ld-linux.so.2 to 0x0056c000 (as it is on my other
> > machine). Things started to go wrong (to say the least :).
> > the machine didn't even boot.
> >
> > I recovered the previous location of ld-linux.so.2, but still it is stuck
> in the
> > middle of the address space.
>
>
> just pass it --exec-shield and it'll put all of the libs in that region
> anyway.
>
>
>
>  +++++++++++++++++++++++++++++++++++++++++++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux