Exploring the possibility of linking objects with different relocation schemes.

Nick Clifton nickc@redhat.com
Thu Dec 16 11:59:00 GMT 2004


Hi Prafulla,

> Solution as per our understanding:
> We will Change the ABI number in the object file to indicate the
> relocation scheme used. 

This is the correct approach.

> Also we are exploring the possibility of linking objects with different 
> relocation schemes together. Can anybody suggest how feasible is to
> modify present linker to link objects with different relocation scheme 
 > at the same time?

This should be possible.  You may find that you cannot support the 
--emit-relocs switch since you would not be able to label the output 
file as containing both old and new ABI relocs.

Cheers
   Nick



More information about the Binutils mailing list