* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):

Use is_elf_hash_table rather than a handcoded condition.
This commit is contained in:
Maciej W. Rozycki 2013-05-01 17:18:43 +00:00
parent b9dd19477d
commit b4d040b158
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Use is_elf_hash_table rather than a handcoded condition.
2013-04-30 Nick Clifton <nickc@redhat.com>
* ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections

View File

@ -1483,7 +1483,7 @@ gld${EMULATION_NAME}_before_allocation (void)
asection *sinterp;
bfd *abfd;
if (link_info.hash->type == bfd_link_elf_hash_table)
if (is_elf_hash_table (link_info.hash))
_bfd_elf_tls_setup (link_info.output_bfd, &link_info);
/* If we are going to make any variable assignments, we need to let