diff options
author | Alan Modra <amodra@gmail.com> | 2019-11-12 11:39:47 +1030 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2019-11-12 11:39:47 +1030 |
commit | ed2181fc2a3ff3a0f65110c906093d5ce0d8e048 (patch) | |
tree | e0ec94ff898295cafab368eb84df1015c8792dc5 /gcc/configure.ac | |
parent | a2615b0690d1fabdb17e4545a1c48d5c63bcfb00 (diff) |
[RS6000] Remove TARGET_TLS_MARKERS and require binutils 2.20
This patch removes !TARGET_TLS_MARKERS support. -mtls-markers (and
-mno-tls-markers) disappear as valid options too, because I figure
they haven't been used too much except by people testing the
compiler.
* config/rs6000/rs6000.opt (mtls-markers): Delete.
* config/rs6000/rs6000.h (TARGET_TLS_MARKERS): Don't define.
(IS_NOMARK_TLSGETADDR): Likewise.
* config/rs6000/rs6000-protos.h (rs6000_output_tlsargs): Delete.
* config/rs6000/rs6000.c (rs6000_output_tlsargs): Delete.
(rs6000_legitimize_tls_address): Remove !TARGET_TLS_MARKERS code.
(rs6000_call_template_1): Delete TARGET_TLS_MARKERS test and
allow other UNSPECs besides UNSPEC_TLSGD and UNSPEC_TLSLD.
(rs6000_indirect_call_template_1): Likewise.
(rs6000_pltseq_template): Likewise.
(rs6000_opt_vars): Remove "tls-markers" entry.
* config/rs6000/rs6000.md (tls_gd<bits>): Replace TARGET_TLS_MARKERS
with TARGET_ELF.
(tls_gd_high<bits>, tls_gd_low<bits>): Likewise.
(tls_ld<bits>, tls_ld_high<bits>, tls_ld_low<bits>): Likewise.
(pltseq_plt_pcrel<mode>): Likewise.
(call_value_local32): Remove IS_NOMARK_TLSGETADDR predicate test.
(call_value_local64): Likewise.
(call_value_indirect_nonlocal_sysv<mode>): Remove IS_NOMARK_TLSGETADDR
output and length attribute sub-expression.
(call_value_nonlocal_sysv<mode>),
(call_value_nonlocal_sysv_secure<mode>),
(call_value_local_aix<mode>, call_value_nonlocal_aix<mode>),
(call_value_indirect_aix<mode>, call_value_indirect_elfv2<mode>),
(call_value_indirect_pcrel<mode>): Likewise.
* doc/install.texi (powerpc-*-*): Require binutils-2.20.
* configure.ac (HAVE_AS_TLS_MARKERS): Delete test.
* configure: Regenerate.
* config.in: Regenerate.
From-SVN: r278075
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 6bce1e3b6d9..b9cc2435cdf 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4811,12 +4811,6 @@ LCF0: [AC_DEFINE(HAVE_AS_GNU_ATTRIBUTE, 1, [Define if your assembler supports .gnu_attribute.])]) - gcc_GAS_CHECK_FEATURE([tls marker support], - gcc_cv_as_powerpc_tls_markers, [2,20,0],, - [ bl __tls_get_addr(x@tlsgd)],, - [AC_DEFINE(HAVE_AS_TLS_MARKERS, 1, - [Define if your assembler supports arg info for __tls_get_addr.])]) - gcc_GAS_CHECK_FEATURE([prologue entry point marker support], gcc_cv_as_powerpc_entry_markers, [2,26,0],-a64 --fatal-warnings, [ .reloc .,R_PPC64_ENTRY; nop],, |