kern: put rela in bss

NOTE: This saves ~0x4000 of space at the cost of crimes against the linker script.
This commit is contained in:
Michael Scire committed 2021-10-08 12:48:53 -07:00
1 parent fba962ef11
commit 960ba52a43
4 files changed
+25 -19

No files matched your search

+1 -1
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)