diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0e2bc23d0c..46552b083d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-10-27 Yao Qi + + * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered. + 2017-10-26 Patrick Frants * gdb.cp/classes.exp (test_static_members): Test printing diff --git a/gdb/testsuite/gdb.arch/insn-reloc.c b/gdb/testsuite/gdb.arch/insn-reloc.c index c19d0be1c7..5cf9ccaf7a 100644 --- a/gdb/testsuite/gdb.arch/insn-reloc.c +++ b/gdb/testsuite/gdb.arch/insn-reloc.c @@ -508,7 +508,8 @@ can_relocate_bl (void) { asm ("set_point11:\n" " bl foo\n" - " bl pass\n"); /* Test that LR is updated correctly. */ + " bl pass\n" + : : : "x30"); /* Test that LR is updated correctly. */ } #endif