[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/6443] -pie issues with TLS relocations
From: |
hjl dot tools at gmail dot com |
Subject: |
[Bug ld/6443] -pie issues with TLS relocations |
Date: |
24 Apr 2008 13:31:57 -0000 |
------- 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 ld/6443] New: -pie issues with TLS relocations, jakub at redhat dot com, 2008/04/22
- [Bug ld/6443] -pie issues with TLS relocations, jakub at redhat dot com, 2008/04/22
- [Bug ld/6443] -pie issues with TLS relocations, jakub at redhat dot com, 2008/04/22
- [Bug ld/6443] -pie issues with TLS relocations, amodra at bigpond dot net dot au, 2008/04/22
- [Bug ld/6443] -pie issues with TLS relocations, hjl dot tools at gmail dot com, 2008/04/24
- [Bug ld/6443] -pie issues with TLS relocations, jakub at redhat dot com, 2008/04/24
- [Bug ld/6443] -pie issues with TLS relocations, hjl dot tools at gmail dot com, 2008/04/24
- [Bug ld/6443] -pie issues with TLS relocations,
hjl dot tools at gmail dot com <=
- [Bug ld/6443] -pie issues with TLS relocations, jakub at redhat dot com, 2008/04/24
- [Bug ld/6443] -pie issues with TLS relocations, hjl dot tools at gmail dot com, 2008/04/24