aboutsummaryrefslogtreecommitdiff
path: root/tools/gold/gold-plugin.cpp
diff options
context:
space:
mode:
authorRobert Muth <robertm@chromium.org>2012-07-31 16:25:05 -0700
committerDerek Schuff <dschuff@chromium.org>2012-07-31 16:25:05 -0700
commit3cede606023dce764d639e959f333ba5eac0e8e9 (patch)
tree580fee92dbee7f925149edb1735f93db8fb94094 /tools/gold/gold-plugin.cpp
parentcf90a95c58b80652832b10de3683945eb0a94f64 (diff)
revert CL http://codereview.chromium.org/8714005/
This is part of the pnacl toolchain shrinking effort. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2872 BUG= http://code.google.com/p/nativeclient/issues/detail?id=2286 TEST= manual REVIEW= http://codereview.chromium.org/10693177/
Diffstat (limited to 'tools/gold/gold-plugin.cpp')
-rw-r--r--tools/gold/gold-plugin.cpp4
1 files changed, 2 insertions, 2 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