summaryrefslogtreecommitdiff
path: root/gold/resolve.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2010-10-11 20:04:04 +0000
committerIan Lance Taylor <ian@airs.com>2010-10-11 20:04:04 +0000
commitac897c20f06ac2e7747d63b963abecd1bdb81368 (patch)
tree8bf66c491fbb2671761590264f0a15438f3e5fe7 /gold/resolve.cc
parent64b00020144068cbfbfcd921227073366b759654 (diff)
downloadbinutils-gdb-ac897c20f06ac2e7747d63b963abecd1bdb81368.tar.gz
* resolve.cc (symbol_to_bits): Report the value of the unsupported
binding.
Diffstat (limited to 'gold/resolve.cc')
-rw-r--r--gold/resolve.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/resolve.cc b/gold/resolve.cc
index 4864f1e13e6..a9a89fa65d6 100644
--- a/gold/resolve.cc
+++ b/gold/resolve.cc
@@ -195,7 +195,7 @@ symbol_to_bits(elfcpp::STB binding, bool is_dynamic,
default:
// Any target which wants to handle STB_LOOS, etc., needs to
// define a resolve method.
- gold_error(_("unsupported symbol binding"));
+ gold_error(_("unsupported symbol binding %d"), static_cast<int>(binding));
bits = global_flag;
}