mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 04:25:10 +08:00
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.
This commit is contained in:
parent
50cc854c48
commit
52176c676d
@ -1,3 +1,7 @@
|
||||
2016-04-20 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* elf/arc-reloc.def (ARC_NPS_CMEM16): Add ME modifier to formula.
|
||||
|
||||
2016-04-19 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* opcode/arc.h (MAX_INSN_ARGS): Increase 6 to 8.
|
||||
|
@ -496,4 +496,4 @@ ARC_RELOC_HOWTO(ARC_NPS_CMEM16, 78, \
|
||||
16, \
|
||||
replace_bits16, \
|
||||
dont, \
|
||||
( S + A ))
|
||||
( ME ( S + A )))
|
||||
|
Loading…
Reference in New Issue
Block a user