binman: Use the Makefile for u_boot_binman_syms
authorSimon Glass <sjg@chromium.org>
Sat, 24 Aug 2019 13:22:56 +0000 (07:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Oct 2019 14:40:02 +0000 (08:40 -0600)
commit1542c8b5fce0f81ace585ac87218bfd79eb077f3
treed901b0c64e8792f0892575df5edb8a2e4889e669
parentbccd91da9bdac8bf947a299ab9a7b821d2702696
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>
tools/binman/elf_test.py
tools/binman/ftest.py
tools/binman/test/Makefile
tools/binman/test/u_boot_binman_syms [deleted file]
tools/binman/test/u_boot_binman_syms.lds