mirror of
https://xff.cz/git/u-boot/
synced 2025-09-27 13:31:16 +02:00
binman: Support writing symbols into ELF files
In some cases the ELF version of SPL builds may be packaged, rather than a binary .bin file. Add support for this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -656,7 +656,10 @@ class Entry(object):
|
||||
section: Section containing the entry
|
||||
"""
|
||||
if self.auto_write_symbols:
|
||||
elf.LookupAndWriteSymbols(self.elf_fname, self, section.GetImage())
|
||||
# Check if we are writing symbols into an ELF file
|
||||
is_elf = self.GetDefaultFilename() == self.elf_fname
|
||||
elf.LookupAndWriteSymbols(self.elf_fname, self, section.GetImage(),
|
||||
is_elf)
|
||||
|
||||
def CheckEntries(self):
|
||||
"""Check that the entry offsets are correct
|
||||
|
Reference in New Issue
Block a user