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: [PATCH] Update relocation values for ARC platform.


Hi Nick,

This patch corrects the values of the relocation types for
the ARC platform. Tested by building cross arc-elf32 and running the tests with no regressions.


I am worried about this. What has happened to the old relocation values (1, 2, 3) ? What about backwards compatibility ?

FSF mainline was not ABI compliant with respect to these relocation values. (The relocation values 1, 2 and 3 are actually reserved for the relocation types R_ARC_8, R_ARC_16, R_ARC_24. ostensibly generated by the other toolchain for the ARC cores. ) which the GNU tools does not generate / handle currently.Mainline seems to have the values of 1,2,3 for these relocation types since the first revision.


With respect to backwards compatibility, if anything this should enable users to link in GNU compiled binaries with the other propreitary toolchain with a few more patches that are still in my pipeline. A persistent complaint has been this inability to link object files generated by the 2 toolsets for the ARC platform .

Would a NEWS item indicating this change be a valid thing to do indicating that mainline would be broken w.r.t 2.16 branch. ? Or would you want to put in some sort of version checks in the linker based on version info emitted by the assembler ?


cheers Ramana

---
Ramana Radhakrishnan
GNU Tools
codito ergo sum (www.codito.com)


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