path: root/android
AgeCommit message (Collapse)AuthorFilesLines
2012-03-27Split rsloaderCreateExec into 2 functions.Logan Chien2-12/+36
In some scenerio, such as cross-compilation, we have to load the ELF object file but not relocate them. Thus, we are going to provide 2 functions: 1. rsloaderLoadExecutable 2. rsloaderRelocateExecutable So that we can load the executable WITHOUT relocation. The behavior of rsloaderCreateExec is remained unchanged in this commit, though rsloaderCreateExec will become the composition of these 2 functions. Change-Id: Idb64aa77ac53161aa95879ccad8f46ce56c1d993
2012-03-01am c9035479: Merge "Remapping ELF section headers to match loaded code"Stephen Hines2-2/+27
* commit 'c9035479f5740de231117ea47d3a6e9b477b173d': Remapping ELF section headers to match loaded code
2012-02-29Remapping ELF section headers to match loaded codeStephen Hines2-2/+27
Remap ELF headers when rsloaderCreateExec is called so the object can be registered with GDB. Change-Id: I89de5caaee8caad5136d817698cf9fc8a5bd545b
2012-02-02Check for unresolved symbols before returning executable.Stephen Hines1-0/+3
BUG=5955072 Change-Id: Ia2a260003ba2e8ca0bfb68154fb5f306148ac5a0
2012-01-13Remove hard-wired dependency on __mips__ in ELFSymbol_CRTP<>::getAddress()Andrew Hsieh1-1/+3
Change-Id: I5bc2eca34c6548b0ea678280ef8f017383c869d0
2012-01-08Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block1-1/+1
See Bug: 5449033 Change-Id: I6e09d0bd1200ee1326209feccec90c2344254a78
2011-12-09Switch LOGE to ALOGV for non-error messages.Stephen Hines1-2/+2
Change-Id: I2518f38a3e83c91e4cb5f190aa00d7f51b741343
2011-07-01Use llvm/Support/ELF.h.TDYa1271-1/+0
2011-07-01Expose the interface for function name listing.Logan Chien2-0/+26
2011-06-19Fix librsloader.cpp, librsloader.h, and test-librsloader.c: Add prologue.Shih-wei Liao3-0/+48
Change-Id: I3ee6b2b78f5da7d6f92af9675fa2fc7c74a0207b
2011-06-17Add rsloaderGetSymbolSize for libbcc disassembler.Logan Chien2-0/+22
2011-06-14Change assert to rsl_assert.TDYa1271-2/+2
2011-06-14Add "Don't auto allocate" mode for ELFSymbol::getAddress.Logan Chien1-1/+1
2011-06-13Enhance error checking for symbol lookup.Logan Chien1-1/+13
2011-06-12Wrap rsloader as a static library.Logan Chien3-0/+180