OSDN Git Service

Add support for R_ARC_NONE relocations.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 26 Mar 2015 08:55:34 +0000 (14:25 +0530)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 26 Mar 2015 23:08:46 +0000 (00:08 +0100)
commit8fde02feb2f8a36934308012d89fa6614967b2dc
tree6261937bb0c40cf116bdeb18b65fc43425aa3bb6
parentcc8d7d062e2db0a1ed3973e6af38cd1938ba74d7
Add support for R_ARC_NONE relocations.

The R_ARC_NONE relocation is generated when --gc-sections, used by the
compile time linker, removes some sections.  This is completely normal,
and we can see that all other targets (based on random sampling) have
support for R_*_NONE relocations (named for each target).

Handling R_ARC_NONE involves doing nothing with it, which is nice and
easy.

Signed-off-by: Andrew Burgess <andrew.burgess@embecosm.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
ldso/ldso/arc/elfinterp.c