From: Rick Chen Date: Tue, 15 Jan 2019 02:41:20 +0000 (+0800) Subject: nds32: Generate SW fpu instruction. X-Git-Tag: v2019.04-rc1~30^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9135858fb861d4aa0c8521442cc20932c1e2e097;p=oweals%2Fu-boot.git nds32: Generate SW fpu instruction. Force it to generate SW fup instruction. It help to avoid bugs when running on no-HW-fpu board, but compile with v3f which support HW fpu instruction. Signed-off-by: Rick Chen Cc: Greentime Hu --- diff --git a/arch/nds32/config.mk b/arch/nds32/config.mk index a0f14ae589..4e10de072e 100644 --- a/arch/nds32/config.mk +++ b/arch/nds32/config.mk @@ -15,8 +15,8 @@ endif CONFIG_STANDALONE_LOAD_ADDR = 0x300000 LDFLAGS_STANDALONE += -T $(srctree)/examples/standalone/nds32.lds -PLATFORM_RELFLAGS += -fno-common -mrelax +PLATFORM_RELFLAGS += -fno-common -mrelax -mno-ext-fpu-dp -mfloat-abi=soft PLATFORM_RELFLAGS += -gdwarf-2 PLATFORM_CPPFLAGS += -D__nds32__ -ffixed-10 -fpie -LDFLAGS_u-boot = --gc-sections --relax -pie +LDFLAGS_u-boot = --gc-sections --relax -pie --mabi=AABI