1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 20:30:37 +02:00
openwrt-xburst/toolchain
jow 66e6b2cd42 [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.

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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-05 21:38:38 +00:00
..
binutils [toolchain]: switch to binutils 2.20.1 (except for avr32 and ubicom32) 2010-11-02 13:57:04 +00:00
eglibc toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK 2010-08-19 12:49:51 +00:00
gcc [toolchain]: use gcc 4.3.5 for avr32 2010-11-04 14:18:04 +00:00
gdb toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK 2010-08-19 12:49:51 +00:00
glibc fix a compile error when compiling with glibc (#7816) 2010-09-01 15:21:43 +00:00
glibc-ports [toolchain] add support for glibc-2.4 (#5213) 2009-05-26 14:58:32 +00:00
insight toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK 2010-08-19 12:49:51 +00:00
kernel-headers toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK 2010-08-19 12:49:51 +00:00
llvm gcc: add llvm-gcc and llvm from trunk (does not successfully compile a target yet, but gets close) 2009-10-10 19:25:48 +00:00
uClibc [PATCH] ld.so: ldd crashes when __LDSO_SEARCH_INTERP_PATH__ is not #defined 2010-11-05 21:38:38 +00:00
Config.in [toolchain] move EABI config option out of GCC 2009-09-26 21:34:40 +00:00
info.mk [toolchain] uClibc cleanup: 2009-04-24 02:07:24 +00:00
Makefile add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point 2010-09-01 17:51:36 +00:00