diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-07 11:33:39 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-07 11:33:39 +0000 |
commit | fcc290590e9e534d7fb85ef3d794ea61facf1ee3 (patch) | |
tree | b8f13c6ae1313600cf61756de963308e154f533a /gcc/configure.ac | |
parent | e727a9cd911d001a3f6eb6628ac3922da7d884ac (diff) | |
download | gcc-fcc290590e9e534d7fb85ef3d794ea61facf1ee3.tar.gz |
Improve @tlsldmplt test on Solaris 11/x86
* configure.ac (HAVE_AS_IX86_TLSLDMPLT): Improve test for Solaris
11/x86 ld.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208399 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 156d46c2ad6..0336066ccd2 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3920,10 +3920,14 @@ foo: nop [AC_DEFINE(HAVE_AS_IX86_TLSGDPLT, 1, [Define if your assembler and linker support @tlsgdplt.])]) + conftest_s=' + .section .tdata,"aw'$tls_section_flag'",@progbits +tls_ld: + .section .text,"ax",@progbits + call tls_ld@tlsldmplt' gcc_GAS_CHECK_FEATURE([R_386_TLS_LDM_PLT reloc], gcc_cv_as_ix86_tlsldmplt,,, - [tls_ld: - call tls_ld@tlsldmplt], + [$conftest_s], [if test x$gcc_cv_ld != x \ && $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1; then gcc_cv_as_ix86_tlsldmplt=yes |