diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-02-14 19:21:02 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2020-02-14 19:24:33 +0100 |
commit | 81fc552558f54c6f691e7816da9ab4ad8483f7ef (patch) | |
tree | 1ff990a0e49d5dffd2b9157fd108360f5e157bbb /libcpp | |
parent | d8305a03b4f0bb081dd9c88917cc8c48def22a80 (diff) | |
download | gcc-81fc552558f54c6f691e7816da9ab4ad8483f7ef.zip gcc-81fc552558f54c6f691e7816da9ab4ad8483f7ef.tar.gz gcc-81fc552558f54c6f691e7816da9ab4ad8483f7ef.tar.bz2 |
Fix problematic TLS sequences for the Solaris linker
This is an old thinko pertaining to the interaction between TLS
sequences and delay slot filling: the compiler knows that it cannot
put instructions with TLS relocations into delay slots with the
original Sun TLS model, but it tests TARGET_SUN_TLS in this context,
which depends only on the assembler. So if the compiler is configured
with the GNU assembler and the Solaris linker, then TARGET_GNU_TLS is
set instead and the limitation is not enforced.
PR target/93704
* config/sparc/sparc.c (eligible_for_call_delay): Test HAVE_GNU_LD
in conjunction with TARGET_GNU_TLS in early return.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions