]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/config.mk
arm: ensure u-boot only uses relative relocations
[people/ms/u-boot.git] / arch / arm / config.mk
index dc64160789cc91527cc34d46cfbc31d2a93dbdbd..e80e1ed1a3722356b5b607081e8df040c218acba 100644 (file)
@@ -109,3 +109,8 @@ ifeq ($(GAS_BUG_12532),y)
 PLATFORM_RELFLAGS += -fno-optimize-sibling-calls
 endif
 endif
+
+# check that only R_ARM_RELATIVE relocations are generated
+ifneq ($(CONFIG_SPL_BUILD),y)
+ALL-y  += checkarmreloc
+endif