Exploring the possibility of linking objects with different relocationschemes.
Nick Clifton
nickc@redhat.com
Wed Jan 5 13:26:00 GMT 2005
Hi Prafulla,
> We have changed the ABI VERSION in elf header to identify the different
> relocation schemes. i.e. ABI = 1 stands for new (binutils 2.15 onwards)
> relocations while ABI = 0 stands for old (binutils 2.10) relocations.
Note - you should probably define constants for these values and put
them into include/elf/sh.h.
> Please let us know, if this okay and also if anybody foresee any problem
This is OK.
> Also any input on how above implementation will affect "-r" option to
> linker?
It should not be a problem. As long as the code correctly propagates
the ABIVERSION value to the output bfd (which should happen
automatically, you should not need to add any new code).
Cheers
Nick
More information about the Binutils
mailing list