Skip to content

Commit 5fb4646

Browse files
committed
Revert "Alwayze zero BSS in bbl.py"
New platforms should use ELF loaders that actually adhere to the standard, not keep requiring this bodge. If they really find it so hard to do that then they can have their own special builds, but this hack should stay out of the normal QEMU build. This reverts commit a00ccaf.
1 parent a00ccaf commit 5fb4646

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

pycheribuild/projects/cross/bbl.py

Lines changed: 2 additions & 1 deletion
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 = True
65+
enable_zero_bss = False
6666
custom_payload: Optional[str] = None
6767
mem_start = "0x80000000"
6868
supported_architectures = (
@@ -206,6 +206,7 @@ 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
209210

210211
_default_install_dir_fn = ComputedDefaultValue(
211212
function=_bbl_install_dir,

0 commit comments

Comments
 (0)