openwrtv3/toolchain/uClibc/patches-0.9.31
Jo-Philipp Wich 12b122f31f ld.so: ldd crashes when __LDSO_SEARCH_INTERP_PATH__ is not #defined Since b65c7b2c79debcb9017e31913e01eeaa280106fb, the implicit search path can be disabled by not #defining __LDSO_SEARCH_INTERP_PATH__. This causes _dl_ldsopath to never be set, so it remains NULL. _dl_ldsopath is still used when __LDSO_LDD_SUPPORT__ is #defined, to strip the path off of the beginning of the absolute path to the ld.so interpreter in use for printing. The _dl_strlen will crash with a NULL argument.
Rather than relying on _dl_ldsopath, this change causes ldd to compute
the interpreter's basename directly.

glibc ld.so seems to print the full path to the interpreter without
any computed basename or =>. I personally prefer glibc's behavior, but
to preserve backwards compatibility with uClibc ld.so, the existing
format with the computed basename, =>, and full path is used here. This
enables simpler (and unchanged) text processing in a pipeline.

Signed-off-by: Mark Mentovai <mark at moxienet.com>

SVN-Revision: 23892
2010-11-05 21:38:38 +00:00
..
110-compat_macros.patch toolchain/uClibc: add preliminary support for 0.9.31 (needs testing) 2010-04-15 05:59:10 +00:00
120-adjtimex.patch toolchain/uClibc: add preliminary support for 0.9.31 (needs testing) 2010-04-15 05:59:10 +00:00
130-ldso-fix-__dl_parse_dynamic_info-segfault.patch ld.so: ldd crashes when __LDSO_SEARCH_INTERP_PATH__ is not #defined Since b65c7b2c79debcb9017e31913e01eeaa280106fb, the implicit search path can be disabled by not #defining __LDSO_SEARCH_INTERP_PATH__. This causes _dl_ldsopath to never be set, so it remains NULL. _dl_ldsopath is still used when __LDSO_LDD_SUPPORT__ is #defined, to strip the path off of the beginning of the absolute path to the ld.so interpreter in use for printing. The _dl_strlen will crash with a NULL argument. 2010-11-05 21:38:38 +00:00
140-math_decl.patch toolchain/uClibc: add preliminary support for 0.9.31 (needs testing) 2010-04-15 05:59:10 +00:00
170-math_finite.patch toolchain/uClibc: add preliminary support for 0.9.31 (needs testing) 2010-04-15 05:59:10 +00:00
410-llvm_workaround.patch toolchain/uClibc: add preliminary support for 0.9.31 (needs testing) 2010-04-15 05:59:10 +00:00
450-powerpc_copysignl.patch toolchain/uClibc: add preliminary support for 0.9.31 (needs testing) 2010-04-15 05:59:10 +00:00
600-ubicom32-uClibc.patch toolchain/uClibc: add preliminary support for 0.9.31 (needs testing) 2010-04-15 05:59:10 +00:00
901-MIPS-restore-INLINE_SYSCALL-macro.patch toolchain/uClubc-0.9.31: fix syscalls on MIPS 2010-04-15 19:28:10 +00:00
902-Fix-use-after-free-bug-in-__dns_lookup.patch toolchain/uClibc: add preliminary support for 0.9.31 (needs testing) 2010-04-15 05:59:10 +00:00
903-fcntl64_fix.patch add upstream uclibc 0.9.31 patch to fix fcntl64 on 64-bits targets 2010-05-19 09:05:10 +00:00