This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Re: dynamic linker question
- To: Philip Blundell <pb@nexus.co.uk>
- Subject: Re: dynamic linker question
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 21 Jan 1999 08:18:05 -0800
- Cc: libc-hacker@gnu.org
- References: <E103Lpe-0005m2-00@fountain.nexus.co.uk>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
Philip Blundell <pb@nexus.co.uk> writes:
> Is it a requirement that non-PIC objects be supported?
Not necessarily. You could make it a policy.
But I would think about solving the problem in future. The problem is
that one way to "save" a static .a library is to convert it into a
shared object and link it against, e.g, a certain libc version. Then
the library will use the correct functions from the libc. But the
original .a file contains probably files not compiled with -fPIC.
> The test cases in the elf directory are currently not PIC and these
> tests consequently fail on ARM at the moment.
This is mainly an oversight from on my side. I'll correct this in a
few minutes.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------