From: Ian Lance Taylor Date: Tue, 18 Mar 1997 16:39:38 +0000 (+0000) Subject: fix tipo in comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=724a4c0d4631905ea3196cf19dbd89f811f66d59;p=binutils-gdb.git fix tipo in comment --- diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c index 64cc0f879e9..92c7056e847 100644 --- a/bfd/xcofflink.c +++ b/bfd/xcofflink.c @@ -3418,7 +3418,7 @@ bfd_xcoff_size_dynamic_sections (output_bfd, info, libpath, entry, xcoff_data (sub)->debug_indices = debug_index; /* Grab the contents of the .debug section. We use malloc and - copy the neams into the debug stringtab, rather than + copy the names into the debug stringtab, rather than bfd_alloc, because I expect that, when linking many files together, many of the strings will be the same. Storing the strings in the hash table should save space in this case. */ @@ -3966,7 +3966,8 @@ _bfd_xcoff_bfd_final_link (abfd, info) } } - bfd_coff_compute_section_file_positions (abfd); + if (! bfd_coff_compute_section_file_positions (abfd)) + goto error_return; } /* Allocate space for the pointers we need to keep for the relocs. */