[FIX] CBZ branch displacement calculation 50/19150/1
authorVasiliy Ulyanov <v.ulyanov@samsung.com>
Tue, 8 Apr 2014 05:48:40 +0000 (09:48 +0400)
committerVasiliy Ulyanov <v.ulyanov@samsung.com>
Tue, 8 Apr 2014 05:48:40 +0000 (09:48 +0400)
commit24e491b31fd8a796e96c0d625d44042d9b0ec3b0
treef83021db7cf3322577190c05a5bf9e7e8683d54d
parenteb9704c9928339f85f363044f01408ffe6a54fe2
[FIX] CBZ branch displacement calculation

 - zero out original branch displacement: imm5 = 0; i = 0;
 - replace it with 8 bytes offset in execbuf: imm5 = 0b00010

Change-Id: Ib59d362964845516000637f0a4eb295ad211d221
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
uprobe/arch/asm-arm/swap_uprobes.c