loader: initialize all memory in the ObjectFile objects.
authorAli Saidi <Ali.Saidi@ARM.com>
Fri, 7 Sep 2012 19:20:52 +0000 (14:20 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Fri, 7 Sep 2012 19:20:52 +0000 (14:20 -0500)
commit3742b19b368eb371e2fd8fefc388a8ca65a3113d
treeadf9020114623845ae6e88d37be156205175628f
parent8fc0cef6111bdcad5964f7213a66fbf232f2baf0
loader: initialize all memory in the ObjectFile objects.

Some bare metal build flows seem to build binaries that we aren't necessarily
expecting. Initialize everything to 0, so we don't make any assumptions about
what is or isn't in the binary.
src/base/loader/elf_object.cc
src/base/loader/object_file.cc