Copy from GCC: Add linker_output as prefix for LTO temps (PR lto/86548).
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jul 2018 12:13:14 +0000 (12:13 +0000)
committerRichard Earnshaw <Richard.Earnshaw@arm.com>
Wed, 1 Aug 2018 13:23:10 +0000 (14:23 +0100)
commit50320b1d4a1dd06db70aeea485e0ffd9871548e0
tree989746aec38b2b02a23672dedaf33b7b5594efc2
parenta67ae9b01af7eb2b1f8e5c517338a4b12167ce40
Copy from GCC: Add linker_output as prefix for LTO temps (PR lto/86548).

2018-07-26  Martin Liska  <mliska@suse.cz>

        PR lto/86548
* libiberty.h (make_temp_file_with_prefix): New function.
2018-07-26  Martin Liska  <mliska@suse.cz>

        PR lto/86548
* make-temp-file.c (TEMP_FILE): Remove leading 'cc'.
(make_temp_file): Call make_temp_file_with_prefix with
        first argument set to NULL.
(make_temp_file_with_prefix): Support also prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262999 138bc75d-0d04-0410-961f-82ee72b054a4
include/ChangeLog
include/libiberty.h
libiberty/ChangeLog
libiberty/make-temp-file.c