aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2011-09-27 00:01:35 +0000
committerDJ Delorie <dj@redhat.com>2011-09-27 00:01:35 +0000
commit79df06c40d5e4c0182d25075d463e861d7e8c930 (patch)
treeb64cb8f3dafd496db7c82cd5d6a36dee742c7dc8 /include
parent130479b708349de318ddc724b6bdd66efeefe73a (diff)
downloadgdb-79df06c40d5e4c0182d25075d463e861d7e8c930.zip
gdb-79df06c40d5e4c0182d25075d463e861d7e8c930.tar.gz
gdb-79df06c40d5e4c0182d25075d463e861d7e8c930.tar.bz2
merge from gcc
Diffstat (limited to 'include')
-rw-r--r--include/plugin-api.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/plugin-api.h b/include/plugin-api.h
index df00393..122424c 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. */