1
0
Fork 0

ARM: kprobes-test: use <asm/opcodes.h> for ARM instruction building

The kprobes test will build certain instructions incorrectly if building
big endian as .word output gets endian-swapped by the linker. Change to
using <asm/opcodes.h> and __inst_arm() to produce instructions.

Acked-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
[taras.kondratiuk@linaro.org: fixed unsupported coprocessor instructions]
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
hifive-unleashed-5.1
Ben Dooks 2013-11-08 18:29:27 +00:00 committed by Taras Kondratiuk
parent 4712e17aa4
commit af886d2dfd
1 changed files with 301 additions and 300 deletions

File diff suppressed because it is too large Load Diff