aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-cmd-exception.py
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2025-10-10 09:25:31 +0200
committerJan Beulich <jbeulich@suse.com>2025-10-10 09:25:31 +0200
commitd4c517eec101a1b0375430b695cb79551b823666 (patch)
tree655710bb0bb07dbc092cd41aa646878fb269514c /gdb/testsuite/gdb.python/py-cmd-exception.py
parent552ddbabb5d28b301c660ddeecae19510ed4aa30 (diff)
downloadbinutils-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