Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [ELF][Reader] Refactor how relocations are read. Improves performance. | Michael J. Spencer | 2013-03-20 | 1 | -20/+23 | |
| | | | | | | | | This changes from reading each relocation individually for each section to just storing the range of relocations. It also counts the relocations to preallocate the _references array. llvm-svn: 177562 | |||||
* | [ELF][Reader] Remove static ordinal. | Michael J. Spencer | 2013-03-20 | 1 | -4/+1 | |
| | | | | llvm-svn: 177561 | |||||
* | memcpy instead of copy_n. Faster than copy_n on MSVC :(. | Michael J. Spencer | 2013-03-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 177557 | |||||
* | Devirtualize Reference::kind. | Michael J. Spencer | 2013-03-20 | 1 | -12/+6 | |
| | | | | | | Improves performance. llvm-svn: 177556 | |||||
* | Devirtualize File::kind. | Michael J. Spencer | 2013-03-20 | 1 | -3/+2 | |
| | | | | | | This is the standard way of implementing LLVM RTTI. llvm-svn: 177555 | |||||
* | Set ordinals correctly. | Michael J. Spencer | 2013-03-20 | 2 | -7/+0 | |
| | | | | | | | This actually doesn't change behavior with the current LinkerInvocation, but it's needed when you make reading parallel. llvm-svn: 177554 | |||||
* | [ELF][Hexagon] Add Hexagon dynamic relocations | Shankar Easwaran | 2013-03-20 | 3 | -8/+152 | |
| | | | | llvm-svn: 177484 | |||||
* | [ELF] Interp section is only needed in dynamic executables | Shankar Easwaran | 2013-03-20 | 2 | -9/+14 | |
| | | | | llvm-svn: 177483 | |||||
* | [ELF] Order .got.plt properly | Shankar Easwaran | 2013-03-20 | 1 | -1/+4 | |
| | | | | llvm-svn: 177482 | |||||
* | Add virtual destructors to fix -Wnon-virtual-dtor warnings | Alexey Samsonov | 2013-03-19 | 1 | -0/+4 | |
| | | | | llvm-svn: 177392 | |||||
* | [lld] remove trailing whitespace | Shankar Easwaran | 2013-03-14 | 21 | -101/+101 | |
| | | | | llvm-svn: 177079 | |||||
* | [ELF][X86_64][Hexagon] order plt/got entries properly and fix test | Shankar Easwaran | 2013-03-13 | 2 | -13/+35 | |
| | | | | llvm-svn: 176970 | |||||
* | [ELF][Writer] Let std::vector handle allocating space instead of reserving ↵ | Michael J. Spencer | 2013-03-13 | 1 | -6/+0 | |
| | | | | | | tiny portions. llvm-svn: 176916 | |||||
* | [ELF] Set values for bss_start and end symbols properly, If there are two ↵ | Shankar Easwaran | 2013-03-11 | 2 | -5/+11 | |
| | | | | | | load segments with RW permissions, bss_start and end may get set inappropriate llvm-svn: 176795 | |||||
* | [Writer][ELF] Use correct data types for sizes. Fixes integer overflow bug. | Michael J. Spencer | 2013-03-09 | 1 | -3/+3 | |
| | | | | | | This only happens when the section header count is > 1024. llvm-svn: 176747 | |||||
* | [ELF] Create baseclass for all ELF writers | Shankar Easwaran | 2013-03-08 | 3 | -587/+389 | |
| | | | | llvm-svn: 176724 | |||||
* | [ELF] Order weak symbols properly | Shankar Easwaran | 2013-03-06 | 1 | -19/+59 | |
| | | | | llvm-svn: 176583 | |||||
* | Fix -Wdocumentation warning: use a correct Doxygen comment marker | Dmitri Gribenko | 2013-03-05 | 1 | -6/+6 | |
| | | | | llvm-svn: 176494 | |||||
* | [ELF] Set symbol type to STT_SECTION, so that objdump.bfd doesnot get ↵ | Shankar Easwaran | 2013-03-05 | 1 | -1/+7 | |
| | | | | | | confused when disassembling output llvm-svn: 176489 | |||||
* | [ELF] add dynamic library support | Shankar Easwaran | 2013-03-05 | 1 | -7/+29 | |
| | | | | llvm-svn: 176483 | |||||
* | [ELF] Remove comment | Shankar Easwaran | 2013-03-05 | 4 | -17/+395 | |
| | | | | llvm-svn: 176482 | |||||
* | [ELF] no functionality change, update dynamicTable functionality | Shankar Easwaran | 2013-03-04 | 2 | -71/+82 | |
| | | | | llvm-svn: 176430 | |||||
* | [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 | 1 | -4/+20 | |
| | | | | 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 | 5 | -16/+38 | |
| | | | | 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 | 7 | -35/+152 | |
| | | | | llvm-svn: 175901 |