Fix branch instruction in uuo link stub.
authorTaylor R Campbell <campbell@mumble.net>
Mon, 21 Jan 2019 19:06:38 +0000 (19:06 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Wed, 21 Aug 2019 21:34:04 +0000 (21:34 +0000)
src/microcode/cmpintmd/aarch64.c

index 94dedc127cd178323e3413f16acdb622ca8926d8..f012434c1d7f634d6e8a0c53fea7580217634a25 100644 (file)
@@ -284,7 +284,7 @@ write_uuo_insns (insn_t * target, insn_t * iaddr, int pcrel)
       (iaddr[1]) = 0xd1002031UL; /* sub x17, x1, #8 */
       (iaddr[2]) = 0xf9400231UL; /* ldr x17, [x17] */
       (iaddr[3]) = 0x8b010231UL; /* add x17, x17, x1 */
-      (iaddr[4]) = 0xd61f0022UL; /* br x17 */
+      (iaddr[4]) = 0xd61f0220UL; /* br x17 */
     }
 }