summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-09 13:45:42 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-13 00:26:40 -0500
commitbbe05b64872728cd3d78ed0ef06ac963a40c4400 (patch)
tree028f097e7b2e63f71fc64d491b457cd27bd599bb /ldso
parent64464f53eb2748ee9c615775a347685f2115d040 (diff)
still required for xtensa
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/ldso/ldso/Makefile.in b/ldso/ldso/Makefile.in
index 815264291..a0ae7b3cd 100644
--- a/ldso/ldso/Makefile.in
+++ b/ldso/ldso/Makefile.in
@@ -27,6 +27,11 @@ CFLAGS-$(DODEBUG)-ldso/ldso := -O2 -g
CFLAGS-ldso.c := -DLDSO_ELFINTERP=\"$(TARGET_ARCH)/elfinterp.c\"
+# avoid ld.so linking error since gcc 4.9.x: undefined reference to abort
+ifeq ($(TARGET_ARCH),xtensa)
+CFLAGS-ldso.c += -fno-delete-null-pointer-checks
+endif
+
LDFLAGS-$(UCLIBC_FORMAT_DSBT_ELF)-$(UCLIBC_LDSO_NAME).so := -Wl,--dsbt-index=1
ifneq ($(SUPPORT_LD_DEBUG),y)
LDFLAGS-$(UCLIBC_LDSO_NAME).so := $(LDFLAGS)