]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Correct handling of zero bss size
authorSimon Glass <sjg@chromium.org>
Tue, 18 Jul 2023 13:24:01 +0000 (07:24 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 20 Jul 2023 20:10:58 +0000 (14:10 -0600)
commite1ad57e7ef6e17fb6f55bf70fff61bfd93703b78
treedc1b6d25358b3b217d2d9bc970482dc128e4c9bf
parent073fc36c17cfa283e8aff3aec522a9614e915542
binman: Correct handling of zero bss size

Fix the check for the __bss_size symbol, since it may be 0. Unfortunately
there was no test coverage for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/elf_test.py
tools/binman/etype/u_boot_spl_bss_pad.py
tools/binman/etype/u_boot_tpl_bss_pad.py
tools/binman/etype/u_boot_vpl_bss_pad.py
tools/binman/ftest.py
tools/binman/test/285_spl_expand.dts [new file with mode: 0644]
tools/binman/test/Makefile
tools/binman/test/bss_data_zero.c [new file with mode: 0644]
tools/binman/test/bss_data_zero.lds [new file with mode: 0644]
tools/binman/test/embed_data.lds