From b0956e015259731f445bd7b649ea66608bc1fbf8 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 14 Dec 2006 03:05:37 +0000 Subject: [PATCH] * elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group and next_in_group usage. --- bfd/ChangeLog | 5 +++++ bfd/elf-bfd.h | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f15fdd3..58a7552 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2006-12-14 Alan Modra + * elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group + and next_in_group usage. + +2006-12-14 Alan Modra + PR 3704 * bfdio.c (bfd_bread): Don't read past end of archive elements. diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 80aa23e..5951a6c 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -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. */ -- 2.7.4