This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Update relocation values for ARC platform.
- From: Ramana Radhakrishnan <ramana dot radhakrishnan at codito dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 25 Apr 2005 16:09:31 +0530
- Subject: Re: [PATCH] Update relocation values for ARC platform.
- References: <426CB4BD.3010708@codito.com> <426CB82C.8010008@redhat.com>
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)