bug-binutils
[Top][All Lists]
Advanced

[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:56:27 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2008-04-24 
13:56 -------
Subject: Re:  -pie issues with TLS relocations

On Thu, Apr 24, 2008 at 6:46 AM, jakub at redhat dot com
<address@hidden> wrote:
>
>  ------- Additional Comments From jakub at redhat dot com  2008-04-24 13:46 
> -------
>  That's certainly not enough, see the testcase I've provided.  There are 
> various
>  relocations:
>  0000000000000003  0000000b00000016 R_X86_64_GOTTPOFF      0000000000000008 c 
> +
>  fffffffffffffffc
>  000000000000000c  0000000c00000017 R_X86_64_TPOFF32       0000000000000000 a 
> + 0
>  0000000000000014  0000000d00000017 R_X86_64_TPOFF32       0000000000000004 b 
> + 0
>  000000000000001e  0000000e00000014 R_X86_64_TLSLD         000000000000000c d 
> +
>  fffffffffffffffc
>  0000000000000023  0000000f00000004 R_X86_64_PLT32         0000000000000000
>  __tls_get_addr + fffffffffffffffc
>  0000000000000029  0000000e00000015 R_X86_64_DTPOFF32      000000000000000c d 
> + 0
>  0000000000000031  0000001000000013 R_X86_64_TLSGD         0000000000000010 e 
> +
>  fffffffffffffffc
>  0000000000000039  0000000f00000004 R_X86_64_PLT32         0000000000000000
>  __tls_get_addr + fffffffffffffffc
>  and all of them can and should be in a PIE transitioned to the fastest,
>  local-exec, ones, as all resolve to a symbol within the PIE.
>

Please add testcases to your patch to make sure that only necessary changes
are included.


-- 


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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]