------- Additional Comments From hjl dot tools at gmail dot com 2008-04-24 13:31 ------- Will this patch
--- elf64-x86-64.c.pie 2008-04-24 06:05:36.000000000 -0700 +++ elf64-x86-64.c 2008-04-24 06:29:08.000000000 -0700 @@ -1050,7 +1050,7 @@ elf64_x86_64_check_relocs (bfd *abfd, st goto create_got; case R_X86_64_TPOFF32: - if (info->shared) + if (!info->executable) { (*_bfd_error_handler) (_("%B: relocation %s against `%s' can not be used when making a shared object; recompile with -fPIC"), @@ -3211,7 +3211,7 @@ elf64_x86_64_relocate_section (bfd *outp break; case R_X86_64_TPOFF32: - BFD_ASSERT (! info->shared); + BFD_ASSERT (info->executable); relocation = tpoff (info, relocation); break; be enough for x86-64? -- http://sourceware.org/bugzilla/show_bug.cgi?id=6443 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils