diff options
author | Alan Modra <amodra@gmail.com> | 2006-12-14 03:05:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-12-14 03:05:37 +0000 |
commit | b0956e015259731f445bd7b649ea66608bc1fbf8 (patch) | |
tree | 3e6670f5194935a4b3535dfb6886f54440688741 | |
parent | 1fb41da414b7826e82d65cb644d00508d5b92458 (diff) | |
download | gdb-b0956e015259731f445bd7b649ea66608bc1fbf8.zip gdb-b0956e015259731f445bd7b649ea66608bc1fbf8.tar.gz gdb-b0956e015259731f445bd7b649ea66608bc1fbf8.tar.bz2 |
* elf-bfd.h (struct bfd_elf_section_data): Clarify sec_group
and next_in_group usage.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <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. 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. */ |