diff --git a/arch/arc/config.mk b/arch/arc/config.mk index 13676bd0c8e178bc36d5e410e3416c2a08b5b224..3ed0c282bae0b42689d5baf9c1ae9c26981f0681 100644 --- a/arch/arc/config.mk +++ b/arch/arc/config.mk @@ -50,7 +50,7 @@ ifdef CONFIG_CPU_ARCHS38 PLATFORM_CPPFLAGS += -mcpu=archs endif -PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2 +PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2 -mno-sdata # Needed for relocation LDFLAGS_FINAL += -pie