summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/gold/gold-plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp
index d6eb7a207c8..ebd6260d9b7 100644
--- a/llvm/tools/gold/gold-plugin.cpp
+++ b/llvm/tools/gold/gold-plugin.cpp
@@ -384,7 +384,7 @@ ld_plugin_status onload(ld_plugin_tv *tv) {
// required version, this should be changed to:
// get_wrap_symbols = tv->tv_u.tv_get_wrap_symbols;
get_wrap_symbols =
- (ld_plugin_get_wrap_symbols)tv->tv_u.tv_register_new_input;
+ (ld_plugin_get_wrap_symbols)tv->tv_u.tv_message;
break;
default:
break;
OpenPOWER on IntegriCloud