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.
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.
Good. Using -march=armv7-a -mtune=cortex-a9 enables the Cortex-A8 fixups. Using a -mcpu=cortex-a9 disables them which means your build may not run on an A8.
Right... On really A9 specific builds (like Pandaboard), we may want to add -Wl,--no-fix-cortex-a8 as well so we don't get any penalties for old CPUs
gcc: Investigate Graphite optimizations that aren't even enabled at -O3: -fgraphite-identity -floop-block -floop-interchage -floop-strip-mine -ftree-loop-distribution -ftree-loop-linear
Looks good. I'd add SMS to the list as well: first -fmodulo-sched, then -fmodulo-sched -fmodulo-sched-allow-regmoves.
Good point
ttyl bero