binman: Use the Makefile for u_boot_binman_syms
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@chromium.org>
Showing
- tools/binman/elf_test.py 5 additions, 4 deletionstools/binman/elf_test.py
- tools/binman/ftest.py 4 additions, 3 deletionstools/binman/ftest.py
- tools/binman/test/Makefile 3 additions, 2 deletionstools/binman/test/Makefile
- tools/binman/test/u_boot_binman_syms 0 additions, 0 deletionstools/binman/test/u_boot_binman_syms
- tools/binman/test/u_boot_binman_syms.lds 1 addition, 0 deletionstools/binman/test/u_boot_binman_syms.lds
Loading
Please register or sign in to comment