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, master has been updated
via 6f3ed4e9d23a66883549fe96728e44d2d88c7af1 (commit)
from 91695f2bcb5884f8413c4c77314b957d97039b72 (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 6f3ed4e9d23a66883549fe96728e44d2d88c7af1
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Mon Nov 23 19:07:31 2015 +0100
xtensa: remove ldso workaround by real pointer check
An abort() is only generated when gcc does not implement
a trap handler for the target architecture.
This fixes the abort() generation. Latest gcc git master
also contains a trap handler for xtensa.
Signed-off-by: Max Filippov <jcmvbkbc(a)gmail.com>
Signed-off-by: Walemar Brodkorb <wbx(a)uclibc-ng.org>
-----------------------------------------------------------------------
Summary of changes:
ldso/include/tlsdeschtab.h | 2 ++
ldso/ldso/Makefile.in | 5 -----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/ldso/include/tlsdeschtab.h b/ldso/include/tlsdeschtab.h
index 86baea1..056f859 100644
--- a/ldso/include/tlsdeschtab.h
+++ b/ldso/include/tlsdeschtab.h
@@ -98,6 +98,8 @@ _dl_make_tlsdesc_dynamic (struct link_map *map, size_t ti_offset)
test.tlsinfo.ti_module = map->l_tls_modid;
test.tlsinfo.ti_offset = ti_offset;
entry = htab_find_slot (ht, &test, 1, hash_tlsdesc, eq_tlsdesc);
+ if (entry == NULL)
+ _dl_exit(1);
if (*entry)
{
td = *entry;
diff --git a/ldso/ldso/Makefile.in b/ldso/ldso/Makefile.in
index ffbb5cc..75c2a06 100644
--- a/ldso/ldso/Makefile.in
+++ b/ldso/ldso/Makefile.in
@@ -27,11 +27,6 @@ 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)
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
Show replies by date