bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Tue, 28 Feb 2006 07:16:12 +0000 (07:16 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Tue, 28 Feb 2006 07:16:12 +0000 (07:16 +0000)
commit5ae0bfb60a576344d7f701605346282c1144499e
tree65e12d2ad3279a32dbaa7e1289beae61049b1fed
parentcc10cae34af928d41c47ed1014abafde99165c28
bfd/
* elf32-i386.c (elf_i386_link_hash_table): Add next_tls_desc_index.
(elf_i386_link_hash_table_create): Initialize it.
(elf_i386_compute_jump_table_size): Use it instead of
srelplt->reloc_count.
(allocate_dynrelocs): Likewise.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise.

ld/testsuite/
* ld-i386/emit-relocs.s, ld-i386/emit-relocs.d: New test.
* ld-i386/i386.exp: Run it.
bfd/ChangeLog
bfd/elf32-i386.c
ld/testsuite/ChangeLog
ld/testsuite/ld-i386/emit-relocs.d [new file with mode: 0644]
ld/testsuite/ld-i386/emit-relocs.s [new file with mode: 0644]
ld/testsuite/ld-i386/i386.exp