summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorccoutant <ccoutant@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-26 23:32:13 +0000
committerccoutant <ccoutant@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-26 23:32:13 +0000
commit17f036adb68e635c0e7221cc583df42d567475ca (patch)
treeba5708f4f1b3afdacb08a80b7c1c07c38a298d1e /include
parent3329144ee9213f47f0daba96531a02f030296661 (diff)
downloadgcc-17f036adb68e635c0e7221cc583df42d567475ca.tar.gz
PR lto/47247
* plugin-api.h (enum ld_plugin_symbol_resolution): Add LDPR_PREVAILING_DEF_IRONLY_EXP. (enum ld_plugin_tag): Add LDPT_GET_SYMBOLS_V2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179220 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog7
-rw-r--r--include/plugin-api.h11
2 files changed, 16 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 63feb8356ce..3cc89960688 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,10 @@
+2011-09-26 Cary Coutant <ccoutant@google.com>
+
+ PR lto/47247
+ * plugin-api.h (enum ld_plugin_symbol_resolution): Add
+ LDPR_PREVAILING_DEF_IRONLY_EXP.
+ (enum ld_plugin_tag): Add LDPT_GET_SYMBOLS_V2.
+
2011-09-23 Cary Coutant <ccoutant@google.com>
PR 40831
diff --git a/include/plugin-api.h b/include/plugin-api.h
index df0039372f3..122424c6cb7 100644
--- a/include/plugin-api.h
+++ b/include/plugin-api.h
@@ -155,7 +155,13 @@ enum ld_plugin_symbol_resolution
LDPR_RESOLVED_EXEC,
/* This symbol was resolved by a definition in a shared object. */
- LDPR_RESOLVED_DYN
+ LDPR_RESOLVED_DYN,
+
+ /* This is the prevailing definition of the symbol, with no
+ references from regular objects. It is only referenced from IR
+ code, but the symbol is exported and may be referenced from
+ a dynamic object (not seen at link time). */
+ LDPR_PREVAILING_DEF_IRONLY_EXP
};
/* The plugin library's "claim file" handler. */
@@ -347,7 +353,8 @@ enum ld_plugin_tag
LDPT_GET_INPUT_SECTION_NAME,
LDPT_GET_INPUT_SECTION_CONTENTS,
LDPT_UPDATE_SECTION_ORDER,
- LDPT_ALLOW_SECTION_ORDERING
+ LDPT_ALLOW_SECTION_ORDERING,
+ LDPT_GET_SYMBOLS_V2
};
/* The plugin transfer vector. */