diff options
author | Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com> | 2016-10-24 16:26:49 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-10-24 16:26:49 +0100 |
commit | 2615fabd42ea0078dd9e659bdb21a5b7a1f87a9a (patch) | |
tree | 1c1cded08274393ab23770731f0eece7f6782366 /gdb-xml | |
parent | adb65dec4ba80ac6440aa45ca9bf409392c6da63 (diff) |
exec.c: Remove static allocation of sub_section of sub_page
Allocate sub_section dynamically. Remove dependency
on TARGET_PAGE_SIZE to make run-time page size detection
for arm platforms.
Signed-off-by: Vijaya Kumar K <vijayak@cavium.com>
Message-id: 1465808915-4887-3-git-send-email-vijayak@caviumnetworks.com
[PMM: use flexible array member rather than separate malloc
so we don't need an extra pointer deref when using it]
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'gdb-xml')
0 files changed, 0 insertions, 0 deletions