diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2014-11-10 16:12:42 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@codesourcery.com> | 2014-11-10 16:12:42 +0000 |
commit | 0b3c28c211a323520d03d9caca32776752f6521f (patch) | |
tree | 64dd54686832409d0db5195b6155c4b408fed0d0 /libgcc/config.host | |
parent | 90473abebbda19222f3d286f71bc4459722ef083 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@217295 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config.host')
-rw-r--r-- | libgcc/config.host | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgcc/config.host b/libgcc/config.host index f3cc2765583..9903d153792 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -1256,6 +1256,10 @@ mep*-*-*) tmake_file="mep/t-mep t-fdpbit" extra_parts="crtbegin.o crtend.o" ;; +nvptx-*) + tmake_file="$tmake_file nvptx/t-nvptx" + extra_parts="crt0.o" + ;; *) echo "*** Configuration ${host} not supported" 1>&2 exit 1 |