Sanity check SHT_MIPS_OPTIONS size
authorAlan Modra <amodra@gmail.com>
Thu, 10 Nov 2022 23:22:43 +0000 (09:52 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 11 Nov 2022 07:35:36 +0000 (18:05 +1030)
commitd0e5049d8fa8e1994a42bb0296f72cc981b8ce8c
tree5eb90e5c9e53238a232c60778e7979ea44d7cb36
parent772e1fe54a43adb1bf282f5cc599862df7b68317
Sanity check SHT_MIPS_OPTIONS size

* elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Use
bfd_malloc_and_get_section to read contents of .MIPS.options.
bfd/elfxx-mips.c