* resolve.cc (symbol_to_bits): Report the value of the unsupported
authorIan Lance Taylor <ian@airs.com>
Mon, 11 Oct 2010 20:04:04 +0000 (20:04 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 11 Oct 2010 20:04:04 +0000 (20:04 +0000)
binding.

gold/ChangeLog
gold/resolve.cc

index 07ee75303d665847d57c908f9bae521e99b8602f..71a0fd55e4b8c3e34fa2cfd0798602c4609b60b0 100644 (file)
@@ -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
index 4864f1e13e62cad327c23cb6126e24b6af06884c..a9a89fa65d68dfee86dffafebd212abdbd30f9a3 100644 (file)
@@ -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;
     }