public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/marxin/heads/lto-plugin-supports-get_symbols_v3)] lto-plugin: add support for feature detection
Date: Wed,  4 May 2022 12:17:27 +0000 (GMT)	[thread overview]
Message-ID: <20220504121727.7F82B3857364@sourceware.org> (raw)

https://gcc.gnu.org/g:ac20a4285c8bce7796f786dcb429eae0fea22bf7

commit ac20a4285c8bce7796f786dcb429eae0fea22bf7
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Mar 1 12:27:45 2022 +0100

    lto-plugin: add support for feature detection
    
    lto-plugin/ChangeLog:
    
            * lto-plugin.c (supports_get_symbols_v3): Add symbol.

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 47378435612..049f3841d5b 100644
--- a/lto-plugin/lto-plugin.c
+++ b/lto-plugin/lto-plugin.c
@@ -1554,3 +1554,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_v3;


             reply	other threads:[~2022-05-04 12:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04 12:17 Martin Liska [this message]
2022-05-04 12:41 Martin Liska

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220504121727.7F82B3857364@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).