Hotfix: fix section attribute for the ROMFS, moving it back into .rodata where it belongs.

This commit is contained in:
px4dev
2013-05-23 23:58:59 +02:00
parent 318d2baba0
commit f30695e1df
+2 -1
View File
@@ -280,6 +280,7 @@ define BIN_TO_OBJ
$(Q) $(OBJCOPY) $2 \
--redefine-sym $(call BIN_SYM_PREFIX,$1)_start=$3 \
--redefine-sym $(call BIN_SYM_PREFIX,$1)_size=$3_len \
--strip-symbol $(call BIN_SYM_PREFIX,$1)_end
--strip-symbol $(call BIN_SYM_PREFIX,$1)_end \
--rename-section .data=.rodata
$(Q) $(REMOVE) $2.c $2.c.o
endef