[I don't think it's off-topic at all] Linking speed for C++
Richard Henderson
rth@redhat.com
Tue May 29 15:36:00 GMT 2001
On Tue, May 29, 2001 at 03:23:40PM -0700, Geoff Keating wrote:
> But when linked with -fPIC ... the linker can't tell that
> the reloc ... is related to PIC-ness, or if it's just a plain
> old data reloc in an oddly-named section.
Hum. Ok, that is ugly. IMO you'd be much better off with your
linker knowing how to create multiple GOT pools like we do on Alpha.
On second thought, why aren't you using the R_PPC_GOT16_HA and
R_PPC_GOT16_LO relocations for -fPIC?
r~
More information about the Gcc
mailing list