Browse Source

Include .bss section to the binary so dtb_output() gets full size

of payload, in result DTB will not overlap with bss and will not
be zeroed by OS
pull/91/head
Ruslan Bukin 8 years ago
parent
commit
b71404096c
  1. 2
      bbl/bbl.mk.in

2
bbl/bbl.mk.in

@ -17,7 +17,7 @@ bbl_asm_srcs = \
payload.o: bbl_payload payload.o: bbl_payload
bbl_payload: $(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 raw_logo.o: bbl_logo_file

Loading…
Cancel
Save