]> git.ipfire.org Git - thirdparty/gcc.git/commit
revamp intelmic-mkoffload aux dump names
authorAlexandre Oliva <oliva@adacore.com>
Fri, 24 Jul 2020 18:38:40 +0000 (15:38 -0300)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:19:22 +0000 (13:19 -0300)
commit471cbf8ecf6efd6bd59a8b3c40e764b6d1ffb52d
treec1fa048d0d49f44486c6b209881fae4abfe57493
parent21ac20be6b12503b99dbd75dc2fd8de2aed5029f
revamp intelmic-mkoffload aux dump names

Rework intelmic-mkoffload into the new aux and dump file naming
semantics.  Obey -save-temps.

Co-Authored-By: Thomas Schwinge <thomas@codesourcery.com>
for  gcc/ChangeLog

* config/i386/intelmic-mkoffload.c
(generate_target_descr_file): Use dumppfx for save_temps
files.  Pass -dumpbase et al down to the compiler.
(generate_target_offloadend_file): Likewise.
(generate_host_descr_file): Likewise.
(prepare_target_image): Likewise.  Move out_obj_filename
setting...
(main): ... here.  Detect -dumpbase, set dumppfx too.
gcc/config/i386/intelmic-mkoffload.c