diff options
Diffstat (limited to 'core/nds32/config_core.h')
-rw-r--r-- | core/nds32/config_core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/nds32/config_core.h b/core/nds32/config_core.h index d7a25d27da..750d47b016 100644 --- a/core/nds32/config_core.h +++ b/core/nds32/config_core.h @@ -10,6 +10,11 @@ #define BFD_ARCH nds32 #define BFD_FORMAT "elf32-nds32le" +/* + * The Andestar v3m architecture has no CLZ instruction (contrary to v3), + * so let's use the software implementation. + */ +#define CONFIG_SOFTWARE_CLZ /* * Force the compiler to use a proper relocation when accessing an external |