diff options
author | iverbin <iverbin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-09 22:44:16 +0000 |
---|---|---|
committer | iverbin <iverbin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-12-09 22:44:16 +0000 |
commit | e02afbb7ce6c8b6f74e37feda9704335e4e6cf44 (patch) | |
tree | c794771581c3a03e67a31e87a7be71285b56b08d /depcomp | |
parent | 5573be4f7d0e63bbfec395c15988d59c4ca11e06 (diff) | |
download | gcc-e02afbb7ce6c8b6f74e37feda9704335e4e6cf44.tar.gz |
gcc/
* lto-wrapper.c (compile_offload_image): Start processing in_argv
from 0 instead of 1.
(run_gcc): Put offload objects into offload_argv, put LTO objects and
possible preceding arguments into lto_argv.
Pass offload_argv to compile_images_for_offload_targets instead of argv.
Use lto_argv for LTO recompilation instead of argv.
lto-plugin/
* lto-plugin.c (offload_files, num_offload_files): New static variables.
(free_1): Use arguments instead of global variables.
(free_2): Free offload_files.
(all_symbols_read_handler): Add names from offload_files to lto-wrapper
arguments.
(claim_file_handler): Do not add file to claimed_files if it contains
offload sections without LTO sections. Add it to offload_files instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218543 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'depcomp')
0 files changed, 0 insertions, 0 deletions