summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-06-26 11:33:33 +0530
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-07-22 09:50:50 +0200
commitb6e08a6715893aaf52afd37b1201a600b0a6b81e (patch)
tree473716da18d1f4938cf4839132bb15094fce8816 /ldso
parent84108f44ccbb94f9d34b13beefa1e2527807fdbc (diff)
ARC: ldso: Dont force frame pointer as it useless for unwinding on ARC
Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/Makefile.in2
1 files changed, 2 insertions, 0 deletions
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)\"