bfd/
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 19 Jun 2009 16:00:33 +0000 (16:00 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 19 Jun 2009 16:00:33 +0000 (16:00 +0000)
commit4c5448074d6fce6d6c0bbaba75c4bba3f16db786
treed4dd76714916a90e0c21847de3524735e0a56463
parent5d2c29b8d19dc84f75bfa2ce0e2f334f17b5b2e7
bfd/

2009-06-19  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_tls_transition): Add a parameter,
r_symndx.  Report local symbol name on error.
(elf_i386_check_relocs): Updated.  Report local symbol name on
error.
(elf_i386_gc_sweep_hook): Updated.
(elf_i386_relocate_section): Likewise.

* elf64-x86-64.c (elf64_x86_64_tls_transition): Add a parameter,
r_symndx.  Report local symbol name on error.
(elf64_x86_64_check_relocs): Updated.  Report local symbol name
on error.
(elf64_x86_64_gc_sweep_hook): Updated.
(elf64_x86_64_relocate_section): Likewise.

ld/testsuite/

2009-06-19  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/i386.exp: Run tlsgd2.

* ld-i386/tlsgd2.d: New.
* ld-i386/tlsgd2.s: Likewise.

* ld-x86-64/tlsgd3.d: Updated.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-i386/tlsgd2.d [new file with mode: 0644]
ld/testsuite/ld-i386/tlsgd2.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/tlsgd3.d