aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2014-01-08 14:33:16 +0530
committerTushar Behera <tushar.behera@linaro.org>2014-01-08 14:46:40 +0530
commit6415bf60c44b2f726d066d627e34c9ac7290d46f (patch)
tree4550b799570c599c5689d167b644dd4dc1b554a7
parent7d9ae1ac6fe4653f387649611a404926e2135c84 (diff)
armv7: Fix error with hard-float compilersamsung-lt-arndale_octa-2014.01
Fixes similar issues when compiled with arm-linux-gnueabihf compiler. arm-linux-gnueabihf-ld: error: ../lib/gcc/arm-linux-gnueabihf/4.8.2/libgcc.a(bpabi.o) uses VFP register arguments, u-boot does not Reference: http://www.funtoo.org/ODROID_U2#Troubleshooting Tested-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
-rw-r--r--arch/arm/cpu/armv7/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/config.mk b/arch/arm/cpu/armv7/config.mk
index 560c084dc..3eb6d67b5 100644
--- a/arch/arm/cpu/armv7/config.mk
+++ b/arch/arm/cpu/armv7/config.mk
@@ -20,7 +20,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
-PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
+PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -mfloat-abi=hard -mfpu=vfpv3
# If armv7-a is not supported by GCC fall-back to armv5, which is
# supported by more tool-chains