blob: 7580ee1607dea5a1fea6af23ddebd7dd7b8b015d (
plain) (
blame)
1
2
3
4
5
|
[AArch64] - blr x30 is handled incorrectly
Whenever x30 is used as the operand for blr, the result will be incorrect. There is no restriction on using x30 (LR) with the blr instruction in the ARMv8 manual. There are two statically linked 64-bit executables in files.tar.gz: good and bad. The executable "good" uses "blr x9", and the output is what is expected: "func". The executable "bad" uses "blr x30" and nothing is printed out. It prints "func" on the actual device.
|