Subject: Re: dl* functions on ELF platforms
To: None <dolecek@ics.muni.cz>
From: T.SHIOZAKI <tshiozak@astec.co.jp>
List: tech-userlevel
Date: 02/29/2000 21:09:52
From: "PER4MANCE, J. Dolecek" <jdolecek@per4mance.cz>
Subject: Re: dl* functions on ELF platforms
Date: Tue, 29 Feb 2000 12:38:47 +0100
Message-ID: <38BBAFC7.6477270A@per4mance.cz>
> > Does anyone know why dl* functions are resident in crt0 in
> > the current implementation?
> Because the functions are needed to actually load libc.so ?
No, these "function interfaces" are not used to load libc.so.
"libc.so" is loaded by "ld.so" directly.
Of course, dl* function interfaces use the internal rootines of
ld.so via the handle defined in crt0.o, but it is not required
to define these function interfaces in crt0.o .
--
Takuya SHIOZAKI / ASTEC, Inc.