From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 086553858C78; Tue, 1 Mar 2022 11:28:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 086553858C78 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/lto-plugin-get_symbols_v3)] Add support for feature detection. X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/users/marxin/heads/lto-plugin-get_symbols_v3 X-Git-Oldrev: aaa7b979aaeaa2b39d86f264df0007f76d37628e X-Git-Newrev: 1f942882b14228c9a89b7a982fb848d82d2403e8 Message-Id: <20220301112801.086553858C78@sourceware.org> Date: Tue, 1 Mar 2022 11:28:01 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2022 11:28:01 -0000 https://gcc.gnu.org/g:1f942882b14228c9a89b7a982fb848d82d2403e8 commit 1f942882b14228c9a89b7a982fb848d82d2403e8 Author: Martin Liska Date: Tue Mar 1 12:27:45 2022 +0100 Add support for feature detection. Diff: --- lto-plugin/lto-plugin.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c index 1dd1485a1b6..4f813ee3678 100644 --- a/lto-plugin/lto-plugin.c +++ b/lto-plugin/lto-plugin.c @@ -1574,3 +1574,8 @@ onload (struct ld_plugin_tv *tv) return LDPS_OK; } + +/* The following symbols are used for dynamic detection of plug-in features + from linker side. */ + +bool supports_get_symbols_v4;