diff --git a/mesosphere/kernel_ldr/Makefile b/mesosphere/kernel_ldr/Makefile index 5649eea12..42e8c77ea 100644 --- a/mesosphere/kernel_ldr/Makefile +++ b/mesosphere/kernel_ldr/Makefile @@ -89,7 +89,7 @@ DEPENDS := $(OFILES:.o=.d) all : $(OUTPUT).bin $(OUTPUT).bin : $(OUTPUT).elf - $(OBJCOPY) -S -O binary $< $@ + $(OBJCOPY) -S -O binary --set-section-flags .bss=alloc,load,contents $< $@ @echo built ... $(notdir $@) $(OUTPUT).elf : $(OFILES) ../../../libraries/libmesosphere/lib/libmesosphere.a