Never emit R_ARM_PC24 relocations when linking

Daniel Jacobowitz drow@mvista.com
Tue Jan 13 18:37:00 GMT 2004


On Tue, Jan 13, 2004 at 06:12:31PM +0000, Richard Earnshaw wrote:
> > > > 
> > > > > Yes.  The only difference I see in their handling now is a case I
> > > > > missed in relocate_section, and some PC24 code that doesn't handle
> > > > > PLT32 for interworking.
> > > > > 
> > > > 
> > > > Are you going to address those in another iteration of this patch, or as a 
> > > > separate one?
> > > 
> > > Separate.
> > 
> > OK then.
> > 
> 
> Argh!  Unfortunately this has completely broken testing for arm-elf.  Just 
> try and run the gcc testsuite when using the new linker -- it keeps trying 
> to make PLT entries in a non-shared library environment :-(

Hmm, I did run the testsuite for arm-elf.  There were no problems - I
could create shared libraries just fine for the ld tests.

Wait, you're saying the _GCC_ testsuite.  So it's creating PLT entries
even when not creating shared libraries.  Yuck!  I will look at the
problem this afternoon.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list