mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 12:21:18 +00:00
kernel_ldr: Explicitly reserve space for bss section in output .bin
This commit is contained in:
parent
4adc0e4096
commit
daa7f5db79
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue