diff options
author | Alan Modra <amodra@gmail.com> | 2023-04-13 15:03:16 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-04-13 15:03:16 +0930 |
commit | 24a6c5ae36d0ceb0eb77a8b8e40f63ebbbbb052c (patch) | |
tree | 9e88995249ca84f9664f157a0d6a726172e0923d /gdb/testsuite | |
parent | 5d1fefd3b35589d792e5bff800d2bb7e9c4431e2 (diff) | |
download | binutils-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')
0 files changed, 0 insertions, 0 deletions