arc: Fix relocation formula for ARC_NPS_CMEM16 relocation
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 19 Apr 2016 16:40:41 +0000 (17:40 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 20 Apr 2016 10:45:24 +0000 (11:45 +0100)
commit52176c676da5f4b7339f254dc83cb35a0789bf20
treed5871f621871e6a16c766a2dc4ce6776c50aaf74
parent50cc854c48e79d9b8a2c55c117918d6a719bea38
arc: Fix relocation formula for ARC_NPS_CMEM16 relocation

The ME modifier was missing from the relocation formula for the
ARC_NPS_CMEM16 relocation, and as such the relocation would not patch
correctly on little endian targets.

include/ChangeLog:

* elf/arc-reloc.def (ARC_NPS_CMEM16): Add ME modifier to formula.
include/ChangeLog
include/elf/arc-reloc.def