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 | 88a670df3ccef0b39df766483754536f2fd8d9e9 (patch) | |
tree | b339aa6cea6e476c1c4290e626766c29effb57f9 /bfd/stabs.c | |
parent | *** empty log message *** (diff) | |
download | binutils-gdb-88a670df3ccef0b39df766483754536f2fd8d9e9.tar.gz binutils-gdb-88a670df3ccef0b39df766483754536f2fd8d9e9.tar.bz2 binutils-gdb-88a670df3ccef0b39df766483754536f2fd8d9e9.zip |
(_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 eb610872330..25fae29ccc7 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) |