This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Any particular reason why mmap family functions aren't hidden in ld.so?
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 15 Oct 2015 13:04:07 -0700
- Subject: Re: Any particular reason why mmap family functions aren't hidden in ld.so?
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOp3tnr8iuJiH0wGgv69tdixyquqP_J8K4Q-xobpd8cQXw at mail dot gmail dot com> <20151015192840 dot 890D62C3C0E at topped-with-meat dot com> <CAMe9rOqi0pM_=2vLky0APCHPrdiU_eAdq__DNpLj0onw1MZfiQ at mail dot gmail dot com> <20151015194931 dot 0B92C2C3C0E at topped-with-meat dot com>
On Thu, Oct 15, 2015 at 12:49 PM, Roland McGrath <roland@hack.frob.com> wrote:
>> Why does Hurd need PLT?
>
> The functions in ld.so are special versions that can only be used at
> bootstrap time. Once libc.so is loaded, open, mmap, etc. all come from
> there. It's neither feasible nor desireable in the Hurd to have full
> duplicates of the libc functions in ld.so.
>
Does Hurd support symbol versioning? If yes, how is mmap exported
from ld.so for Hurd?
H.J.