From: Maciej W. Rozycki Date: Wed, 1 May 2013 17:18:43 +0000 (+0000) Subject: * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4d040b1587f567d00a4438d12c70d05f4e0ea1b;p=binutils-gdb.git * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use is_elf_hash_table rather than a handcoded condition. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 2c5a4c77c4a..39dc9e76872 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2013-05-01 Maciej W. Rozycki + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Use is_elf_hash_table rather than a handcoded condition. + 2013-04-30 Nick Clifton * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 83a554fa749..dae86052ad4 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