This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFC: ELF prelinker - 0.1.1
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: RFC: ELF prelinker - 0.1.1
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 05 Jul 2001 10:12:55 -0300
- Cc: binutils at sources dot redhat dot com, libc-alpha at sources dot redhat dot com
- Organization: GCC Team, Red Hat
- References: <20010704213023.L737@sunsite.ms.mff.cuni.cz>
On Jul 4, 2001, Jakub Jelinek <jakub@redhat.com> wrote:
> It has already an --all mode, so if your libraries/binaries have reserved
> .dynamic entries (that is a precondition for prelinking) and if you have
> glibc patched with the included patch installed, you can e.g. just
> prelink -avmR (prelink all, be verbose, conserve virtual memory usage
> by only assigning non-overlapping virtual address space slots
> to libraries which appear together and start at random base,
> so that exploiting buffer overruns is slightly more difficult)
> and it will prelink all binaries and needed libraries from directory trees
> specified in /etc/prelink.conf.
This seems to be a very nice piece of work! Congrats, Jakub!
I'm wondering whether you already support something like `take these
libraries into account, but don't change them'. This would be nice to
do incremental prelinking against system libraries, but still as a
regular user, for example, right after building a bunch of new
libraries and in preparation to replacing them in the system.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me