path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2012-02-26Cast void* type to intptr_t before we cast it to int32_t.Logan Chien1-1/+1
Change-Id: I1d55bcc8784401ffe07f3b40761877ee02302f84
2011-11-26Fixed the compilation errors for GOT.Chao-ying Fu1-11/+0
Change-Id: I1ebfb4830903dea99ce37bc7f4708ec2d03e9317
2011-11-26Fixed relocation types and added GOT supports.Chao-ying Fu1-0/+74
Change-Id: I7803a4f6a52a237b16c67adc09948705d4fc5533
2011-11-22Clean up trailing whitespaces.Shih-wei Liao1-3/+2
Change-Id: I1b1ad3cd31074a316673844ba327df2a50b0873a
2011-11-22Enhance to relocate cross-compiled binaryAndrew Hsieh1-25/+15
Change-Id: I070a3a8a2d1d5f5b18e4062a299ecc9cb5e92a51
2011-11-22Include rsl_assert header.Logan Chien1-0/+1
Change-Id: Ic6e29e4c352e0016288b8cf0bbd8767c76d33516
2011-11-22Add mips routine for far stubs.Logan Chien1-5/+21
Change-Id: Ia78369067aa89369dabdbaeb844cfc0a08c18714
2011-11-21Re-enable mmap() address randomization (got turned off by accident)Andrew Hsieh1-1/+1
Change-Id: Ie1c75ba5861bebf7a4f9d084f8fda66d8d6da07b
2011-11-16Fix linker bug where addend != 0 for High16 and Low16.Shih-wei Liao1-0/+2
Change-Id: I74b3b87741952b0b441bd440630b4e92b2a9c0a1
2011-11-17Fix "still too far" bug.Logan Chien1-0/+9
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-10Fix relocations in linking loader.Shih-wei Liao1-0/+1
Remember to flush cache when needed. Otherwise I-cache and d-cache may become incoherent. Change-Id: I47f1745ff6e9fc3600cff783f27a2c566fc4b05f
2011-07-05Use arbitrary address instead of 0x7e000000.Shih-wei Liao1-1/+13
Change-Id: I05d8a1be0dce1b006bf02893f171fae04d236ec8
2011-07-01Fix Mac build.Ying Wang1-1/+1
Change-Id: I6cbbcf51d570407b4ee2a1f15c45a9c6d3cf0d61
2011-07-02Fix MemChunk print range.Logan Chien1-1/+1
2011-07-01Use llvm/Support/ELF.h.TDYa1273-4/+3
2011-06-19Prologuing ELFHeader.cpp, ELFSectionHeader.cp, ELFSymbol.cpp...Shih-wei Liao6-0/+96
and ELFTypes.cpp, MemChunk.cpp, StubLayout.cpp. Change-Id: I43d39b92d64cfedc56ce363ffe8c26202a4a8b41
2011-06-14Split MemChunk to independent compilation unit.Logan Chien1-0/+64
2011-06-13Implement a new stub allocation policy.Logan Chien1-38/+22
The new allocation policy will allocate the stub table with the .text section. So that we can guarantee that the stub will be near enough.
2011-06-12Rename ELFSectionSymTabEntry to ELFSymbol.Logan Chien1-4/+4
2011-06-12Code refactoring.Logan Chien5-0/+282