commit | b3f31f8eea41213e264ddf673057d27bc9c155ea | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Wed Aug 13 22:35:53 2025 +0930 |
committer | Alan Modra <amodra@gmail.com> | Thu Aug 14 23:06:39 2025 +0930 |
tree | d3ceaaf21da2a9537367e7b4d877e2ec9652dc3f | |
parent | 9adb8ba865f2aebc6f4d7cc74df64ea200959b3a [diff] |
Recognise ECOFF armap in bfd_slurp_armap Recognise ECOFF archives and reject them so that the ecoff archive support has a chance to handle the archive. Also use memcmp rather than startswith (strncmp) as we know the string length. * archive.c (bfd_slurp_armap): Recognize ECOFF armap. Use memcmp to match names, and tidy buffer sizes.