diff options
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 1e6f2636fba..5d6aa5d3c28 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3125,6 +3125,37 @@ foo: .long 25 xor %l1, %tle_lox10(foo), %o5 ld [%g7 + %o5], %o1" ;; + tilepro*-*-*) + conftest_s=' + .section ".tdata","awT",@progbits +foo: .long 25 + .text + addli r0, zero, tls_gd(foo) + auli r0, zero, tls_gd_ha16(foo) + addli r0, r0, tls_gd_lo16(foo) + jal __tls_get_addr + addli r0, zero, tls_ie(foo) + auli r0, r0, tls_ie_ha16(foo) + addli r0, r0, tls_ie_lo16(foo)' + tls_first_major=2 + tls_first_minor=22 + tls_as_opt="--fatal-warnings" + ;; + tilegx*-*-*) + conftest_s=' + .section ".tdata","awT",@progbits +foo: .long 25 + .text + shl16insli r0, zero, hw0_last_tls_gd(foo) + shl16insli r0, zero, hw1_last_tls_gd(foo) + shl16insli r0, r0, hw0_tls_gd(foo) + jal __tls_get_addr + shl16insli r0, zero, hw1_last_tls_ie(foo) + shl16insli r0, r0, hw0_tls_ie(foo)' + tls_first_major=2 + tls_first_minor=22 + tls_as_opt="--fatal-warnings" + ;; xtensa*-*-*) conftest_s=' .section ".tdata","awT",@progbits @@ -4071,7 +4102,7 @@ esac # version to the per-target configury. case "$cpu_type" in alpha | arm | avr | bfin | cris | i386 | m32c | m68k | microblaze | mips \ - | pa | rs6000 | score | sparc | spu | xstormy16 | xtensa) + | pa | rs6000 | score | sparc | spu | tilegx | tilepro | xstormy16 | xtensa) insn="nop" ;; ia64 | s390) |