blob: c58cdcf0d3fe5878f13827b0ce2f566b4f15324a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- bfd/elfxx-mips.c.orig 2010-09-04 14:21:35.000000000 +0800
+++ bfd/elfxx-mips.c 2010-09-04 14:22:14.000000000 +0800
@@ -2772,7 +2772,7 @@
= (struct mips_elf_link_hash_entry *) arg1;
struct mips_elf_count_tls_arg *arg = arg2;
- if (hm->tls_type & GOT_TLS_GD)
+ if (hm->tls_type & (GOT_TLS_GD | GOT_TLS_LDM))
arg->needed += 2;
if (hm->tls_type & GOT_TLS_IE)
arg->needed += 1;
|