[uclibc-nptl] missing dl_error_names string

Khem Raj kraj at mvista.com
Fri Mar 2 09:43:54 UTC 2007


Hi Steve

nptl-branch is missing a dl_error_names entry corresponding to new error 
code LD_ERROR_TLS_FAILED
This causes attached program to segfault.

Following patch fixes this issue on uclibc-nptl branch.

Thanks

-Khem

Index: uclibc-0.9.29/ldso/libdl/libdl.c
===================================================================
--- uclibc-0.9.29.orig/ldso/libdl/libdl.c
+++ uclibc-0.9.29/ldso/libdl/libdl.c
@@ -138,6 +138,7 @@ static const char *dl_error_names[] = {
        "Not an ELF shared library",
        "Unable to mmap file",
        "No dynamic section",
+       "Library contains unsupported TLS"
 #ifdef ELF_USES_RELOCA
        "Unable to process REL relocs",
 #else


-- 
Khem Raj <kraj at mvista.com>
MontaVista Software Inc.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dlerror-segfault.c
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20070302/9001db6c/attachment.diff 


More information about the uClibc mailing list