This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, 1.0 has been updated
via 69ba9dcaa13bb8bbdc8630265d73298c39945416 (commit)
from d4389d613cc49f776fffe5ee0f9af854e9a93074 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 69ba9dcaa13bb8bbdc8630265d73298c39945416
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Fri Feb 20 12:02:48 2015 -0600
gcc 4.9.x produces some calls to abort()
For sh4/xtensa architectures there is an optimization
bug, which does not allow to compile ld.so with gcc 4.9.2.
Disable this optimization for sh4/xtensa and ld.so compile.
-----------------------------------------------------------------------
Summary of changes:
ldso/ldso/Makefile.in | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/ldso/ldso/Makefile.in b/ldso/ldso/Makefile.in
index e0d0a09..56f4a45 100644
--- a/ldso/ldso/Makefile.in
+++ b/ldso/ldso/Makefile.in
@@ -27,6 +27,14 @@ 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
+ifeq ($(TARGET_ARCH),sh)
+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)
hooks/post-receive
--
uClibc-ng - small C library for embedded systems