Check if linker supports R_386_TLS_GD_PLT, R_386_TLS_LDM_PLT relocs
* configure.ac (gcc_cv_as_ix86_tlsgdplt): Check if linker supports R_386_TLS_GD_PLT reloc. (gcc_cv_as_ix86_tlsldmplt): Check if linker supports R_386_TLS_LDM_PLT reloc. * configure: Regenerate. * config.in: Regenerate. From-SVN: r183063
This commit is contained in:
parent
7c5825a781
commit
0f24748c58
4 changed files with 36 additions and 9 deletions
|
@ -1,3 +1,12 @@
|
|||
2012-01-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* configure.ac (gcc_cv_as_ix86_tlsgdplt): Check if linker
|
||||
supports R_386_TLS_GD_PLT reloc.
|
||||
(gcc_cv_as_ix86_tlsldmplt): Check if linker
|
||||
supports R_386_TLS_LDM_PLT reloc.
|
||||
* configure: Regenerate.
|
||||
* config.in: Regenerate.
|
||||
|
||||
2012-01-10 Georg-Johann Lay <avr@gjlay.de>
|
||||
|
||||
PR target/49868
|
||||
|
|
|
@ -357,13 +357,13 @@
|
|||
#endif
|
||||
|
||||
|
||||
/* Define if your assembler supports @tlsgdplt. */
|
||||
/* Define if your assembler and linker support @tlsgdplt. */
|
||||
#ifndef USED_FOR_TARGET
|
||||
#undef HAVE_AS_IX86_TLSGDPLT
|
||||
#endif
|
||||
|
||||
|
||||
/* Define if your assembler supports @tlsldmplt. */
|
||||
/* Define if your assembler and linker support @tlsldmplt. */
|
||||
#ifndef USED_FOR_TARGET
|
||||
#undef HAVE_AS_IX86_TLSLDMPLT
|
||||
#endif
|
||||
|
|
12
gcc/configure
vendored
12
gcc/configure
vendored
|
@ -24823,7 +24823,11 @@ else
|
|||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; }
|
||||
then
|
||||
gcc_cv_as_ix86_tlsgdplt=yes
|
||||
if test x$gcc_cv_ld != x \
|
||||
&& $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1; then
|
||||
gcc_cv_as_ix86_tlsgdplt=yes
|
||||
fi
|
||||
rm -f conftest
|
||||
else
|
||||
echo "configure: failed program was" >&5
|
||||
cat conftest.s >&5
|
||||
|
@ -24854,7 +24858,11 @@ else
|
|||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; }
|
||||
then
|
||||
gcc_cv_as_ix86_tlsldmplt=yes
|
||||
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
|
||||
fi
|
||||
rm -f conftest
|
||||
else
|
||||
echo "configure: failed program was" >&5
|
||||
cat conftest.s >&5
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Process this file with autoconf to generate a configuration script.
|
||||
|
||||
# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
|
||||
# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
|
||||
# 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
|
||||
|
||||
#This file is part of GCC.
|
||||
|
||||
|
@ -3674,15 +3674,25 @@ foo: nop
|
|||
|
||||
gcc_GAS_CHECK_FEATURE([R_386_TLS_GD_PLT reloc],
|
||||
gcc_cv_as_ix86_tlsgdplt,,,
|
||||
[call tls_gd@tlsgdplt],,
|
||||
[call tls_gd@tlsgdplt],
|
||||
[if test x$gcc_cv_ld != x \
|
||||
&& $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1; then
|
||||
gcc_cv_as_ix86_tlsgdplt=yes
|
||||
fi
|
||||
rm -f conftest],
|
||||
[AC_DEFINE(HAVE_AS_IX86_TLSGDPLT, 1,
|
||||
[Define if your assembler supports @tlsgdplt.])])
|
||||
[Define if your assembler and linker support @tlsgdplt.])])
|
||||
|
||||
gcc_GAS_CHECK_FEATURE([R_386_TLS_LDM_PLT reloc],
|
||||
gcc_cv_as_ix86_tlsldmplt,,,
|
||||
[call tls_ld@tlsldmplt],,
|
||||
[call tls_ld@tlsldmplt],
|
||||
[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
|
||||
fi
|
||||
rm -f conftest],
|
||||
[AC_DEFINE(HAVE_AS_IX86_TLSLDMPLT, 1,
|
||||
[Define if your assembler supports @tlsldmplt.])])
|
||||
[Define if your assembler and linker support @tlsldmplt.])])
|
||||
|
||||
;;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue