re PR lto/88422 (collect2.exe: fatal error: lto-wrapper returned 1 exit status: file...
authorNidal Faour <nidal.faour@wdc.com>
Tue, 22 Jan 2019 09:47:52 +0000 (09:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 22 Jan 2019 09:47:52 +0000 (09:47 +0000)
commit4293cd6ed8dfd9f0eef8287e72372c55796f50da
tree783123db8cdcbbf1e67537a9a9dcabbc7daaa33d
parentbecba8a79fb0a29aea9a8e10a6c298a124336b92
re PR lto/88422 (collect2.exe: fatal error: lto-wrapper returned 1 exit status: file not recognized: file truncated)

2019-01-22  Nidal Faour  <nidal.faour@wdc.com>

PR lto/88422
* simple-object.c (O_BINARY): Define if not already defined.
(simple_object_copy_lto_debug_sections): Create file in binary
mode.

From-SVN: r268141
libiberty/ChangeLog
libiberty/simple-object.c