diff --git a/ASM/Makefile b/ASM/Makefile index 174242779..5118ea61e 100644 --- a/ASM/Makefile +++ b/ASM/Makefile @@ -34,7 +34,7 @@ $(OBJDIR): mkdir -p $@ $(OBJDIR)/%_bin.o: $(RESOURCEDIR)/%.bin - $(OBJCOPY) -I binary -O elf32-bigmips --rename-section .data=.rodata,alloc,load,readonly,data,contents $< $@ + $(OBJCOPY) -I binary -O elf32-bigmips --set-section-alignment .data=8 --rename-section .data=.rodata,alloc,load,readonly,data,contents $< $@ $(OBJCOPY) --redefine-sym _binary_resources_$*_bin_start=$(call UC,$*)_RESOURCE $@ $(OBJCOPY) --redefine-sym _binary_resources_$*_bin_end=$(call UC,$*)_RESOURCE_END $@ $(OBJCOPY) --redefine-sym _binary_resources_$*_bin_size=$(call UC,$*)_RESOURCE_SIZE $@