dynamic linker question

Ulrich Drepper drepper@cygnus.com
Thu Jan 21 08:20:00 GMT 1999


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   `------------------------



More information about the Libc-hacker mailing list