* elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group
authorAlan Modra <amodra@gmail.com>
Thu, 14 Dec 2006 03:05:37 +0000 (03:05 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 14 Dec 2006 03:05:37 +0000 (03:05 +0000)
and next_in_group usage.

bfd/ChangeLog
bfd/elf-bfd.h

index f15fdd3..58a7552 100644 (file)
@@ -1,5 +1,10 @@
 2006-12-14  Alan Modra  <amodra@bigpond.net.au>
 
+       * elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group
+       and next_in_group usage.
+
+2006-12-14  Alan Modra  <amodra@bigpond.net.au>
+
        PR 3704
        * bfdio.c (bfd_bread): Don't read past end of archive elements.
 
index 80aa23e..5951a6c 100644 (file)
@@ -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.  */