summaryrefslogtreecommitdiff
path: root/gcc/collect-utils.h
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2020-10-20 12:14:03 +0200
committerTobias Burnus <tobias@codesourcery.com>2020-10-20 12:14:03 +0200
commitb3032d1b84b8ab683f2d7345b6a2d9f783fe946d (patch)
tree2345e5f70560519d7a5fa83cd65ef61e147ee797 /gcc/collect-utils.h
parent00b355522b7843f4d9d93172aa7521b223b77587 (diff)
downloadgcc-b3032d1b84b8ab683f2d7345b6a2d9f783fe946d.tar.gz
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.
Diffstat (limited to 'gcc/collect-utils.h')
-rw-r--r--gcc/collect-utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/collect-utils.h b/gcc/collect-utils.h
index 6ff7d9d96df..482225764a9 100644
--- a/gcc/collect-utils.h
+++ b/gcc/collect-utils.h
@@ -27,10 +27,10 @@ extern void fatal_signal (int);
extern struct pex_obj *collect_execute (const char *, char **,
const char *, const char *,
- int, bool);
+ int, bool, const char *);
extern int collect_wait (const char *, struct pex_obj *);
extern void do_wait (const char *, struct pex_obj *);
-extern void fork_execute (const char *, char **, bool);
+extern void fork_execute (const char *, char **, bool, const char *);
extern void utils_cleanup (bool);