collect-utils.c, lto-wrapper + mkoffload: Improve -save-temps filename
authorTobias Burnus <tobias@codesourcery.com>
Tue, 20 Oct 2020 10:14:03 +0000 (12:14 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 20 Oct 2020 10:14:03 +0000 (12:14 +0200)
commitb3032d1b84b8ab683f2d7345b6a2d9f783fe946d
tree2345e5f70560519d7a5fa83cd65ef61e147ee797
parent00b355522b7843f4d9d93172aa7521b223b77587
collect-utils.c, lto-wrapper + mkoffload: Improve -save-temps filename

gcc/ChangeLog:

* collect-utils.c (collect_execute, fork_execute): Add at-file suffix
argument.
* collect-utils.h (collect_execute, fork_execute): Update prototype.
* collect2.c (maybe_run_lto_and_relink, do_link, main, do_dsymutil):
Update calls by passing NULL.
* config/i386/intelmic-mkoffload.c (compile_for_target,
generate_host_descr_file, prepare_target_image, main): Likewise.
* config/gcn/mkoffload.c (compile_native, main): Pass at-file suffix.
* config/nvptx/mkoffload.c (compile_native, main): Likewise.
* lto-wrapper.c (compile_offload_image): Likewise.
gcc/collect-utils.c
gcc/collect-utils.h
gcc/collect2.c
gcc/config/gcn/mkoffload.c
gcc/config/i386/intelmic-mkoffload.c
gcc/config/nvptx/mkoffload.c
gcc/lto-wrapper.c