From 34d5c40a07be4bc195d5ed9aecf4eb2faa1482bc Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 30 Jul 2019 13:14:36 +0930 Subject: [PATCH] Re: Support .gnu.lto_.lto section in ELF files PR 24768 * bfd.c (struct bfd): Add lto_slim_object flag. * bfd-in2.h: Regenerate. --- bfd/ChangeLog | 6 ++++++ bfd/bfd-in2.h | 2 +- bfd/bfd.c | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 42583517926..679ba42aaf0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2019-07-30 Alan Modra + + PR 24768 + * bfd.c (struct bfd): Add lto_slim_object flag. + * bfd-in2.h: Regenerate. + 2019-07-29 Martin Liska PR 24768 diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 7e6dad78d45..cf44bd07514 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -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. */ diff --git a/bfd/bfd.c b/bfd/bfd.c index afbc1651c20..a9b224b925a 100644 --- 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; -- 2.30.2