PR27294, avr OOM
authorAlan Modra <amodra@gmail.com>
Thu, 11 Feb 2021 06:26:22 +0000 (16:56 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 11 Feb 2021 09:12:15 +0000 (19:42 +1030)
commit31c711a2b302cf27f2cb4d5dd2c495407b384b94
tree77088bdbd9186f338321b4cd422be00e1169ae7e
parent1cfcf3004e1830f8fe9112cfcd15285508d2c2b7
PR27294, avr OOM

PR 27294
* elf32-avr.c (avr_elf32_load_records_from_section): Use
bfd_malloc_and_get_section.  Use bfd_byte* vars and remove then
unnecessary casts.
bfd/ChangeLog
bfd/elf32-avr.c