Define 'lr' as x30 on aarch64
authorkan <kan@FreeBSD.org>
Fri, 7 Apr 2017 22:58:28 +0000 (22:58 +0000)
committerkan <kan@FreeBSD.org>
Fri, 7 Apr 2017 22:58:28 +0000 (22:58 +0000)
commit139ec191bba953edabbe947c2368b969bcccea81
tree42ca37da363c92eabb35f8dd66cbaecddab257ff
parent7e1889ba5b75cb2b2aa81aee62a7bb78a76eeafa
Define 'lr' as x30 on aarch64

GNU toolchain does not recognize LR as standard register alias,
but clang does. Use of #define will work on both. Place the
definition into central machine/asm.h instead of patching every
affected file, as requested by plaftorm maintainers.

Reviews by: andrew, emaste, imp
Differential Revision: https://reviews.freebsd.org/D10307
sys/arm64/include/asm.h