summaryrefslogtreecommitdiff
path: root/gold
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
commit9a333d3691816f5b5fc69bd5b9dc0710db5fd777 (patch)
treef4491b38060c4ad2cedb5975b2688d49fced505a /gold
parent2fb9b76710befd0598889e510d6ac82e4f1411ee (diff)
downloadbinutils-redhat-9a333d3691816f5b5fc69bd5b9dc0710db5fd777.tar.gz
* resolve.cc (symbol_to_bits): Report the value of the unsupported
binding.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/resolve.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 07ee75303d..71a0fd55e4 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-11 Ian Lance Taylor <iant@google.com>
+
+ * resolve.cc (symbol_to_bits): Report the value of the unsupported
+ binding.
+
2010-10-06 Nick Clifton <nickc@redhat.com>
* script-sections.cc(class Memory_region): Remove
diff --git a/gold/resolve.cc b/gold/resolve.cc
index 4864f1e13e..a9a89fa65d 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;
}