aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-cmd-exception.py
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2025-10-10 16:01:16 +0200
committerJan Beulich <jbeulich@suse.com>2025-10-10 16:01:16 +0200
commit6b7bbb694201d7450258080d4fa9b759c27be50e (patch)
treecd989fd91f4ff06efa92ddc92a82b8b32aeac6af /gdb/testsuite/gdb.python/py-cmd-exception.py
parentc0f8a4a25e5de8194ea6cfe49a84ef61bf426676 (diff)
downloadbinutils-6b7bbb694201d7450258080d4fa9b759c27be50e.zip
binutils-6b7bbb694201d7450258080d4fa9b759c27be50e.tar.gz
binutils-6b7bbb694201d7450258080d4fa9b759c27be50e.tar.bz2
bfd / PE/COFF: permit SEC_READONLY and consolidate
Without SEC_READONLY, even the default .text section would end up with the IMAGE_SCN_MEM_WRITE flag, which is clearly wrong. (Afaict the flag, oddly enough, doesn't affect the final linked binary, so there likely are more anomalies.) However, as suggested by Richard Earnshaw, PE's requirements are really target independent. Consolidate SEC_CODE, SEC_DATA, SEC_READONLY, SEC_LINK_ONCE, and SEC_LINK_DUPLICATES into target-independent code. Yet of course targets not using CREATE_*_COFF_TARGET_VEC() won't benefit. Note that in coff-arm.c the EXTRA_S_FLAGS conditional was also stale (leftover from EPOC removal), and hence can go away.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-cmd-exception.py')
0 files changed, 0 insertions, 0 deletions