Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: basesrc
> | > | 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
Home |
Main Index |
Thread Index |
Old Index