mkoffload.c (process): Constify target data.
authorNathan Sidwell <nathan@gcc.gnu.org>
Fri, 17 Jul 2015 14:07:53 +0000 (14:07 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 17 Jul 2015 14:07:53 +0000 (14:07 +0000)
commitafb2d80bc57bddd52bb04869861bf40503a3e89d
tree3a591547ebc3f82173daf445721700e8d3d79d4d
parent996d027a36c646fbb0098e96c83dbb4c0ea5133d
mkoffload.c (process): Constify target data.

gcc/
* config/nvptx/mkoffload.c (process): Constify target data.
* config/i386/intelmic-mkoffload.c (generate_target_descr_file):
Constify target data.
(generate_target_offloadend_file): Likewise.

libgomp/
* libgomp.h (gomp_device_descr): Constify target data arguments.
* target.c (struct offload_image_descr): Constify target_data.
(gomp_offload_image_to_device): Likewise.
(GOMP_offload_register): Likewise.
(GOMP_offload_unrefister): Likewise.
* plugin/plugin-host.c (GOMP_OFFLOAD_load_image,
GOMP_OFFLOAD_unload_image): Constify target data.
* plugin/plugin-nvptx.c (struct ptx_image_data): Constify target data.
(GOMP_OFFLOAD_load_image, GOMP_OFFLOAD_unload_image): Likewise.

liboffloadmic/
* plugin/libgomp-plugin-intelmic.cpp (ImgDevAddrMap): Constify.
(offload_image, GOMP_OFFLOAD_load_image,
OMP_OFFLOAD_unload_image): Constify target data.

From-SVN: r225936
gcc/ChangeLog
gcc/config/i386/intelmic-mkoffload.c
gcc/config/nvptx/mkoffload.c
libgomp/ChangeLog
libgomp/libgomp.h
libgomp/plugin/plugin-host.c
libgomp/plugin/plugin-nvptx.c
libgomp/target.c
liboffloadmic/ChangeLog
liboffloadmic/plugin/libgomp-plugin-intelmic.cpp