aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/elf32.em
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2013-05-01 17:18:43 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2013-05-01 17:18:43 +0000
commitb4d040b1587f567d00a4438d12c70d05f4e0ea1b (patch)
treed3bb192a5de7e5b4c6604082b9bc0b0d094234dc /ld/emultempl/elf32.em
parentb9dd19477d46d51f4de800bf4cb5dcf1ed90d3a3 (diff)
downloadgdb-b4d040b1587f567d00a4438d12c70d05f4e0ea1b.zip
gdb-b4d040b1587f567d00a4438d12c70d05f4e0ea1b.tar.gz
gdb-b4d040b1587f567d00a4438d12c70d05f4e0ea1b.tar.bz2
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Use is_elf_hash_table rather than a handcoded condition.
Diffstat (limited to 'ld/emultempl/elf32.em')
-rw-r--r--ld/emultempl/elf32.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index 83a554f..dae8605 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