]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/config.mk
arm: keep all sections in ELF file
[karo-tx-uboot.git] / arch / arm / config.mk
index bdabcf407e2c7cf783e4e73b05acec2031d2189c..fd3e5fb661d5560ff5de7ff59384e2d23495991b 100644 (file)
@@ -103,3 +103,6 @@ ALL-y += checkarmreloc
 # such usage by requiring word relocations.
 PLATFORM_CPPFLAGS += $(call cc-option, -mword-relocations)
 endif
+
+# limit ourselves to the sections we want in the .bin.
+OBJCFLAGS += -j .text -j .rodata -j .data -j .u_boot_list -j .rel.dyn