mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
8dbb7444eb
commit
9d44a7e6c6
2 changed files with 4 additions and 1 deletions
|
@ -221,6 +221,9 @@ SECTIONS
|
|||
.empty : {
|
||||
*(.empty)
|
||||
} :empty
|
||||
/DISCARD/ : {
|
||||
*(.note.gnu.property)
|
||||
}
|
||||
.note : {
|
||||
*(.comment)
|
||||
} :note
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue