On Mon, Dec 14, 2015 at 08:17:33PM +0300, Ilya Verbin wrote:
> Here is an updated patch.  Now MSB is set in both tables, and
> gomp_unload_image_from_device is changed.  I've verified using simple DSO
> testcase, that memory on target is freed after dlclose.
> bootstrap and make check on x86_64-linux passed.
> 
> gcc/c-family/
>       * c-common.c (c_common_attribute_table): Handle "omp declare target
>       link" attribute.
> gcc/
>       * cgraphunit.c (output_in_order): Do not assemble "omp declare target
>       link" variables in ACCEL_COMPILER.
>       * gimplify.c (gimplify_adjust_omp_clauses): Do not remove mapping of
>       "omp declare target link" variables.
>       * lto/lto.c: Include stringpool.h and fold-const.h.
>       (offload_handle_link_vars): New static function.
>       (lto_main): Call offload_handle_link_vars.

lto/ has its own ChangeLog file, so please move the entry there and remove
the lto/ prefix.

Ok with that change, thanks.

        Jakub

Reply via email to