commit | 15c981cc8adc26501e3a19ca7fb35705870ef597 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Oct 20 21:31:34 2019 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sat Nov 02 18:00:51 2019 +0800 |
tree | 5d39925a3562f18535c3bd6e6674b93fcc3fd05e | |
parent | 895ae8726dea182c8512fc6154bd0f9a6a06657b [diff] |
binman: Correct symbol calculation with non-zero image base At present binman adds the image base address to the symbol value before it writes it to the binary. This is not correct since the symbol value itself (e.g. image position) has no relationship to the image base. Fix this and update the tests to cover this case. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>