nvptx mkoffload.
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 28 Jan 2015 17:03:44 +0000 (18:03 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 28 Jan 2015 17:03:44 +0000 (18:03 +0100)
commit1f83528e3e0c750c5c62f7148e4bfc3169084208
tree6ad10e63b88402af4391efa1c162aef1fc8ebf4e
parent26586d771d2e0c7329c656c8f9a39c8151b53d44
nvptx mkoffload.

gcc/
* config/nvptx/mkoffload.c: New file.
* config/nvptx/t-nvptx: Add build rules for it.
* config.gcc <nvptx-*> [$enable_as_accelerator = yes]
(extra_programs): Add mkoffload.
* config/nvptx/nvptx.c (nvptx_record_offload_symbol): New
function.
(TARGET_RECORD_OFFLOAD_SYMBOL): Define macro to use it.

Co-Authored-By: Bernd Schmidt <bernds@codesourcery.com>
Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>
From-SVN: r220209
gcc/ChangeLog
gcc/config.gcc
gcc/config/nvptx/mkoffload.c [new file with mode: 0644]
gcc/config/nvptx/nvptx.c
gcc/config/nvptx/t-nvptx