source:
patches/eglibc-2.13-r13356-dl_dep_fix-1.patch@
d66ee74
Last change on this file since d66ee74 was 7d97f36, checked in by , 14 years ago | |
---|---|
|
|
File size: 1.1 KB |
-
elf/dl-deps.c
Submitted By: Joe Ciccone <jciccone@gmail.com> Date: 2011-04-16 Initial Package Version: 2.13 r13356 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. diff -Naur eglibc-2.13.orig/elf/dl-deps.c eglibc-2.13/elf/dl-deps.c
old new 491 491 if (errno == 0 && errno_saved != 0) 492 492 __set_errno (errno_saved); 493 493 494 if (errno_reason) 495 _dl_signal_error (errno_reason == -1 ? 0 : errno_reason, objname, 496 NULL, errstring); 497 494 498 struct link_map **old_l_initfini = NULL; 495 499 if (map->l_initfini != NULL && map->l_type == lt_loaded) 496 500 { … … 683 687 } 684 688 if (old_l_initfini != NULL) 685 689 _dl_scope_free (old_l_initfini); 686 687 if (errno_reason)688 _dl_signal_error (errno_reason == -1 ? 0 : errno_reason, objname,689 NULL, errstring);690 690 }
Note:
See TracBrowser
for help on using the repository browser.