kern: simplify rela-in-bss impl

This commit is contained in:
Michael Scire
2021-10-08 12:46:23 -07:00
parent cfc54dbc88
commit dc52da2819
3 changed files with 13 additions and 36 deletions

View File

@@ -102,7 +102,7 @@ DEPENDS := $(OFILES:.o=.d)
# main targets
#---------------------------------------------------------------------------------
$(OUTPUT).bin : $(OUTPUT).elf
$(OBJCOPY) -S -O binary --set-section-flags .bss=alloc,load,contents $< $@
$(OBJCOPY) -S -O binary $< $@
@echo built ... $(notdir $@)
$(OUTPUT).elf : $(OFILES)