diff mbox

[4/6] ARC: ldso: Dont force frame pointer as it useless for unwinding on ARC

Message ID 1403762615-25145-5-git-send-email-vgupta@synopsys.com
State Accepted
Headers show

Commit Message

Vineet Gupta June 26, 2014, 6:03 a.m. UTC
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
 ldso/ldso/Makefile.in | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/ldso/ldso/Makefile.in b/ldso/ldso/Makefile.in
index 91165c63d656..d4866c9f8f24 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)\"