re PR lto/81968 (early lto debug objects make Solaris ld SEGV)
authorRichard Biener <rguenther@suse.de>
Mon, 28 Aug 2017 13:14:28 +0000 (13:14 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 28 Aug 2017 13:14:28 +0000 (13:14 +0000)
commit1963f60adb1ea775220cc92e0c644bbb59ad3191
tree468a5aa424ddfc53e2b966ef4d156d2317cb306d
parent950904f8b72516e48a3edbec13c6d3fdcff82312
re PR lto/81968 (early lto debug objects make Solaris ld SEGV)

2017-08-28  Richard Biener  <rguenther@suse.de>

PR lto/81968
* simple-object-elf.c (simple_object_elf_copy_lto_debug_section):
Adjust field with for sh_type write, set SHF_EXCLUDE only for
removed sections.

From-SVN: r251384
libiberty/ChangeLog
libiberty/simple-object-elf.c