* section.c (bfd_sections_find_if): Fix parameter name in

comment to match code.
This commit is contained in:
Joel Brobecker 2004-09-10 21:16:27 +00:00
parent 4a233bd8fc
commit f4eae89cf7
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2004-09-10 Joel Brobecker <brobecker@gnat.com>
* section.c (bfd_sections_find_if): Fix parameter name in
comment to match code.
2004-09-10 Alan Modra <amodra@bigpond.net.au> 2004-09-10 Alan Modra <amodra@bigpond.net.au>
* elf.c (assign_file_positions_except_relocs): Assign relocs * elf.c (assign_file_positions_except_relocs): Assign relocs

View File

@ -1123,17 +1123,17 @@ FUNCTION
SYNOPSIS SYNOPSIS
asection *bfd_sections_find_if asection *bfd_sections_find_if
(bfd *abfd, (bfd *abfd,
bfd_boolean (*func) (bfd *abfd, asection *sect, void *obj), bfd_boolean (*operation) (bfd *abfd, asection *sect, void *obj),
void *obj); void *obj);
DESCRIPTION DESCRIPTION
Call the provided function @var{func} for each section Call the provided function @var{operation} for each section
attached to the BFD @var{abfd}, passing @var{obj} as an attached to the BFD @var{abfd}, passing @var{obj} as an
argument. The function will be called as if by argument. The function will be called as if by
| func (abfd, the_section, obj); | operation (abfd, the_section, obj);
It returns the first section for which @var{func} returns true. It returns the first section for which @var{operation} returns true.
*/ */