From b1759dce03dd4d47a5ae801ad981ab682cd99147 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 15 Aug 2012 04:03:54 +0000 Subject: [PATCH] * x86_64.cc (Target_x86_64::Scan::global): Fix erroneous call to unsupported_relocal_local to call unsupported_reloc_global. --- gold/ChangeLog | 5 +++++ gold/x86_64.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index fd1952927e7..8d978133611 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2012-08-14 Ian Lance Taylor + + * 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 PR ld/14265 diff --git a/gold/x86_64.cc b/gold/x86_64.cc index 2ac29bf0d45..625aff80bfd 100644 --- a/gold/x86_64.cc +++ b/gold/x86_64.cc @@ -3006,7 +3006,7 @@ Target_x86_64::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: -- 2.30.2