* x86_64.cc (Target_x86_64::Scan::global): Fix erroneous call to
authorIan Lance Taylor <ian@airs.com>
Wed, 15 Aug 2012 04:03:54 +0000 (04:03 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 15 Aug 2012 04:03:54 +0000 (04:03 +0000)
unsupported_relocal_local to call unsupported_reloc_global.

gold/ChangeLog
gold/x86_64.cc

index fd1952927e77e2f63e26a7390e375d6776871677..8d97813361153188625f678f7d275744fac937f8 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-14  Ian Lance Taylor  <iant@google.com>
+
+       * x86_64.cc (Target_x86_64::Scan::global): Fix erroneous call to
+       unsupported_relocal_local to call unsupported_reloc_global.
+
 2012-08-14  Nick Clifton  <nickc@redhat.com>
 
        PR ld/14265
index 2ac29bf0d45010d4e90287bfa3413db34c637d82..625aff80bfdc81d70fb55bf146211858a3600309 100644 (file)
@@ -3006,7 +3006,7 @@ Target_x86_64<size>::Scan::global(Symbol_table* symtab,
          case elfcpp::R_X86_64_TPOFF32:     // Local-exec
            layout->set_has_static_tls();
            if (parameters->options().shared())
-             unsupported_reloc_local(object, r_type);
+             unsupported_reloc_global(object, r_type, gsym);
            break;
 
          default: