[AArch64] Mark LR clobbered by BL in inline asm
authorYao Qi <yao.qi@linaro.org>
Fri, 27 Oct 2017 14:29:24 +0000 (15:29 +0100)
committerYao Qi <yao.qi@linaro.org>
Fri, 27 Oct 2017 14:29:24 +0000 (15:29 +0100)
commitbb11dd58391459bd5ba54ec405adab663ac59e89
treed091b2ee02a8386953c1cd0d23423e255f4a8562
parent32ef30002cee3661eb645cd14bcc4ff77ea10f45
[AArch64] Mark LR clobbered by BL in inline asm

LR is a caller-save register, so, if inline asm does BL (which touches
LR), we should mark LR clobbered.

gdb/testsuite:

2017-10-27  Yao Qi  <yao.qi@linaro.org>

* gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/insn-reloc.c