Subject: Re: CVS commit: basesrc
To: Christos Zoulas <christos@zoulas.com>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: source-changes
Date: 06/24/1999 13:50:21
> | > | should we build the sparc ld.elf_so -fPIC not -fpic?
> | >
> | > I suppose so.
> |
> | Why does it matter? ld.elf_so itself isn't that big! It's *own*
> | relocations don't need to be large...
>
> Don't other things need symbols from it though, like dl*?
>
It does not matter what someone wants from a library. The pic vs PIC
thing is a purely internal matter; it determines what code is generated
to access entries in the library's own GOT table. In the case of
sparc code: `1 instruction with 13-bit immediate offset into GOT' vs
`2 instructions constructing a 32-bit offset into GOT'
-pk