]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/arm/arm.h
[ARM/FDPIC v6 07/24] [ARM] FDPIC: Avoid saving/restoring r9 on stack since it is...
authorChristophe Lyon <christophe.lyon@st.com>
Tue, 10 Sep 2019 07:49:20 +0000 (09:49 +0200)
committerChristophe Lyon <clyon@gcc.gnu.org>
Tue, 10 Sep 2019 07:49:20 +0000 (09:49 +0200)
commit4997c9aed45b4439474005c4c71fac65151d1719
tree15890a51cbc79b3ea6f3535c8a36b6a91707994e
parent5d727a4b20257275df59182b00f3bf240772cd0d
[ARM/FDPIC v6 07/24] [ARM] FDPIC: Avoid saving/restoring r9 on stack since it is read-only

2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
Mickaël Guêné <mickael.guene@st.com>

gcc/
* config/arm/arm.h (PIC_REGISTER_MAY_NEED_SAVING): New helper.
* config/arm/arm.c (arm_compute_save_reg0_reg12_mask): Handle
FDPIC.

Co-Authored-By: Mickaël Guêné <mickael.guene@st.com>
From-SVN: r275569
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.h