mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
nds32: Fix boot fail issue when build with elf-mculib.
Add -mcmodel=large can let elf-mculib have the same default behavior just like linux-glibc. And it help to pass U-Boot booting sequence. Signed-off-by: Rick Chen <rick@andestech.com> Cc: Greentime Hu <greentime@andestech.com>
This commit is contained in:
parent
9135858fb8
commit
e690148223
1 changed files with 1 additions and 1 deletions
|
@ -17,6 +17,6 @@ LDFLAGS_STANDALONE += -T $(srctree)/examples/standalone/nds32.lds
|
|||
|
||||
PLATFORM_RELFLAGS += -fno-common -mrelax -mno-ext-fpu-dp -mfloat-abi=soft
|
||||
PLATFORM_RELFLAGS += -gdwarf-2
|
||||
PLATFORM_CPPFLAGS += -D__nds32__ -ffixed-10 -fpie
|
||||
PLATFORM_CPPFLAGS += -D__nds32__ -ffixed-10 -fpie -mcmodel=large
|
||||
|
||||
LDFLAGS_u-boot = --gc-sections --relax -pie --mabi=AABI
|
||||
|
|
Loading…
Reference in a new issue