OSDN Git Service

2006-04-08 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl>
Sat, 8 Apr 2006 22:57:22 +0000 (22:57 +0000)
committerhjl <hjl>
Sat, 8 Apr 2006 22:57:22 +0000 (22:57 +0000)
commit6c95608de09312319e6854f522d877edd79902d6
tree65c28739cc50b20ca5ab64dfc126df1958ad5b0c
parent87b0717e7795187f6bcc9beb4643188de7b25a46
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