This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Exploring the possibility of linking objects with different relocationschemes.


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



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