aboutsummaryrefslogtreecommitdiff
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
commit36e44abdc26c5063b225e7204127de5473d91ac3 (patch)
treefcdca4dd204ebb905f3e23be30b69be8e84cb87a /bfd/archive.c
parent317e5c401a32b4a95177ac5cfe2d6b27050aae4b (diff)
downloadgdb-36e44abdc26c5063b225e7204127de5473d91ac3.zip
gdb-36e44abdc26c5063b225e7204127de5473d91ac3.tar.gz
gdb-36e44abdc26c5063b225e7204127de5473d91ac3.tar.bz2
* 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 5242812..e080d3a 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)