This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: hurd: Do not hide rtld symbols which need to be preempted [Was: hurd: Hidden symbols in rtld]


H.J. Lu, on Sun 20 Mar 2016 10:42:11 -0700, wrote:
> On Sun, Mar 20, 2016 at 10:40 AM, Samuel Thibault
> <samuel.thibault@ens-lyon.org> wrote:
> > H.J. Lu, on Sun 20 Mar 2016 10:36:45 -0700, wrote:
> >> On Sun, Mar 20, 2016 at 10:31 AM, Samuel Thibault
> >> <samuel.thibault@ens-lyon.org> wrote:
> >> > H.J. Lu, on Sun 20 Mar 2016 10:14:40 -0700, wrote:
> >> >> The question should be asked is if __access in dl-sysdep.c can
> >> >> be used in ld.so after bootstrap on Hurd.
> >> >
> >> > Ok.  It seems it's only used in dl_main and in process_envvars only
> >> > called by dl_main, so it should be fine, right?
> >> >
> >> > About __open, it's definitely used for dlopen() :)
> >>
> >> I don't know since they are Hurd specific.
> >
> > ? dl_main, process_envvars, __open and dlopen are not Hurd specific.
> 
> Whether a function defined in ld.so can be used after bootstrap is
> Hurd specific.

Sure, but for __open() for instance, its reference from dl-load.c is not
Hurd-specific, so it is clearly used for dlopen() after bootstrap.

Samuel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]