diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2014-11-10 16:12:42 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2014-11-10 16:12:42 +0000 |
commit | 738f25224b78c40ba48d6debd95946bf73f89e53 (patch) | |
tree | 64dd54686832409d0db5195b6155c4b408fed0d0 /gcc/config.gcc | |
parent | c81b4a0e83c8577ba09767ded86f715b6fcd21b4 (diff) | |
download | gcc-738f25224b78c40ba48d6debd95946bf73f89e53.zip gcc-738f25224b78c40ba48d6debd95946bf73f89e53.tar.gz gcc-738f25224b78c40ba48d6debd95946bf73f89e53.tar.bz2 |
Add the nvptx port.
* configure.ac: Handle nvptx-*-*.
* configure: Regenerate.
gcc/
* config/nvptx/nvptx.c: New file.
* config/nvptx/nvptx.h: New file.
* config/nvptx/nvptx-protos.h: New file.
* config/nvptx/nvptx.md: New file.
* config/nvptx/t-nvptx: New file.
* config/nvptx/nvptx.opt: New file.
* common/config/nvptx/nvptx-common.c: New file.
* config.gcc: Handle nvptx-*-*.
libgcc/
* config.host: Handle nvptx-*-*.
* shared-object.mk (as-flags-$o): Define.
($(base)$(objext), $(base)_s$(objext)): Use it instead of
-xassembler-with-cpp.
* static-object.mk: Identical changes.
* config/nvptx/t-nvptx: New file.
* config/nvptx/crt0.s: New file.
* config/nvptx/free.asm: New file.
* config/nvptx/malloc.asm: New file.
* config/nvptx/realloc.c: New file.
From-SVN: r217295
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 7afe5a7..2284b9e 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -422,6 +422,9 @@ nios2-*-*) cpu_type=nios2 extra_options="${extra_options} g.opt" ;; +nvptx-*-*) + cpu_type=nvptx + ;; powerpc*-*-*) cpu_type=rs6000 extra_headers="ppc-asm.h altivec.h spe.h ppu_intrinsics.h paired.h spu2vmx.h vec_types.h si2vmx.h htmintrin.h htmxlintrin.h" @@ -2153,6 +2156,10 @@ nios2-*-*) ;; esac ;; +nvptx-*) + tm_file="${tm_file} newlib-stdint.h" + tmake_file="nvptx/t-nvptx" + ;; pdp11-*-*) tm_file="${tm_file} newlib-stdint.h" use_gcc_stdint=wrap |