binman: Drop .note section from ELF
authorSimon Glass <sjg@chromium.org>
Sat, 24 Aug 2019 13:22:45 +0000 (07:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Oct 2019 14:40:02 +0000 (08:40 -0600)
commit9d44a7e6c67be9661e6d3dff3a2d5da31dd06cbc
tree67fff8a49349c67bba4e985e2d80e8722caa3325
parent8dbb7444ebaa499b753269c88cdd76f12f0fa875
binman: Drop .note section from ELF

Recent versions of binutils add a '.note.gnu.property' into the ELF file.
This is not required and interferes with the expected output. Drop it.

Also fix testMakeElf() to use a different file for input and output.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/elf.py
tools/binman/elf_test.py