[Bug 3133] New: LDSO_STANDALONE_SUPPORT does not work on ARM
bugzilla at busybox.net
bugzilla at busybox.net
Tue Jan 25 12:25:48 UTC 2011
https://bugs.busybox.net/show_bug.cgi?id=3133
Summary: LDSO_STANDALONE_SUPPORT does not work on ARM
Product: uClibc
Version: 0.9.30.1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Shared Library Support
AssignedTo: unassigned at uclibc.org
ReportedBy: sven-ola at gmx.de
CC: uclibc-cvs at uclibc.org
Estimated Hours: 0.0
Created attachment 2875
--> https://bugs.busybox.net/attachment.cgi?id=2875
Fix LDSO_STANDALONE_SUPPORT
I've added the LDSO_STANDALONE_SUPPORT patch posted on the uclibc-mailing-list
in sept-2010. The patch should add the standalone-run feature to the
ld-uClibc.so program (that is: specifiy a binary to run on the command line).
This does not work, because of a minor flaw in ldso/ldso/dl-elf.c. This is the
scenario:
exec: ./lib/ld-uClibc.so.0 ./bin/busybox
call to _dl_load_elf_shared_library()
minvma value extracted from segment->p_vaddr (== 0x8000)
minvma &= ~0xffff (== set to zero)
mmap(zero, ..., MAP_FIXED) (== invalid from kernel)
This is at least true for Linux sgt 2.6.32.9 #1 Thu Nov 25 23:27:59 KST 2010
armv7l GNU/Linux (that is a Samsung-Galaxy-Tab mobile phone running
Debian-Squeeze-Armel).
Attached Patch solves this -> needs sensible review by some ld.so wizard.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list