Index: llvm/tools/gold/gold-plugin.cpp |
=================================================================== |
--- a/llvm/tools/gold/gold-plugin.cpp |
+++ b/llvm/tools/gold/gold-plugin.cpp |
@@ -152,8 +152,8 @@ |
static ld_plugin_status all_symbols_read_hook(void); |
static ld_plugin_status cleanup_hook(void); |
-extern "C" ld_plugin_status onload(ld_plugin_tv *tv); |
-ld_plugin_status onload(ld_plugin_tv *tv) { |
+extern "C" ld_plugin_status llvm_plugin_onload(ld_plugin_tv *tv); // @LOCALMOD |
+ld_plugin_status llvm_plugin_onload(ld_plugin_tv *tv) { // @LOCALMOD |
// 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 |