diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2018-07-11 01:28:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-11 01:28:03 -0700 |
commit | 63241292c9f4aa0e36d6f5482b6e378a48256002 (patch) | |
tree | 8d3d8b839652718648f4cb44ffaa6d1cb8c0e0f0 | |
parent | 3434bc18aa962b69934b68cf811ba00908a50ca9 (diff) | |
parent | b71404096c0bb0045f81f3131a803af16fa0ef94 (diff) | |
download | riscv-pk-63241292c9f4aa0e36d6f5482b6e378a48256002.zip riscv-pk-63241292c9f4aa0e36d6f5482b6e378a48256002.tar.gz riscv-pk-63241292c9f4aa0e36d6f5482b6e378a48256002.tar.bz2 |
Merge pull request #91 from bukinr/master
Include .bss section to the binary so dtb_output() gets full size of payload
-rw-r--r-- | bbl/bbl.mk.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bbl/bbl.mk.in b/bbl/bbl.mk.in index 4d40987..01c06c5 100644 --- a/bbl/bbl.mk.in +++ b/bbl/bbl.mk.in @@ -19,7 +19,7 @@ bbl_asm_srcs = \ payload.o: bbl_payload bbl_payload: $(BBL_PAYLOAD) - if $(READELF) -h $< 2> /dev/null > /dev/null; then $(OBJCOPY) -O binary $< $@; else cp $< $@; fi + if $(READELF) -h $< 2> /dev/null > /dev/null; then $(OBJCOPY) -O binary --set-section-flags .bss=alloc,load,contents $< $@; else cp $< $@; fi raw_logo.o: bbl_logo_file |