nds32: lib: To use generic lib instead of libgcc to prevent the symbol undefined...
authorGreentime Hu <greentime@andestech.com>
Thu, 19 Apr 2018 03:06:31 +0000 (11:06 +0800)
committerGreentime Hu <greentime@andestech.com>
Wed, 23 May 2018 05:26:20 +0000 (13:26 +0800)
commitaeaa7af744fadf5fa03bdea2d12ecc0fa2a41542
tree20bb61f725d8559c5b913d3ced8ead5d518bca11
parent771c577c23bac90597c685971d7297ea00f99d11
nds32: lib: To use generic lib instead of libgcc to prevent the symbol undefined issue.

We can use the generic lib to fix these error because the symbol of
libgcc in toolchain is not exported.

ERROR: "__ucmpdi2" [fs/xfs/xfs.ko] undefined!
ERROR: "__ashrdi3" [fs/xfs/xfs.ko] undefined!
ERROR: "__lshrdi3" [fs/xfs/xfs.ko] undefined!
ERROR: "__ashldi3" [fs/ntfs/ntfs.ko] undefined!
...

Signed-off-by: Greentime Hu <greentime@andestech.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/nds32/Kconfig
arch/nds32/Makefile