1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-29 23:32:23 +00:00

kernel_ldr: Explicitly reserve space for bss section in output .bin

This commit is contained in:
fincs 2019-12-17 23:24:21 +01:00 committed by SciresM
parent 4adc0e4096
commit daa7f5db79

View file

@ -89,7 +89,7 @@ DEPENDS := $(OFILES:.o=.d)
all : $(OUTPUT).bin all : $(OUTPUT).bin
$(OUTPUT).bin : $(OUTPUT).elf $(OUTPUT).bin : $(OUTPUT).elf
$(OBJCOPY) -S -O binary $< $@ $(OBJCOPY) -S -O binary --set-section-flags .bss=alloc,load,contents $< $@
@echo built ... $(notdir $@) @echo built ... $(notdir $@)
$(OUTPUT).elf : $(OFILES) ../../../libraries/libmesosphere/lib/libmesosphere.a $(OUTPUT).elf : $(OFILES) ../../../libraries/libmesosphere/lib/libmesosphere.a