Subject: Re: dl* functions on ELF platforms
To: T.SHIOZAKI <tshiozak@astec.co.jp>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-userlevel
Date: 02/23/2000 10:28:21
On Wed, 23 Feb 2000 16:31:55 +0900
"T.SHIOZAKI" <tshiozak@astec.co.jp> wrote:
> On ELF platforms, the GNU ld does not embed symbols that are not needed
> at link time, except that -export-dynamic or -shared is specified
> explicitly. Therefore, dl* functions, defined in crt0.o, may not be
> taken in the shared executable. In most cases, it is not problem, but
> it may make unresolved symbols in the case of revising the shared
> libraries. I experienced such problem when I implemented the dynamic
> loadable locale module in the XPG4DL project. See also:
Why don't we add --export-dynamic to the building of our crt0.o? Would
that help?
-- Jason R. Thorpe <thorpej@nas.nasa.gov>