Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [lld][ELF] Add modified writer | Shankar Easwaran | 2013-03-03 | 1 | -0/+38 | |
| | | | | llvm-svn: 176425 | |||||
* | [lld][ELF] rename to add new support in the ELF Writer | Shankar Easwaran | 2013-03-03 | 2 | -26/+9 | |
| | | | | llvm-svn: 176424 | |||||
* | [ELF] rename Writer to ExecutableWriter | Shankar Easwaran | 2013-03-03 | 2 | -1/+1 | |
| | | | | llvm-svn: 176416 | |||||
* | [ELF][Hexagon] add initial changes to add GOT/PLT | Shankar Easwaran | 2013-03-03 | 5 | -0/+277 | |
| | | | | llvm-svn: 176415 | |||||
* | move dynamic linking atoms to Atoms.h | Shankar Easwaran | 2013-03-01 | 3 | -129/+160 | |
| | | | | llvm-svn: 176370 | |||||
* | [Writer][ELF][x86-64] Handle GOTPCREL relocations to SharedLibraryAtoms. | Michael J. Spencer | 2013-03-01 | 1 | -0/+25 | |
| | | | | llvm-svn: 176324 | |||||
* | [ELF][x86-64] Only emit a PLT entry for a PLT relocation if the target atom ↵ | Michael J. Spencer | 2013-03-01 | 1 | -1/+2 | |
| | | | | | | | | | | is a SharedLibraryAtom. This seems to be what ld does, but I'm not sure how it works with symbol interposition. With this hello-world with glibc dynamically linked works. llvm-svn: 176310 | |||||
* | Add basic linker script parsing. | Michael J. Spencer | 2013-03-01 | 4 | -5/+398 | |
| | | | | llvm-svn: 176309 | |||||
* | [ELF][Hexagon] add quickdata relocations | Shankar Easwaran | 2013-02-28 | 6 | -15/+54 | |
| | | | | llvm-svn: 176298 | |||||
* | [ELF][x86-64] Separate static and dynamic GOT/PLT generation. | Michael J. Spencer | 2013-02-28 | 4 | -28/+152 | |
| | | | | llvm-svn: 176294 | |||||
* | [ELF] Set header flags to 0 by default | Shankar Easwaran | 2013-02-28 | 2 | -3/+6 | |
| | | | | llvm-svn: 176279 | |||||
* | [ELF][Hexagon] change Header flags | Shankar Easwaran | 2013-02-28 | 1 | -0/+9 | |
| | | | | llvm-svn: 176278 | |||||
* | [lld][ELF][Hexagon] add more relocations | Shankar Easwaran | 2013-02-28 | 2 | -26/+100 | |
| | | | | llvm-svn: 176277 | |||||
* | [lld][ELF] Order segments | Shankar Easwaran | 2013-02-27 | 4 | -79/+220 | |
| | | | | llvm-svn: 176207 | |||||
* | fixing build error properly according to comment from David | Shankar Easwaran | 2013-02-27 | 1 | -2/+1 | |
| | | | | llvm-svn: 176169 | |||||
* | adding a return to fix compilation error from buildbot, build #75 | Shankar Easwaran | 2013-02-27 | 1 | -0/+1 | |
| | | | | llvm-svn: 176167 | |||||
* | fixing typo in header file | Shankar Easwaran | 2013-02-27 | 3 | -3/+6 | |
| | | | | llvm-svn: 176162 | |||||
* | [ELF][Writer] Add dynamic relocation tables. | Michael J. Spencer | 2013-02-27 | 3 | -20/+128 | |
| | | | | | | | This adds separate PLT and dynamic relocation tables. It also fills in the dynamic table entries for them. llvm-svn: 176150 | |||||
* | [ELF][Writer] Fill in dynamic table entries. | Michael J. Spencer | 2013-02-25 | 1 | -1/+54 | |
| | | | | llvm-svn: 176045 | |||||
* | [ELF][Hexagon] add _SDA_BASE_(absolute symbol pointing to start of quickdata) | Shankar Easwaran | 2013-02-24 | 5 | -2/+57 | |
| | | | | llvm-svn: 175997 | |||||
* | [ELF] Change functions to virtual, in ExecutableAtoms | Shankar Easwaran | 2013-02-24 | 1 | -7/+7 | |
| | | | | llvm-svn: 175993 | |||||
* | [ELF]Change name of runtime files, so that targets can change runtime files ↵ | Shankar Easwaran | 2013-02-24 | 1 | -3/+4 | |
| | | | | | | that they own llvm-svn: 175992 | |||||
* | [ELF][Hexagon]add typeZeroFillFast | Shankar Easwaran | 2013-02-24 | 8 | -18/+43 | |
| | | | | llvm-svn: 175983 | |||||
* | [ELF][Writer] Add hash table. | Michael J. Spencer | 2013-02-23 | 2 | -0/+41 | |
| | | | | llvm-svn: 175972 | |||||
* | [ELF][Writer] Add a PHDR program table entry for dynamic files. | Michael J. Spencer | 2013-02-23 | 2 | -0/+23 | |
| | | | | llvm-svn: 175951 | |||||
* | [ELF][Writer] Add dynamic string and symbol table. | Michael J. Spencer | 2013-02-23 | 2 | -58/+115 | |
| | | | | llvm-svn: 175941 | |||||
* | sort quickdata for the hexagon target | Shankar Easwaran | 2013-02-22 | 8 | -24/+173 | |
| | | | | llvm-svn: 175904 | |||||
* | add changes for typeDataFast | Shankar Easwaran | 2013-02-22 | 8 | -43/+157 | |
| | | | | llvm-svn: 175901 | |||||
* | [ELF][Writer] Add .interp section. | Michael J. Spencer | 2013-02-20 | 3 | -1/+32 | |
| | | | | llvm-svn: 175657 | |||||
* | [ELF][Writer] Add dynamic table. | Michael J. Spencer | 2013-02-20 | 4 | -2/+56 | |
| | | | | llvm-svn: 175654 | |||||
* | rename fixupAddend to relocAddend | Shankar Easwaran | 2013-02-20 | 2 | -2/+2 | |
| | | | | llvm-svn: 175638 | |||||
* | functionality to handle global atoms in Merge sections | Shankar Easwaran | 2013-02-20 | 4 | -22/+51 | |
| | | | | llvm-svn: 175636 | |||||
* | [ELF] Fix memory leak by deleting BumpPtr allocated objects. | Michael J. Spencer | 2013-02-19 | 4 | -38/+40 | |
| | | | | llvm-svn: 175558 | |||||
* | Switch a vector<pair<const T &, const U &>> to a vector<pair<const T *, | Chandler Carruth | 2013-02-19 | 1 | -7/+7 | |
| | | | | | | | | | | | const U *>>. Even in C++11 it doesn't seem this is valid as vector's emplace support requires move assignment, and there is no way to move assign a reference. The real motivation however is that this fixes the build of lld with libstdc++ 4.6. llvm-svn: 175481 | |||||
* | [Core,Driver,ELF] Differentiate static and dynamic executables. | Michael J. Spencer | 2013-02-14 | 6 | -62/+120 | |
| | | | | | | | This also adds a simple relocation change for dynamic executables to x86-64 ELF. llvm-svn: 175208 | |||||
* | [ELF][Writer] Refactor Section to not have atoms. Move atoms into AtomSection. | Michael J. Spencer | 2013-02-14 | 7 | -273/+236 | |
| | | | | | | | | | The purpose of this change is to simplify creating non-atom sections. Previously _contentType, _sectionKind and _order were used for multiple purposes and collided in places. This moves all of the Atom specific logic down into AtomSection and makes Section just have raw Elf_Shdr flags. llvm-svn: 175207 | |||||
* | fix the mergeable string atom, when the target points to a symbol which is ↵ | Shankar Easwaran | 2013-02-13 | 2 | -6/+15 | |
| | | | | | | at a relative offset from the start of the .rodata section llvm-svn: 175039 | |||||
* | add merge strings option, this temporarily fixes the problem bringing up ↵ | Shankar Easwaran | 2013-02-13 | 1 | -15/+21 | |
| | | | | | | helloworld with glibc on x86_64 llvm-svn: 175038 | |||||
* | add support for merging common strings | Shankar Easwaran | 2013-02-12 | 2 | -15/+256 | |
| | | | | llvm-svn: 174990 | |||||
* | [ELF] Add support for reading dynamic libraries. | Michael J. Spencer | 2013-02-11 | 7 | -90/+336 | |
| | | | | llvm-svn: 174916 | |||||
* | fix segment ordering of elf segments | Shankar Easwaran | 2013-02-07 | 1 | -12/+42 | |
| | | | | llvm-svn: 174659 | |||||
* | add changes for layoutafter/layoutbefore/ingroup/layoutpass and test cases | Shankar Easwaran | 2013-02-07 | 9 | -32/+94 | |
| | | | | llvm-svn: 174658 | |||||
* | [Driver] Replace Target with TargetInfo. Simplify LinkerInput. | Michael J. Spencer | 2013-02-07 | 1 | -0/+19 | |
| | | | | | | | | This removes Target and moves the functionality it had over to TargetInfo. This also simplifies LinkerInput by removing the InputKind. This will be handled elsewhere. llvm-svn: 174589 | |||||
* | [ELF][x86-64] Handle PLT32 relocations to IFUNC. | Michael J. Spencer | 2013-02-05 | 1 | -2/+4 | |
| | | | | llvm-svn: 174428 | |||||
* | [ELF][Layout] Provide a proper way to get the TLS segment size. | Michael J. Spencer | 2013-02-05 | 2 | -13/+13 | |
| | | | | llvm-svn: 174427 | |||||
* | [ELF] Implement GOTPCREL for defined atoms. | Michael J. Spencer | 2013-02-05 | 1 | -7/+23 | |
| | | | | llvm-svn: 174426 | |||||
* | [ELF] Replace local dynamic tls access with direct access. | Michael J. Spencer | 2013-02-05 | 2 | -3/+43 | |
| | | | | llvm-svn: 174425 | |||||
* | [ELF] Use LLVM_IS_UNALIGNED_ACCESS_FAST. | Michael J. Spencer | 2013-02-03 | 1 | -4/+16 | |
| | | | | llvm-svn: 174276 | |||||
* | [ELF][Reader] Improve performance by removing calls to malloc. | Michael J. Spencer | 2013-02-03 | 1 | -17/+49 | |
| | | | | llvm-svn: 174275 | |||||
* | [ELF] Fix uninitialized variable. | Michael J. Spencer | 2013-02-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 174274 |