Explorar o código

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>
Vineet Gupta %!s(int64=10) %!d(string=hai) anos
pai
achega
b6e08a6715
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      ldso/ldso/Makefile.in

+ 2 - 0
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)\"