This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
clarify some comments
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Thu, 14 Dec 2006 13:35:10 +1030
- Subject: clarify some comments
* elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group
and next_in_group usage.
Index: bfd/elf-bfd.h
===================================================================
RCS file: /cvs/src/src/bfd/elf-bfd.h,v
retrieving revision 1.219
diff -u -p -r1.219 elf-bfd.h
--- bfd/elf-bfd.h 21 Nov 2006 11:25:16 -0000 1.219
+++ bfd/elf-bfd.h 14 Dec 2006 01:44:34 -0000
@@ -1167,12 +1167,12 @@ struct bfd_elf_section_data
struct bfd_symbol *id;
} group;
- /* Optional information about section group; NULL if it doesn't
- belongs to any section group. */
+ /* For a member of a group, points to the SHT_GROUP section.
+ NULL for the SHT_GROUP section itself and non-group sections. */
asection *sec_group;
- /* A linked list of sections in the group. Circular when used by
- the linker. */
+ /* A linked list of member sections in the group. Circular when used by
+ the linker. For the SHT_GROUP section, points at first member. */
asection *next_in_group;
/* A pointer used for various section optimizations. */
--
Alan Modra
IBM OzLabs - Linux Technology Centre