Input for an "optimized" slide
Jim Huang
jserv at 0xlab.org
Mon Aug 22 19:39:46 UTC 2011
2011/8/22 Bernhard Rosenkranzer <bernhard.rosenkranzer at linaro.org>:
> On 21 August 2011 15:00, Michael Hope <michael.hope at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Basic-GNU-style-hash-support-for-elfcopy.patch
Type: text/x-diff
Size: 2662 bytes
Desc: not available
URL: <http://lists.linaro.org/pipermail/linaro-dev/attachments/20110823/8f4588f7/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-GNU-style-hash-support-for-linker.patch
Type: text/x-diff
Size: 9955 bytes
Desc: not available
URL: <http://lists.linaro.org/pipermail/linaro-dev/attachments/20110823/8f4588f7/attachment-0003.patch>
More information about the linaro-dev
mailing list