From 934d473689fe21e9a7ba0578d2c58da481badc67 Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Wed, 14 Nov 2018 11:42:32 +0000 Subject: [PATCH] [Ada] sigtramp-vxworks: Add a rule for sp (DWARF r31) on AArch64 2018-11-14 Olivier Hainque gcc/ada/ * sigtramp-vxworks-target.inc: Fix stack checking test errors in ACATS, now that GCC can emit CFI rules referring to sp in absence of a frame pointer. From-SVN: r266134 --- gcc/ada/ChangeLog | 6 ++++++ gcc/ada/sigtramp-vxworks-target.inc | 1 + 2 files changed, 7 insertions(+) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 742379be676..d6881d93afb 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,9 @@ +2018-11-14 Olivier Hainque + + * sigtramp-vxworks-target.inc: Fix stack checking test errors in + ACATS, now that GCC can emit CFI rules referring to sp in + absence of a frame pointer. + 2018-11-14 Eric Botcazou * exp_aggr.adb (Check_Static_Components): Remove dead test. diff --git a/gcc/ada/sigtramp-vxworks-target.inc b/gcc/ada/sigtramp-vxworks-target.inc index 1c3ed569c92..f42c8726d00 100644 --- a/gcc/ada/sigtramp-vxworks-target.inc +++ b/gcc/ada/sigtramp-vxworks-target.inc @@ -388,6 +388,7 @@ TCR(COMMON_CFI(G_REG_OFFSET(27))) \ TCR(COMMON_CFI(G_REG_OFFSET(28))) \ TCR(COMMON_CFI(G_REG_OFFSET(29))) \ TCR(COMMON_CFI(G_REG_OFFSET(30))) \ +TCR(COMMON_CFI(G_REG_OFFSET(31))) \ TCR(COMMON_CFI(PC_OFFSET)) \ TCR(".cfi_return_column " S(REGNO_PC_OFFSET)) #else -- 2.30.2