diff options
-rw-r--r-- | tools/gold/gold-plugin.cpp | 4 | ||||
-rw-r--r-- | tools/gold/gold.exports | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index 1c99730d45..782a76b3f2 100644 --- a/tools/gold/gold-plugin.cpp +++ b/tools/gold/gold-plugin.cpp @@ -165,8 +165,8 @@ static ld_plugin_status claim_file_hook(const ld_plugin_input_file *file, static ld_plugin_status all_symbols_read_hook(void); static ld_plugin_status cleanup_hook(void); -extern "C" ld_plugin_status llvm_plugin_onload(ld_plugin_tv *tv); // @LOCALMOD -ld_plugin_status llvm_plugin_onload(ld_plugin_tv *tv) { // @LOCALMOD +extern "C" ld_plugin_status onload(ld_plugin_tv *tv); +ld_plugin_status onload(ld_plugin_tv *tv) { // We're given a pointer to the first transfer vector. We read through them // until we find one where tv_tag == LDPT_NULL. The REGISTER_* tagged values // contain pointers to functions that we need to call to register our own diff --git a/tools/gold/gold.exports b/tools/gold/gold.exports index 89d8640427..277a33a1ec 100644 --- a/tools/gold/gold.exports +++ b/tools/gold/gold.exports @@ -1 +1 @@ -llvm_plugin_onload +onload |