aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.rocm
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-04-13 15:03:16 +0930
committerAlan Modra <amodra@gmail.com>2023-04-13 15:03:16 +0930
commit24a6c5ae36d0ceb0eb77a8b8e40f63ebbbbb052c (patch)
tree9e88995249ca84f9664f157a0d6a726172e0923d /gdb/testsuite/gdb.rocm
parent5d1fefd3b35589d792e5bff800d2bb7e9c4431e2 (diff)
downloadbinutils-24a6c5ae36d0ceb0eb77a8b8e40f63ebbbbb052c.zip
binutils-24a6c5ae36d0ceb0eb77a8b8e40f63ebbbbb052c.tar.gz
binutils-24a6c5ae36d0ceb0eb77a8b8e40f63ebbbbb052c.tar.bz2
Preserve a few more bfd fields in check_format_matches
AOUT and COFF targets set symcount and start_address in their object_p functions. If these are used anywhere then it would pay to save and restore them so that a successful match gets the values expected rather than that for a later unsuccessful target match. * format.c (struct bfd_preserve): Move some fields. Add symcount, read_only and start_address. (bfd_preserve_save): Save.. (bfd_preserve_restore): ..and restore.. (bfd_reinit): ..and zero new fields.
Diffstat (limited to 'gdb/testsuite/gdb.rocm')
0 files changed, 0 insertions, 0 deletions