From a00ccafe14328449f71eb4aed05fbecc6b9e2a32 Mon Sep 17 00:00:00 2001 From: Jonathan Woodruff Date: Wed, 2 Oct 2024 16:36:38 +0100 Subject: [PATCH] Alwayze zero BSS in bbl.py We're trying to unify software on QEMU and hardware. BBL for qemu was not zeroing BSS. --- pycheribuild/projects/cross/bbl.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pycheribuild/projects/cross/bbl.py b/pycheribuild/projects/cross/bbl.py index bbd649cba..e8fee0b76 100644 --- a/pycheribuild/projects/cross/bbl.py +++ b/pycheribuild/projects/cross/bbl.py @@ -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 = ( @@ -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,