Uninitialized vd_nodename
authorAlan Modra <amodra@gmail.com>
Sat, 22 Aug 2015 03:54:34 +0000 (13:24 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 22 Aug 2015 06:54:52 +0000 (16:24 +0930)
commit595bce7595e076391e7147b0c6db57a8edf2e406
tree352470d415a279d64e65d60fa61c3e11f2195a2c
parent0d6b12851b08f5f71f7d97d2c832b899d63b5df2
Uninitialized vd_nodename

Belt and braces fix.  Either of the changes here is sufficient to
ensure vd_nodename is initialized properly.

* elf.c (_bfd_elf_slurp_version_tables): Always init vd_nodename.
Don't copy fields not set by _bfd_elf_swap_verdef_in.
bfd/ChangeLog
bfd/elf.c