[GOLD] Fix spurious "plugin needed to handle lto object" warnings
authorAlan Modra <amodra@gmail.com>
Fri, 20 Sep 2019 05:22:54 +0000 (14:52 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 20 Sep 2019 06:07:11 +0000 (15:37 +0930)
commit4c51dacacf8a97194a1241ad5e1cbf7be00a59a3
tree6f089a1e722057350343f53e8d96468ff3ca8b95
parente59a1001222d853f0517c7e974bb51589ba86710
[GOLD] Fix spurious "plugin needed to handle lto object" warnings

lto_slim_object_ was unitialized.  I also thought it worth adding
a sanity check on the .gnu.lto_.lto.* section size, and made some
other tidies.

PR 24768
* layout.cc (Layout::Layout): Init lto_slim_object_.
* object.cc (Sized_relobj_file::do_layout): Wrap overlong line.
Don't use C cast.  Validate section size.  Don't copy contents.
gold/ChangeLog
gold/layout.cc
gold/object.cc
This page took 0.032596 seconds and 4 git commands to generate.