diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2017-06-06 11:19:06 -0700 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2017-06-06 11:19:06 -0700 |
commit | 78e8a2ff5f01799874be41fdc919d34c670496c6 (patch) | |
tree | a5aec46996fa8748a4347dbd10eb3ba24270cdf5 /bfd/ChangeLog | |
parent | f4a6504277d861057aedd2b88369493d644935c6 (diff) | |
download | gdb-78e8a2ff5f01799874be41fdc919d34c670496c6.zip gdb-78e8a2ff5f01799874be41fdc919d34c670496c6.tar.gz gdb-78e8a2ff5f01799874be41fdc919d34c670496c6.tar.bz2 |
bfd: support section groups with preceding SHF_GROUP sections
GAS always places section groups (SHT_GROUP) before the rest of the
sections in the output file. However, other assemblers may place
section groups after the group members.
This patch fixes handlign such situations, and removes some duplicated
logic.
bfd/ChangeLog:
2017-06-06 Jose E. Marchesi <jose.marchesi@oracle.com>
* elf.c (setup_group): Make sure BFD sections are created for all
group sections in the input file when processing SHF_GROUP
sections.
(bfd_section_from_shdr): Avoid duplicating logic already
implemented in `setup_group'.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4992fd1..b828633 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2017-06-06 Jose E. Marchesi <jose.marchesi@oracle.com> + + * elf.c (setup_group): Make sure BFD sections are created for all + group sections in the input file when processing SHF_GROUP + sections. + (bfd_section_from_shdr): Avoid duplicating logic already + implemented in `setup_group'. + 2017-06-06 Daniel Bonniot de Ruisselet <bonniot@gmail.com> PR binutils/21546 |