base: Convert ELF .text size check assertion to a warning
base: Convert ELF .text size check assertion to a warning

The ELF loader currently has an assertion that checks if the size of a
loaded .text secion is non-zero. This is useful in the general case as
an empty text section normally indicates that there is something
strange with the ELF file. However, asserting isn't very useful. This
changeset converts the assert into a warning that tells the user that
something strange is happening.

Change-Id: I313e17847b50a0eca00f6bd00a54c610d626c0f0
Signed-off-by: Andreas Sandberg <c9f5686ee5bd561c93f9de79681eee75bfa7f36e@arm.com>
Reviewed-by: Curtis Dunham <14490907fdc9c150c92157b82121c81003bbdc71@arm.com>

sobercoder/gem5,KuroeKurose/gem5,rallylee/gem5,powerjg/gem5-ci-test,Weil0ng/gem5,rjschof/gem5,sobercoder/gem5,aclifton/cpeg853-gem5,SanchayanMaity/gem5,aclifton/cpeg853-gem5,rallylee/gem5,rjschof/gem5,powerjg/gem5-ci-test,powerjg/gem5-ci-test,gem5/gem5,Weil0ng/gem5,rallylee/gem5,rallylee/gem5,aclifton/cpeg853-gem5,sobercoder/gem5,gedare/gem5,aclifton/cpeg853-gem5,aclifton/cpeg853-gem5,aclifton/cpeg853-gem5,HwisooSo/gemV-update,KuroeKurose/gem5,HwisooSo/gemV-update,gem5/gem5,cancro7/gem5,powerjg/gem5-ci-test,Weil0ng/gem5,aclifton/cpeg853-gem5,powerjg/gem5-ci-test,cancro7/gem5,rjschof/gem5,gedare/gem5,rjschof/gem5,powerjg/gem5-ci-test,HwisooSo/gemV-update,HwisooSo/gemV-update,Weil0ng/gem5,TUD-OS/gem5-dtu,HwisooSo/gemV-update,gem5/gem5,gem5/gem5,gedare/gem5,Weil0ng/gem5,Weil0ng/gem5,gedare/gem5,cancro7/gem5,rallylee/gem5,rallylee/gem5,TUD-OS/gem5-dtu,SanchayanMaity/gem5,gedare/gem5,gem5/gem5,Weil0ng/gem5,sobercoder/gem5,sobercoder/gem5,gem5/gem5,KuroeKurose/gem5,SanchayanMaity/gem5,rjschof/gem5,gedare/gem5,sobercoder/gem5,sobercoder/gem5,SanchayanMaity/gem5,KuroeKurose/gem5,KuroeKurose/gem5,gem5/gem5,HwisooSo/gemV-update,HwisooSo/gemV-update,TUD-OS/gem5-dtu,SanchayanMaity/gem5,TUD-OS/gem5-dtu,TUD-OS/gem5-dtu,KuroeKurose/gem5,rjschof/gem5,TUD-OS/gem5-dtu,cancro7/gem5,SanchayanMaity/gem5,cancro7/gem5,cancro7/gem5,SanchayanMaity/gem5,TUD-OS/gem5-dtu,rallylee/gem5,rjschof/gem5,powerjg/gem5-ci-test,KuroeKurose/gem5,cancro7/gem5,gedare/gem5