aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-03-18 16:39:38 +0000
committerIan Lance Taylor <ian@airs.com>1997-03-18 16:39:38 +0000
commit724a4c0d4631905ea3196cf19dbd89f811f66d59 (patch)
treee1793a49b7ab07596ca5fb688c80da879f75b6c0
parente0742b240090724627180845c1b881e19ad38626 (diff)
downloadgdb-724a4c0d4631905ea3196cf19dbd89f811f66d59.zip
gdb-724a4c0d4631905ea3196cf19dbd89f811f66d59.tar.gz
gdb-724a4c0d4631905ea3196cf19dbd89f811f66d59.tar.bz2
fix tipo in comment
-rw-r--r--bfd/xcofflink.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c
index 64cc0f8..92c7056 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. */