diff options
author | Stafford Horne <shorne@gmail.com> | 2018-11-09 12:16:14 +0000 |
---|---|---|
committer | Stafford Horne <shorne@gcc.gnu.org> | 2018-11-09 12:16:14 +0000 |
commit | 3965b35f341cc99a10876518f707740a9e912a01 (patch) | |
tree | 2233000c45797cf07e84d8e3ed4b4f37aa16ace3 /gcc/configure | |
parent | 1d6ff15057c18d72b231f60e526273b41e362283 (diff) | |
download | gcc-3965b35f341cc99a10876518f707740a9e912a01.zip gcc-3965b35f341cc99a10876518f707740a9e912a01.tar.gz gcc-3965b35f341cc99a10876518f707740a9e912a01.tar.bz2 |
or1k: gcc: initial support for openrisc
2018-11-09 Stafford Horne <shorne@gmail.com>
Richard Henderson <rth@twiddle.net>
Joel Sherrill <joel@rtems.org>
* common/config/or1k/or1k-common.c: New file.
* config/or1k/*: New.
* config.gcc (or1k*-*-*): New.
* configure.ac (or1k*-*-*): New test for openrisc tls.
* configure: Regenerated.
* doc/install.texi: Document OpenRISC triplets.
* doc/invoke.texi: Document OpenRISC arguments.
* doc/md.texi: Document OpenRISC.
Co-Authored-By: Joel Sherrill <joel@rtems.org>
Co-Authored-By: Richard Henderson <rth@twiddle.net>
From-SVN: r265963
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure index b814484..8957362 100755 --- a/gcc/configure +++ b/gcc/configure @@ -24391,6 +24391,18 @@ foo: .long 25 tls_first_minor=20 tls_as_opt='--fatal-warnings' ;; + or1k*-*-*) + conftest_s=' + .section ".tdata","awT",@progbits +foo: .long 25 + .text + l.movhi r3, tpoffha(foo) + l.add r3, r3, r10 + l.lwz r4, tpofflo(foo)(r3)' + tls_first_major=2 + tls_first_minor=30 + tls_as_opt=--fatal-warnings + ;; powerpc-ibm-aix*) conftest_s=' .extern __get_tpointer |