diff options
author | Alan Modra <amodra@gmail.com> | 2024-06-27 12:31:46 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-06-27 14:28:51 +0930 |
commit | d58dbdd2a6236df711e40086f365878a77b84a76 (patch) | |
tree | d14930b2351b983025429d5932e8210a25942821 /bfd/pei-ia64.c | |
parent | 6cb70d1bf43d6f069780296bf0aef2779ced28ff (diff) | |
download | gdb-d58dbdd2a6236df711e40086f365878a77b84a76.zip gdb-d58dbdd2a6236df711e40086f365878a77b84a76.tar.gz gdb-d58dbdd2a6236df711e40086f365878a77b84a76.tar.bz2 |
Re: Rewrite SHT_GROUP handling
There is no need to loop over the headers twice. Remove that leftover
from the previous scheme. Also, the previous scheme silently ignored
a section being mentioned in two or more SHT_GROUP sections.
* elf.c (process_sht_group_entries): Prevent sections from
belonging to two groups.
(_bfd_elf_setup_sections): Process groups in a single loop
over headers.
Diffstat (limited to 'bfd/pei-ia64.c')
0 files changed, 0 insertions, 0 deletions