readelf: nds32 specific decoding
authorAlan Modra <amodra@gmail.com>
Mon, 4 May 2020 00:50:54 +0000 (10:20 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 4 May 2020 01:58:40 +0000 (11:28 +0930)
commit9c7b8e9b92696f38ff29efeeb12eb166994c0a23
treeb213f04eac47577b58a4e28dc4b716ed4cc2223b
parentc3bf7d31de6b0c693c1c873ce3c36bc8c43ca06a
readelf: nds32 specific decoding

* readelf.c (process_nds32_specific): Check size of .nds32_e_flags
section.  Don't assume endian of host matches nds32 target.  Free
buffer.
binutils/ChangeLog
binutils/readelf.c