aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2012-08-15 04:03:54 +0000
committerIan Lance Taylor <ian@airs.com>2012-08-15 04:03:54 +0000
commitb1759dce03dd4d47a5ae801ad981ab682cd99147 (patch)
tree19c1d9ef47a34d15c8ad8617f460217ab9ae8a5a /gold
parent486c773953923a1317452b6a29ff48ba1c56519d (diff)
downloadfsf-binutils-gdb-b1759dce03dd4d47a5ae801ad981ab682cd99147.zip
fsf-binutils-gdb-b1759dce03dd4d47a5ae801ad981ab682cd99147.tar.gz
fsf-binutils-gdb-b1759dce03dd4d47a5ae801ad981ab682cd99147.tar.bz2
* x86_64.cc (Target_x86_64::Scan::global): Fix erroneous call to
unsupported_relocal_local to call unsupported_reloc_global.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/x86_64.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index fd19529..8d97813 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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
diff --git a/gold/x86_64.cc b/gold/x86_64.cc
index 2ac29bf..625aff8 100644
--- a/gold/x86_64.cc
+++ b/gold/x86_64.cc
@@ -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: