summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-17am 7a2648fe: Merge "host modules don\'t need LOCAL_MODULE_TAGS"android-sdk-support_r11android-cts-4.2_r1android-4.2_r1android-4.2.1_r1.2android-4.2.1_r1.1android-4.2.1_r1jb-mr1-releasejb-mr1-devJoe Onorato
* commit '7a2648fe50aa247381f00f23b31c3add2a74e741': host modules don't need LOCAL_MODULE_TAGS
2012-08-16Merge "host modules don't need LOCAL_MODULE_TAGS"tools_r21Joe Onorato
2012-06-13host modules don't need LOCAL_MODULE_TAGSJoe Onorato
Change-Id: Iedde090112f0fb0cb4f3fc5e6b2a3f0809f2a6cd
2012-04-25am 9f02779a: Fix MAC build. No longer needs to include malloc.h.Shih-wei Liao
* commit '9f02779af9fc6f8de19f3feb71e1ad01ebf517f6': Fix MAC build. No longer needs to include malloc.h.
2012-04-25Fix MAC build. No longer needs to include malloc.h.android-cts-4.1_r4android-cts-4.1_r2android-cts-4.1_r1android-4.1.2_r2.1android-4.1.2_r2android-4.1.2_r1android-4.1.1_r6.1android-4.1.1_r6android-4.1.1_r5android-4.1.1_r4android-4.1.1_r3android-4.1.1_r2android-4.1.1_r1.1android-4.1.1_r1jb-releasejb-mr0-releasejb-devShih-wei Liao
Change-Id: I5544688b2155a1b30ca04204605b7b9f18c7633a
2012-04-25Fix MAC build. No longer needs to include malloc.h.Shih-wei Liao
Change-Id: I5544688b2155a1b30ca04204605b7b9f18c7633a
2012-04-09am 7cb1b70e: Merge "Change LOCAL_LDFLAGS to LOCAL_LDLIBS to fix the build on ↵Stephen Hines
Ubuntu 11.10." * commit '7cb1b70e61d1f1c335fe81449660751d8ae9d74b': Change LOCAL_LDFLAGS to LOCAL_LDLIBS to fix the build on Ubuntu 11.10.
2012-04-09Merge "Change LOCAL_LDFLAGS to LOCAL_LDLIBS to fix the build on Ubuntu 11.10."android-sdk-adt_r20tools_r20ics-plus-aospStephen Hines
2012-04-09Change LOCAL_LDFLAGS to LOCAL_LDLIBS to fix the build on Ubuntu 11.10.Logan Chien
Change-Id: I75825ab1ff0675c9a602ad208701f15f9fab6bdc
2012-03-27Split rsloaderCreateExec into 2 functions.Logan Chien
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-24Minor fixes: Addressed the comments.Shih-wei Liao
Change-Id: I77272e75addffb27e6c6c5ef914a681d79847dae
2012-03-23Find the symbol with the callback for R_ARM_ABS32.Logan Chien
Change-Id: Ibe622b6ace3b01281a6b28a28728b227cac6fa1d
2012-03-02Code cleanup.Shih-wei Liao
Change-Id: I843b676e28865bd24a020259ee8b52faa32be819
2012-03-02Fix R_..._CALL. Add T:testcases.Shih-wei Liao
Change-Id: Icbce6457f903d36ea9b502c179e9179df9b93217
2012-03-02LLVM no longer generates R_ARM_NONE.Shih-wei Liao
Change-Id: Ic0c2681b0a7fd57e9d9c514361d98d12dc1563e8
2012-03-02Align section boundary to 4 bytes.Shih-wei Liao
Change-Id: Ib3d6041cf962247e705c50ecf9960affef9477ef
2012-03-02Support:T.Shih-wei Liao
Change-Id: Ib54a93ea6d6a63df710679b70aab67feb578e67d
2012-03-01am c9035479: Merge "Remapping ELF section headers to match loaded code"Stephen Hines
* commit 'c9035479f5740de231117ea47d3a6e9b477b173d': Remapping ELF section headers to match loaded code
2012-03-01Merge "Remapping ELF section headers to match loaded code"Stephen Hines
2012-02-29Remapping ELF section headers to match loaded codeStephen Hines
Remap ELF headers when rsloaderCreateExec is called so the object can be registered with GDB. Change-Id: I89de5caaee8caad5136d817698cf9fc8a5bd545b
2012-02-26Fix standalone build script.Logan Chien
Change-Id: I564d260a1f381b0f11b35fd0e579b3088313d27e
2012-02-26Cast void* type to intptr_t before we cast it to int32_t.Logan Chien
Change-Id: I1d55bcc8784401ffe07f3b40761877ee02302f84
2012-02-02Check for unresolved symbols before returning executable.Stephen Hines
BUG=5955072 Change-Id: Ia2a260003ba2e8ca0bfb68154fb5f306148ac5a0
2012-01-14Improve readability.Shih-wei Liao
Change-Id: Ie9f34a13ba41ed2aafc1c04945a29d4019b71d35
2012-01-13Remove hard-wired dependency on __mips__ in ELFSymbol_CRTP<>::getAddress()Andrew Hsieh
Change-Id: I5bc2eca34c6548b0ea678280ef8f017383c869d0
2012-01-13Define __HOST__, and replace dependency on __arm__ with it in ASSERT_FAILED()Andrew Hsieh
Change-Id: I45d12a796ccf893c796ac99df08bb8da9fd85c17
2012-01-08Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I6e09d0bd1200ee1326209feccec90c2344254a78
2011-12-29Change LOCAL_LDFLAGS to LOCAL_LDLIBS to fix the build on Ubuntu 11.10.Logan Chien
Change-Id: I75825ab1ff0675c9a602ad208701f15f9fab6bdc
2011-12-27Fix incorrect definition (now llvm defines it).Logan Chien
Change-Id: I70f4da8394fddd4c1cef16da40639dd81325769d
2011-12-09Switch LOGE to ALOGV for non-error messages.Stephen Hines
Change-Id: I2518f38a3e83c91e4cb5f190aa00d7f51b741343
2011-11-27Use cacheflush system call to flush the cache on MIPS.Logan Chien
Change-Id: Iae9691fefef14e5b07171b145376bbb521b8b25a
2011-11-26Add GOT code for host build.Logan Chien
Change-Id: Ifde6aa05ebfbda99b869c96c2cb49b7e69734f7e
2011-11-26Fixed AHL calculation.Chao-ying Fu
Change-Id: Iad80b33d9c490088e664c3b7a9e4c91e09b6448c
2011-11-26Fixed the compilation errors for GOT.Chao-ying Fu
Change-Id: I1ebfb4830903dea99ce37bc7f4708ec2d03e9317
2011-11-26Fixed relocation types and added GOT supports.Chao-ying Fu
Change-Id: I7803a4f6a52a237b16c67adc09948705d4fc5533
2011-11-25Update standalone build script for cross compilation.Logan Chien
Change-Id: If2af6f23625c4e1250cfc59cabd7fc620ba83773
2011-11-22Clean up trailing whitespaces.Shih-wei Liao
Change-Id: I1b1ad3cd31074a316673844ba327df2a50b0873a
2011-11-22Remove unused debug code.Logan Chien
Change-Id: I26d1eccf96dc1557cf2663561a8ee2b5c96bdca8
2011-11-22Enhance to relocate cross-compiled binaryAndrew Hsieh
Change-Id: I070a3a8a2d1d5f5b18e4062a299ecc9cb5e92a51
2011-11-22Include rsl_assert header.Logan Chien
Change-Id: Ic6e29e4c352e0016288b8cf0bbd8767c76d33516
2011-11-22Use static relocation model.Logan Chien
Change-Id: I36ddfdeb5d3d1e62ef99c0393233c33cc62d3a79
2011-11-22Add mips routine for far stubs.Logan Chien
Change-Id: Ia78369067aa89369dabdbaeb844cfc0a08c18714
2011-11-22Add the stub related test cases.Logan Chien
Change-Id: I9f32ea4b0e26216cfc45a69f6a59f5bd247ab6e9
2011-11-22Eliminate a warning while generating the test cases.Logan Chien
Change-Id: Iee7a98e21b6006eeb7f95d465727b5f5e6f10bd5
2011-11-22Remove the generated binary.Logan Chien
You can generate the test case object files by running gen-testcases.sh. Change-Id: Ib8b3ffd4a522447e06098f564d720e5af5c3b13a
2011-11-21Re-enable mmap() address randomization (got turned off by accident)Andrew Hsieh
Change-Id: Ie1c75ba5861bebf7a4f9d084f8fda66d8d6da07b
2011-11-18Surpress pointer to uint32_t cast warning.Logan Chien
Since these code is only for ARM architecture, we should use 32bit unsigned integer to store address. However, this casting may cause compilation warning on the other platform. So we are going to cast to uintptr_t then truncate to uint32_t. Change-Id: I5f43f57306e2a1eac75708dd59fd8599d046aad9
2011-11-16Fix linker bug where addend != 0 for High16 and Low16.Shih-wei Liao
Change-Id: I74b3b87741952b0b441bd440630b4e92b2a9c0a1
2011-11-17Fix "still too far" bug.Logan Chien
Before this commit, we are only generating stubs for external functions. However, it is possible that two PROGBITS sections are far from each other, and result in "still too far" assertion failure. In order to fix this problem, we have to generate stubs for both internal and external functions. Change-Id: I27adf50abf508c80fdedc36e97f288b123ccb22d
2011-11-12Conform to PP 4-16 to 4-19 in ↵android-sdk-4.0.3_r1android-sdk-4.0.3-tools_r1android-cts-verifier-4.0_r1android-cts-verifier-4.0.3_r1android-cts-4.0.3_r2android-cts-4.0.3_r1android-4.0.4_r2.1android-4.0.4_r2android-4.0.4_r1.2android-4.0.4_r1.1android-4.0.4_r1android-4.0.3_r1.1android-4.0.3_r1ics-mr1-releaseShih-wei Liao
http://www.sco.com/developers/devspecs/mipsabi.pdf. Fix to allow Bit 15 overflow. Change-Id: I9ff679ffba3b6139d929291e6d857d03d57cece4