u-boot/arch/arc/lib
Alexey Brodkin 36ae5cd2a8 arc: fix relocation for big-endian target
In case of little-endian ARC700 instructions (which may include target
address) are encoded as middle-endian. That's why it's required to swap
bytes after read and ten right before write back.

But in case of big-endian ARC700 instructions are encoded as a plain
big-endian. Thus no need for byte swapping.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

Cc: Francois Bedard <fbedard@synopsys.com>
Cc: Tom Rini <trini@ti.com>
cc: Noam Camus <noamc@ezchip.com>
2014-02-21 07:56:42 -05:00
..
bootm.c arc: add library functions 2014-02-07 08:14:32 -05:00
Makefile arc: add library functions 2014-02-07 08:14:32 -05:00
memcmp.S arc: add library functions 2014-02-07 08:14:32 -05:00
memcpy-700.S arc: add library functions 2014-02-07 08:14:32 -05:00
memset.S arc: add library functions 2014-02-07 08:14:32 -05:00
relocate.c arc: fix relocation for big-endian target 2014-02-21 07:56:42 -05:00
sections.c arc: add library functions 2014-02-07 08:14:32 -05:00
strchr-700.S arc: add library functions 2014-02-07 08:14:32 -05:00
strcmp.S arc: add library functions 2014-02-07 08:14:32 -05:00
strcpy-700.S arc: add library functions 2014-02-07 08:14:32 -05:00
strlen.S arc: add library functions 2014-02-07 08:14:32 -05:00