arm questions

Toshi Morita tm2@best.com
Fri Apr 16 03:21:00 GMT 1999


> >In fact as far as Linux is concerned it probably wouldn't be an especially 
> >big deal to introduce RELA in parallel with REL if we wanted to.  I think 
> >there were rumblings that the ARM SDT compiler was primarily using RELA,
> 
> No. ARM only uses REL. We see no advantage to RELA. However, our ELF
> linker (not yet released) handles RELA or any mix of REL and RELA
> (as the ELF standard seems to intend).
> 
> AFAIK, Green Hills uses RELA only in its ARM ELF tool chain.
> 
> >so we 
> >might end up doing it in order to be able to interwork with them.  Our
> dynamic 
> >linker can be taught to handle binaries with an arbitrary mix of reloc
> types, 
> >I think, and I imagine binutils can be made to handle this too if it doesn't 
> >already.

The BFD when configured for sh-elf supports both REL and RELA relocation types
although sh-elf-gcc itself only uses REL. 

Toshi



More information about the Bfd mailing list