Re: Preliminary ELF prebinding patches available.

From: Narvi <narvi_at_haldjas.folklore.ee>
Date: Mon, 26 May 2003 13:06:24 +0300 (EEST)
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_at_jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
> | http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Mon May 26 2003 - 01:06:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:09 UTC