From b6e08a6715893aaf52afd37b1201a600b0a6b81e Mon Sep 17 00:00:00 2001 From: Vineet Gupta Date: Thu, 26 Jun 2014 11:33:33 +0530 Subject: ARC: ldso: Dont force frame pointer as it useless for unwinding on ARC Signed-off-by: Vineet Gupta Signed-off-by: Bernhard Reutner-Fischer --- ldso/ldso/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ldso/ldso/Makefile.in b/ldso/ldso/Makefile.in index 91165c63d..d4866c9f8 100644 --- a/ldso/ldso/Makefile.in +++ b/ldso/ldso/Makefile.in @@ -9,8 +9,10 @@ subdirs += ldso/ldso/$(TARGET_ARCH) CFLAGS-ldso := -DNOT_IN_libc -DIS_IN_rtld $(SSP_DISABLE_FLAGS) +ifneq ($(TARGET_ARCH),arc) # This stuff will not work with -fomit-frame-pointer CFLAGS-ldso += -fno-omit-frame-pointer +endif CFLAGS-ldso += -I$(top_srcdir)ldso/ldso/$(TARGET_ARCH) -I$(top_srcdir)ldso/include -I$(top_srcdir)ldso/ldso CFLAGS-ldso += -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" -DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\" -- cgit v1.2.3