[U-Boot] [PATCH 16/34] binman: Use the Makefile for u_boot_binman_syms
sjg at google.com
sjg at google.com
Fri Sep 27 00:39:00 UTC 2019
Remove this file from git and instead build it using the Makefile.
With this change a few things need to be adjusted:
1. The 'notes' section no-longer appears at the start of the ELF file
(before the code), so update testSymbols to adjust the offsets.
2. The dynamic linker is disabled to avoid errors like:
"Not enough room for program headers, try linking with -N"
3. The interpreter note is moved to the end of the image, so that the
binman symbols appear first.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/binman/elf_test.py | 9 +++++----
tools/binman/ftest.py | 7 ++++---
tools/binman/test/Makefile | 5 +++--
tools/binman/test/u_boot_binman_syms | Bin 4924 -> 0 bytes
tools/binman/test/u_boot_binman_syms.lds | 1 +
5 files changed, 13 insertions(+), 9 deletions(-)
delete mode 100755 tools/binman/test/u_boot_binman_syms
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list