Re: Support .gnu.lto_.lto section in ELF files
authorAlan Modra <amodra@gmail.com>
Tue, 30 Jul 2019 03:44:36 +0000 (13:14 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 30 Jul 2019 03:47:16 +0000 (13:17 +0930)
PR 24768
* bfd.c (struct bfd): Add lto_slim_object flag.
* bfd-in2.h: Regenerate.

bfd/ChangeLog
bfd/bfd-in2.h
bfd/bfd.c

index 4258351..679ba42 100644 (file)
@@ -1,3 +1,9 @@
+2019-07-30  Alan Modra  <amodra@gmail.com>
+
+       PR 24768
+       * bfd.c (struct bfd): Add lto_slim_object flag.
+       * bfd-in2.h: Regenerate.
+
 2019-07-29  Martin Liska  <mliska@suse.cz>
 
        PR 24768
index 7e6dad7..cf44bd0 100644 (file)
@@ -7197,7 +7197,7 @@ struct bfd
   unsigned int lto_output : 1;
 
   /* Set if this is a slim LTO object not loaded with a compiler plugin.  */
-  unsigned int lto_slim_object: 1;
+  unsigned int lto_slim_object : 1;
 
   /* Set to dummy BFD created when claimed by a compiler plug-in
      library.  */
index afbc165..a9b224b 100644 (file)
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -236,6 +236,9 @@ CODE_FRAGMENT
 .  {* Set if this is a plugin output file.  *}
 .  unsigned int lto_output : 1;
 .
+.  {* Set if this is a slim LTO object not loaded with a compiler plugin.  *}
+.  unsigned int lto_slim_object : 1;
+.
 .  {* Set to dummy BFD created when claimed by a compiler plug-in
 .     library.  *}
 .  bfd *plugin_dummy_bfd;