diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-09-04 15:21:53 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-09-04 15:21:53 +0100 |
commit | f33e5e6299288c945380e3ce3ea9d2406277c289 (patch) | |
tree | bc845ad69d3a452acac70ff904000adc2efc17c4 /hw/arm/vexpress.c | |
parent | bf1733392ca22f593cac77534f88ee6d6810837e (diff) |
loader: Ignore zero-sized ELF segments
Some ELF files have program headers that specify segments that
are of zero size. Ignore them, rather than trying to create
zero-length ROM blobs for them, because the zero-length blob
can falsely trigger the overlapping-ROM-blobs check.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Hua Yanghao <huayanghao@gmail.com>
Message-id: 1502116754-18867-3-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/arm/vexpress.c')
0 files changed, 0 insertions, 0 deletions