* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
authorMaciej W. Rozycki <macro@linux-mips.org>
Wed, 1 May 2013 17:18:43 +0000 (17:18 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Wed, 1 May 2013 17:18:43 +0000 (17:18 +0000)
Use is_elf_hash_table rather than a handcoded condition.

ld/ChangeLog
ld/emultempl/elf32.em

index 2c5a4c77c4a87176b8287f090fcb8ee2e3d98436..39dc9e7687259eda4a357501e5106deb2e482858 100644 (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
index 83a554fa7495e169e02f9157ac7bffc1609282b7..dae86052ad46d36bc6ca1d015898d347ccea344c 100644 (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
This page took 0.027189 seconds and 4 git commands to generate.