i386msdos uninitialised read
authorAlan Modra <amodra@gmail.com>
Mon, 23 Mar 2020 10:50:54 +0000 (21:20 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 23 Mar 2020 12:56:12 +0000 (23:26 +1030)
commit5e737279c6e832a757f0326128e5a5f96fbdd291
tree889039d40232c9667e80f1b5974660866128b1e6
parent5935fd15306c26ead8274cbeab3287770f2ac92a
i386msdos uninitialised read

Also reinstate ld i386aout for i386-msdos target, which doesn't build
otherwise.

bfd/
* i386msdos.c (msdos_object_p): Don't access e_lfanew when that
field hasn't been read.  Remove unnecessary casts.
ld/
* Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
Include ei386aout dep file.
* Makefile.in: Regenerate.
* po/BLD-POTFILES.in: Regenerate.
bfd/ChangeLog
bfd/i386msdos.c
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
ld/po/BLD-POTFILES.in