* x86_64.cc (Target_x86_64::Scan::global): Fix erroneous call to

unsupported_relocal_local to call unsupported_reloc_global.
This commit is contained in:
Ian Lance Taylor 2012-08-15 04:03:54 +00:00
parent 486c773953
commit b1759dce03
2 changed files with 6 additions and 1 deletions

View 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

View 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: