[ARM/FDPIC v6 21/24] [ARM] FDPIC: Handle stack-protector combined patterns
authorChristophe Lyon <christophe.lyon@st.com>
Tue, 10 Sep 2019 08:09:27 +0000 (10:09 +0200)
committerChristophe Lyon <clyon@gcc.gnu.org>
Tue, 10 Sep 2019 08:09:27 +0000 (10:09 +0200)
commitfec08d85b0f38c46ef72606fb04ed05bc4821ffa
tree5180900fd9bbb3d45d0ac78cd5d27b2e39066d9b
parent1ce7625c439d111b412c069e7918babf4e776310
[ARM/FDPIC v6 21/24] [ARM] FDPIC: Handle stack-protector combined patterns

The recent stack_protect_combined_set_insn and
stack_protect_combined_test_insn force recomputing of GOT base, but
need to take into account that in FDPIC mode, the PIC register is
fixed by the ABI (r9).

2019-09-10  Christophe Lyon  <christophe.lyon@st.com>

gcc/
* config/arm/arm.md (stack_protect_combined_set_insn): Handle
FDPIC mode.
(stack_protect_combined_test_insn): Likewise.

From-SVN: r275582
gcc/ChangeLog
gcc/config/arm/arm.md