From ac897c20f06ac2e7747d63b963abecd1bdb81368 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 11 Oct 2010 20:04:04 +0000 Subject: [PATCH] * resolve.cc (symbol_to_bits): Report the value of the unsupported binding. --- gold/ChangeLog | 5 +++++ gold/resolve.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index 07ee75303d6..71a0fd55e4b 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2010-10-11 Ian Lance Taylor + + * resolve.cc (symbol_to_bits): Report the value of the unsupported + binding. + 2010-10-06 Nick Clifton * script-sections.cc(class Memory_region): Remove 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(binding)); bits = global_flag; } -- 2.30.2