PR82687, g++.dg/asan/default-options-1.C fails with PR82575 fix
authorAlan Modra <amodra@gmail.com>
Tue, 24 Oct 2017 12:45:01 +0000 (23:15 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 24 Oct 2017 12:45:01 +0000 (23:15 +1030)
commit160826fefd78b57a02adb87f9977b7fb31095084
treec72d263dff68680ad25620e43d5d51f190ada7b0
parent6a19d2a2ee10ae74b77e3f2c0d85be2cda38cd54
PR82687, g++.dg/asan/default-options-1.C fails with PR82575 fix

The problem with making discarded symbols hidden is that the
non-default visibility is sticky.  When symbols other than the
__gnu_lto ones are discarded that turns out to be a bad idea.

PR lto/82687
PR lto/82575
* simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
Only make __gnu_lto symbols hidden.  Delete outdated comment.
Silence ISO C warning.

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