This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: A very "strange" bug in gcc 2.96
On Mon, May 22, 2000 at 02:07:07PM -0700, Ian Lance Taylor wrote:
> What platforms are those? (The MIPS requires PIC if you want to any
> dynamic linking at all, but I'm not aware of any platform which
> requires PIC for shared objects and only for shared objects.)
Sparc, Alpha, and IA-64 at a minimum adjust the compiler's notion
of the appropriate name binding rules depending on -fpic.
Some of it could potentially be done with linker relaxation instead,
however it would have to be extremely sophisticated to come close
to what the compiler can do. I don't know about you, but I don't
want to build an instruction scheduler into the linker.
r~