summaryrefslogtreecommitdiff
path: root/bfd/archive.c
diff options
context:
space:
mode:
authorAdam Nemet <anemet@caviumnetworks.com>2007-07-27 00:49:06 +0000
committerAdam Nemet <anemet@caviumnetworks.com>2007-07-27 00:49:06 +0000
commitb5487677efd1cfcb83fbe272a3aabfb80b46a2cc (patch)
tree337bb0a249a285fd5efce2401067ae140895e23e /bfd/archive.c
parenta32818ed720738c264dd63386d1b950458ee26b6 (diff)
downloadbinutils-redhat-b5487677efd1cfcb83fbe272a3aabfb80b46a2cc.tar.gz
* archive.c (do_slurp_bsd_armap, do_slurp_coff_armap,
bfd_slurp_armap): Improve function comment.
Diffstat (limited to 'bfd/archive.c')
-rw-r--r--bfd/archive.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/bfd/archive.c b/bfd/archive.c
index 52428124fe..e080d3a301 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -698,7 +698,8 @@ bfd_generic_archive_p (bfd *abfd)
/* The size of the string count. */
#define BSD_STRING_COUNT_SIZE 4
-/* Returns FALSE on error, TRUE otherwise. */
+/* Read a BSD-style archive symbol table. Returns FALSE on error,
+ TRUE otherwise. */
static bfd_boolean
do_slurp_bsd_armap (bfd *abfd)
@@ -768,7 +769,8 @@ do_slurp_bsd_armap (bfd *abfd)
return TRUE;
}
-/* Returns FALSE on error, TRUE otherwise. */
+/* Read a COFF archive symbol table. Returns FALSE on error, TRUE
+ otherwise. */
static bfd_boolean
do_slurp_coff_armap (bfd *abfd)
@@ -895,8 +897,8 @@ release_symdefs:
return FALSE;
}
-/* This routine can handle either coff-style or bsd-style armaps.
- Returns FALSE on error, TRUE otherwise */
+/* This routine can handle either coff-style or bsd-style armaps
+ (archive symbol table). Returns FALSE on error, TRUE otherwise */
bfd_boolean
bfd_slurp_armap (bfd *abfd)