diff options
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 5b41a0c7b74..10b700661e1 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2577,6 +2577,22 @@ x: tls_first_minor=16 tls_as_opt='-32 --fatal-warnings' ;; + m68k-*-*) + conftest_s=' + .section .tdata,"awT",@progbits +x: + .word 2 + .text +foo: + move.l x@TLSGD(%a5),%a0 + move.l x@TLSLDM(%a5),%a0 + move.l x@TLSLDO(%a5),%a0 + move.l x@TLSIE(%a5),%a0 + move.l x@TLSLE(%a5),%a0' + tls_first_major=2 + tls_first_minor=19 + tls_as_opt='--fatal-warnings' + ;; powerpc-*-*) conftest_s=' .section ".tdata","awT",@progbits @@ -2945,6 +2961,15 @@ changequote(,)dnl changequote([,])dnl case $target_os in cygwin* | pe | mingw32*) + # Recent binutils allows the three-operand form of ".comm" on PE. This + # definition is used unconditionally to initialise the default state of + # the target option variable that governs usage of the feature. + gcc_GAS_CHECK_FEATURE([.comm with alignment], gcc_cv_as_comm_has_align, + [2,19,52],,[.comm foo,1,32]) + AC_DEFINE_UNQUOTED(HAVE_GAS_ALIGNED_COMM, + [`if test $gcc_cv_as_comm_has_align = yes; then echo 1; else echo 0; fi`], + [Define if your assembler supports specifying the alignment + of objects allocated using the GAS .comm command.]) # Used for DWARF 2 in PE gcc_GAS_CHECK_FEATURE([.secrel32 relocs], gcc_cv_as_ix86_pe_secrel32, |