Commit 9135858f authored by Rick Chen's avatar Rick Chen Committed by Andes

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's avatarRick Chen <rick@andestech.com>
Cc: Greentime Hu <greentime@andestech.com>
parent 28c107f0
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment