2011/8/22 Bernhard Rosenkranzer bernhard.rosenkranzer@linaro.org:
On 21 August 2011 15:00, Michael Hope michael.hope@linaro.org wrote:
Sorry, silly question, but does Android use the glibc dynamic linker?
No, they really like reinventing the wheel. Bionic comes with its own dynamic linker.
hi Bernhard and Michael,
The dynamic linker is file "/system/bin/linker".
If not, does its linker support other hash styles?
It looks like it supports both the sysv and gnu styles. It uses libelf to do most of its ELF parsing, and libelf seems to do the right thing.
I don't think so. Since Android uses the libelfcopy[2], derived from some really old parts in binutils, providing the facilities about DWARF/ELF, we would need extra modifications like the attached patch.[*]
Also, bionic linker changes are required. Another attachment contains the 0xlab internal modifications.
Sincerely, -jserv
[*] The related patches are expected to be submitted to AOSP Gerrit recently.