aboutsummaryrefslogtreecommitdiff
path: root/bfd/sunos.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/sunos.c')
-rw-r--r--bfd/sunos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/sunos.c b/bfd/sunos.c
index a180f2f..74ab1eb 100644
--- a/bfd/sunos.c
+++ b/bfd/sunos.c
@@ -1155,6 +1155,8 @@ bfd_sunos_get_needed_list (abfd, info)
bfd *abfd;
struct bfd_link_info *info;
{
+ if (info->hash->creator != &MY(xvec))
+ return NULL;
return sunos_hash_table (info)->needed;
}