diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2013-05-01 17:18:43 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2013-05-01 17:18:43 +0000 |
commit | 4c147afe1796611c431aa86ea12342c1d80c2c4b (patch) | |
tree | 0ee40c1e25e3d8dcca64ae0a39f5527bb5696d49 | |
parent | 8086ed6401a882dbd4169e4bcc0d08614088494e (diff) | |
download | binutils-redhat-4c147afe1796611c431aa86ea12342c1d80c2c4b.tar.gz |
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Use is_elf_hash_table rather than a handcoded condition.
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emultempl/elf32.em | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 2c5a4c77c4..39dc9e7687 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 83a554fa74..dae86052ad 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -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 |