aboutsummaryrefslogtreecommitdiff
path: root/gold/x86_64.cc
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/x86_64.cc
parent486c773953923a1317452b6a29ff48ba1c56519d (diff)
downloadgdb-b1759dce03dd4d47a5ae801ad981ab682cd99147.zip
gdb-b1759dce03dd4d47a5ae801ad981ab682cd99147.tar.gz
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/x86_64.cc')
-rw-r--r--gold/x86_64.cc2
1 files changed, 1 insertions, 1 deletions
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: