Go to file
David 'Digit' Turner 077891b199 linker: Fix the computation of si->base
The computation of si->base assumed that the first entry in the
program header table is a PT_PHDR. This results in the dynamic
linker crashing with a SIGSEGV/MAPERR when trying to load some
of the NDK unit test programs, which happen to have an EXIDX
header first, followed byu a PHDR one.

This patch fixes the computation by parsing the program header
table, looking explicitely for the PHDR entry. This fixes the
load of the NDK unit test programs, and doesn't affect system
libraries.

Change-Id: Id18ea6037dbe950b5abbbce816c2960321f0b81d
2012-05-15 09:58:33 -07:00
libc Add linker support for PIE 2012-05-15 09:56:32 -07:00
libdl MIPS support to libm, libdl and libthread_db 2012-05-04 11:34:40 -07:00
libm MIPS support to libm, libdl and libthread_db 2012-05-04 11:34:40 -07:00
libstdc++ libstdc++: Fix x86 thread-safe one-time-construction implementation. 2012-04-16 14:20:30 +08:00
libthread_db MIPS support to libm, libdl and libthread_db 2012-05-04 11:34:40 -07:00
linker linker: Fix the computation of si->base 2012-05-15 09:58:33 -07:00
.gitignore Merge memory checking functionality from sandbox 2010-02-16 11:43:18 -08:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:11:41 -07:00
CleanSpec.mk Add an empty CleanSpec.mk 2010-03-08 18:04:02 -08:00
MAINTAINERS added and modified libm to support SuperH architecture 2009-08-31 16:25:42 +09:00
ThirdPartyProject.prop add meta-files about 3rd party projects 2010-07-16 11:41:33 -07:00