Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2003 13:06:24 +0300 (EEST)
From:      Narvi <narvi@haldjas.folklore.ee>
To:        "Matthew N. Dodd" <mdodd@freebsd.org>
Cc:        Marcel Moolenaar <marcel@xcllnt.net>
Subject:   Re: Preliminary ELF prebinding patches available.
Message-ID:  <20030526130537.U40030-100000@haldjas.folklore.ee>
In-Reply-To: <20030525202140.Y86964@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 25 May 2003, Matthew N. Dodd wrote:

> > What are the major reasons for not editing the executable in your
> > opinion?
>
> Besides it not working?  It is not possible for rtld-elf to access
> the section header, let alone additional section data in a clean manner.
> Furthermore, rtld-elf is not provided with a valid file handle for the
> main executable so hacks to access section data of libraries won't
> actually work for the main executable.
>
> I ran around in circles until I'd figured all this out.
>

but you could do this in the linker instead of rtld-elf, no?

> --
> | Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
> | winter@jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
> | http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030526130537.U40030-100000>