Skip to content

Commit

Permalink
Alwayze zero BSS in bbl.py
Browse files Browse the repository at this point in the history
We're trying to unify software on QEMU and hardware.  BBL for qemu was not zeroing BSS.
  • Loading branch information
jonwoodruff authored Oct 2, 2024
1 parent a24af43 commit a00ccaf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pycheribuild/projects/cross/bbl.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class BuildBBLBase(CrossCompileAutotoolsProject):
kernel_class = None
cross_install_dir = DefaultInstallDir.ROOTFS_OPTBASE
without_payload = False
enable_zero_bss = False
enable_zero_bss = True
custom_payload: Optional[str] = None
mem_start = "0x80000000"
supported_architectures = (
Expand Down Expand Up @@ -206,7 +206,6 @@ class BuildBBLNoPayloadGFE(BuildBBLNoPayload):
target = "bbl-gfe"
default_directory_basename = "bbl" # reuse same source dir
build_dir_suffix = "-gfe" # but not the build dir
enable_zero_bss = True

_default_install_dir_fn = ComputedDefaultValue(
function=_bbl_install_dir,
Expand Down

0 comments on commit a00ccaf

Please sign in to comment.