aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorpalmer <palmer@138bc75d-0d04-0410-961f-82ee72b054a4>2017-02-06 21:38:43 +0000
committerpalmer <palmer@138bc75d-0d04-0410-961f-82ee72b054a4>2017-02-06 21:38:43 +0000
commit6afed82a1cc7e6cd6c5683fb673b596d26038885 (patch)
tree1f46745014463db9af31c1fc6dd53ce4f05d545d /gcc/configure
parentfb55f581395180a5114f2f0ea991fccce6e93619 (diff)
RISC-V Port: Regenerate gcc/configure
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245225 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure15
1 files changed, 13 insertions, 2 deletions
diff --git a/gcc/configure b/gcc/configure
index c9e43fb80e3..5359a4e6ee5 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -24156,6 +24156,17 @@ x3: .space 4
tls_first_minor=14
tls_as_opt="-a32 --fatal-warnings"
;;
+ riscv*-*-*)
+ conftest_s='
+ .section .tdata,"awT",@progbits
+x: .word 2
+ .text
+ la.tls.gd a0,x
+ call __tls_get_addr'
+ tls_first_major=2
+ tls_first_minor=21
+ tls_as_opt='--fatal-warnings'
+ ;;
s390-*-*)
conftest_s='
.section ".tdata","awT",@progbits
@@ -27516,8 +27527,8 @@ esac
# version to the per-target configury.
case "$cpu_type" in
aarch64 | alpha | arm | avr | bfin | cris | i386 | m32c | m68k | microblaze \
- | mips | nios2 | pa | rs6000 | score | sparc | spu | tilegx | tilepro \
- | visium | xstormy16 | xtensa)
+ | mips | nios2 | pa | riscv | rs6000 | score | sparc | spu | tilegx \
+ | tilepro | visium | xstormy16 | xtensa)
insn="nop"
;;
ia64 | s390)