aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/archive.c10
2 files changed, 11 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 538436d..42a1e74 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-26 Adam Nemet <anemet@caviumnetworks.com>
+
+ * archive.c (do_slurp_bsd_armap, do_slurp_coff_armap,
+ bfd_slurp_armap): Improve function comment.
+
2007-07-26 Michael Snyder <msnyder@access-company.com>
* linker.c (already_linked_newfunc): Check for NULL return from
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)