diff options
author | Nick Clifton <nickc@redhat.com> | 2005-12-29 10:29:23 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-12-29 10:29:23 +0000 |
commit | 867d214f9b54ca56701c67aa040f41b38c892952 (patch) | |
tree | efcd5f7cf69f3a2c7d464915fd369897c953ce5f /bfd/stabs.c | |
parent | 58a1e044d11c7719d92f4531d7b13449645b95b8 (diff) | |
download | binutils-redhat-867d214f9b54ca56701c67aa040f41b38c892952.tar.gz |
(_bfd_link_section_stabs): Use bfd_hash_table_init rather than
bfd_hash_table_init_n(...,251) so that the size of the hash table can be
controlled by the user.
Diffstat (limited to 'bfd/stabs.c')
-rw-r--r-- | bfd/stabs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/stabs.c b/bfd/stabs.c index eb61087233..25fae29ccc 100644 --- a/bfd/stabs.c +++ b/bfd/stabs.c @@ -194,9 +194,8 @@ _bfd_link_section_stabs (bfd *abfd, goto error_return; /* Make sure the first byte is zero. */ (void) _bfd_stringtab_add (sinfo->strings, "", TRUE, TRUE); - if (! bfd_hash_table_init_n (&sinfo->includes, - stab_link_includes_newfunc, - 251)) + if (! bfd_hash_table_init (&sinfo->includes, + stab_link_includes_newfunc)) goto error_return; sinfo->stabstr = bfd_make_section_anyway (abfd, ".stabstr"); if (sinfo->stabstr == NULL) |