diff options
| author | Jan Beulich <jbeulich@suse.com> | 2025-10-10 09:25:31 +0200 |
|---|---|---|
| committer | Jan Beulich <jbeulich@suse.com> | 2025-10-10 09:25:31 +0200 |
| commit | d4c517eec101a1b0375430b695cb79551b823666 (patch) | |
| tree | 655710bb0bb07dbc092cd41aa646878fb269514c /gdb/testsuite/gdb.python/py-cmd-exception.py | |
| parent | 552ddbabb5d28b301c660ddeecae19510ed4aa30 (diff) | |
| download | binutils-d4c517eec101a1b0375430b695cb79551b823666.zip binutils-d4c517eec101a1b0375430b695cb79551b823666.tar.gz binutils-d4c517eec101a1b0375430b695cb79551b823666.tar.bz2 | |
bfd/ELF: don't lose trailing globals from SHF_MERGE sections
_bfd_merged_section_offset() treats trailing symbols specially: That of
the retained section will be assigned the section size, while all ones in
replaced sections will be set to zero (which will then have output offset
added, i.e. generally the size of the retained section). However, in
neither case will the function change the section. Hence such trailing
symbols, when not originating from the retained section, will appear to
live in excluded sections, when they really belong to the sole retained
one.
Replace the section in all cases, and uniformly return section size.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-cmd-exception.py')
0 files changed, 0 insertions, 0 deletions
