diff --git a/litex/soc/cores/cpu/blackparrot/core.py b/litex/soc/cores/cpu/blackparrot/core.py index 0f9d3df2e..d17f5e38f 100644 --- a/litex/soc/cores/cpu/blackparrot/core.py +++ b/litex/soc/cores/cpu/blackparrot/core.py @@ -83,6 +83,7 @@ class BlackParrot(CPU): flags = "-mno-save-restore " flags += GCC_FLAGS[self.variant] flags += "-D__blackparrot__ " + flags += "-mcmodel=medany" return flags def __init__(self, platform, variant="standard"):