aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolodymyr Babchuk <volodymyr_babchuk@epam.com>2020-01-23 19:05:38 +0200
committerJerome Forissier <jerome@forissier.org>2020-01-24 14:41:25 +0100
commit4b2d89454dac0fea86a6b1f8dfa42f904f9a23c4 (patch)
tree115782d6f0b30f3f4188f993cae2f9809910d745
parent4f562c571b01ea38974018164ecf02385503ffd5 (diff)
gen_tee_bin: include .nex_data section
.nex_data section were missing in the resulting binary, which lead to broken OP-TEE image that was unable to boot. Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> [jf: fix spelling mistake in subject] Signed-off-by: Jerome Forissier <jerome@forissier.org>
-rwxr-xr-xscripts/gen_tee_bin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen_tee_bin.py b/scripts/gen_tee_bin.py
index 34629b9a..90688a30 100755
--- a/scripts/gen_tee_bin.py
+++ b/scripts/gen_tee_bin.py
@@ -144,7 +144,7 @@ def get_pager_bin(elffile):
if tee_pager_bin is None:
pad_to = get_symbol(elffile, '__data_end')['st_value']
dump_names = re.compile(
- r'^\.(text|rodata|got|data|ARM\.exidx|ARM\.extab)$')
+ r'^\.(text|nex_data|rodata|got|data|ARM\.exidx|ARM\.extab)$')
tee_pager_bin = get_sections(elffile, pad_to, dump_names)
return tee_pager_bin