This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [I don't think it's off-topic at all] Linking speed for C++


> Date: Tue, 29 May 2001 15:36:07 -0700
> From: Richard Henderson <rth@redhat.com>
> Cc: gcc@gcc.gnu.org
> Mail-Followup-To: Richard Henderson <rth@redhat.com>,
> 	Geoff Keating <geoffk@redhat.com>, gcc@gcc.gnu.org
> Content-Disposition: inline
> User-Agent: Mutt/1.2.5i
> 
> 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.

I agree.  I'm just waiting for Uli to finish his ELF linker so I can
add this feature :-).

> On second thought, why aren't you using the R_PPC_GOT16_HA and
> R_PPC_GOT16_LO relocations for -fPIC?

Speed and code size.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]