Skip to content

Commit

Permalink
Revert "Alwayze zero BSS in bbl.py"
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jrtc27 committed Oct 2, 2024
1 parent a00ccaf commit 5fb4646
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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 = True
enable_zero_bss = False
custom_payload: Optional[str] = None
mem_start = "0x80000000"
supported_architectures = (
Expand Down Expand Up @@ -206,6 +206,7 @@ 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 5fb4646

Please sign in to comment.