[ARM/FDPIC v6 10/24] [ARM] FDPIC: Implement TLS support.
authorChristophe Lyon <christophe.lyon@st.com>
Tue, 10 Sep 2019 07:53:12 +0000 (09:53 +0200)
committerChristophe Lyon <clyon@gcc.gnu.org>
Tue, 10 Sep 2019 07:53:12 +0000 (09:53 +0200)
commite844c94f2a178b8f529a484ed0600b546c59c549
tree4c79ba55555a25e692520325f04b2158854fb0aa
parentbc87cffb13c836cc72b37dfd90544c7c21268702
[ARM/FDPIC v6 10/24] [ARM] FDPIC: Implement TLS support.

Support additional relocations: TLS_GD32_FDPIC, TLS_LDM32_FDPIC, and
TLS_IE32_FDPIC.

We do not support the GNU2 TLS dialect.

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

gcc/
* config/arm/arm.c (tls_reloc): Add TLS_GD32_FDPIC,
TLS_LDM32_FDPIC and TLS_IE32_FDPIC.
(arm_call_tls_get_addr): Add FDPIC support.
(legitimize_tls_address): Likewise.
(arm_emit_tls_decoration): Likewise.

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