Skip to content

Commit a00ccaf

Browse files
authored
Alwayze zero BSS in bbl.py
We're trying to unify software on QEMU and hardware. BBL for qemu was not zeroing BSS.
1 parent a24af43 commit a00ccaf

File tree

1 file changed

+1
-2
lines changed
  • pycheribuild/projects/cross

1 file changed

+1
-2
lines changed

pycheribuild/projects/cross/bbl.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class BuildBBLBase(CrossCompileAutotoolsProject):
6262
kernel_class = None
6363
cross_install_dir = DefaultInstallDir.ROOTFS_OPTBASE
6464
without_payload = False
65-
enable_zero_bss = False
65+
enable_zero_bss = True
6666
custom_payload: Optional[str] = None
6767
mem_start = "0x80000000"
6868
supported_architectures = (
@@ -206,7 +206,6 @@ class BuildBBLNoPayloadGFE(BuildBBLNoPayload):
206206
target = "bbl-gfe"
207207
default_directory_basename = "bbl" # reuse same source dir
208208
build_dir_suffix = "-gfe" # but not the build dir
209-
enable_zero_bss = True
210209

211210
_default_install_dir_fn = ComputedDefaultValue(
212211
function=_bbl_install_dir,

0 commit comments

Comments
 (0)