]> git.feebdaed.xyz Git - 0xmirror/binutils-gdb.git/commit
PR 27666, bfd_check_format_matches
authorAlan Modra <amodra@gmail.com>
Sat, 20 Dec 2025 03:35:57 +0000 (14:05 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 20 Dec 2025 04:20:53 +0000 (14:50 +1030)
commit12b471a0007bf9b69fcdd2a2e085cf8d07157133
treedde4bdd516a3d1b5fd2efabfac03f3791b0fd564
parent8bea934667cdf3046dd388e9d07ca055d4ff5277
PR 27666, bfd_check_format_matches

bfd_check_format_matches should not change what matches depending on
its "matching" arg.  Fix that.  This bug in bfd_check_format_matches
is the underlying cause of pr27666.

PR 27666
* format.c (bfd_check_format_matches): Always allocate
matching_vector.
bfd/format.c