OSDN Git Service

2006-04-08 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl@lucon.org>
Sat, 8 Apr 2006 22:57:22 +0000 (22:57 +0000)
committerH.J. Lu <hjl@lucon.org>
Sat, 8 Apr 2006 22:57:22 +0000 (22:57 +0000)
commitfb04ee31e57fb7ff1d95716f7a3ca4e1600e3a7a
tree51ca718c944f5be7f73ffe681236b3f4df391db5
parent7281b2a68d540bfcd0ffbbb099b2d65610c7aabb
2006-04-08  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2513
* elf32-i386.c (GOT_TLS_MASK): New macro for tls_type.
(GOT_TLS_IE_IE): Likewise.
(GOT_TLS_IE_GD): Likewise.
(GOT_TLS_IE_MASK): Likewise.
(elf_i386_check_relocs): For global symbols, set GOT_TLS_IE_GD
and GOT_TLS_IE_IE for R_386_TLS_GD and R_386_TLS_IE
respectively.
(allocate_dynrelocs): If both GOT_TLS_IE_IE and GOT_TLS_IE_GD
are set, treat tls_type as GOT_TLS_IE_BOTH.
(elf_i386_relocate_section): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c