source:
patches/eglibc-2.15-r16526-dl_dep_fix-1.patch@
8518b40
Last change on this file since 8518b40 was 35e7499, checked in by , 13 years ago | |
---|---|
|
|
File size: 1.1 KB |
-
elf/dl-deps.c
Submitted By: Jonathan Norman (jonathan at bluesquarelinux dot co dot uk) Date: 2012-02-26 Initial Package Version: 2.15 r16526 Origin: Andreas Schwab Via http://sourceware.org/ml/libc-hacker/2011-02/msg00002.html Upstream Status: Unknown, In Bugzilla Description: If a ELF binaries dependencies are missing it was causing a signal too early. Rediffed by Jonathan Norman for Eglibc 2.15 diff -Naur eglibc-2.15.orig/elf/dl-deps.c eglibc-2.15/elf/dl-deps.c
old new 502 502 if (errno == 0 && errno_saved != 0) 503 503 __set_errno (errno_saved); 504 504 505 if (errno_reason) 506 _dl_signal_error (errno_reason == -1 ? 0 : errno_reason, objname, 507 NULL, errstring); 508 505 509 struct link_map **old_l_initfini = NULL; 506 510 if (map->l_initfini != NULL && map->l_type == lt_loaded) 507 511 { … … 699 703 if (old_l_initfini != NULL) 700 704 map->l_orig_initfini = old_l_initfini; 701 705 702 if (errno_reason)703 _dl_signal_error (errno_reason == -1 ? 0 : errno_reason, objname,704 NULL, errstring);705 706 }
Note:
See TracBrowser
for help on using the repository browser.