From 36e44abdc26c5063b225e7204127de5473d91ac3 Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Fri, 27 Jul 2007 00:49:06 +0000 Subject: [PATCH] * archive.c (do_slurp_bsd_armap, do_slurp_coff_armap, bfd_slurp_armap): Improve function comment. --- bfd/ChangeLog | 5 +++++ bfd/archive.c | 10 ++++++---- 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 + + * archive.c (do_slurp_bsd_armap, do_slurp_coff_armap, + bfd_slurp_armap): Improve function comment. + 2007-07-26 Michael Snyder * 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) -- 2.7.4