summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/SectionChunks.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Parallel write.Michael J. Spencer2013-05-281-4/+5
| | | | llvm-svn: 182795
* [lld][ELF][All Archs] Addend is used by dynamic relocationsShankar Easwaran2013-05-171-4/+3
| | | | | | | | | | | | | | only if they are relative. This removes the FIXME when the relocations are being emitted and checks if the relocation is relative and only then populates the addend information. I couldnt add a testcase for this as llvm-readobj lacks functionality of printing dynamic relocations. When the functionality is added, remove the commented lines from elf/ifunc.test to test functionality. llvm-svn: 182077
* [lld][ELF] reduce the number of symbols emitted in the symbol tableShankar Easwaran2013-05-011-0/+4
| | | | llvm-svn: 180872
* [lld][ELF] (no testable functionality change) resize the number of entries ↵Shankar Easwaran2013-04-291-2/+13
| | | | | | in the string table for static linking llvm-svn: 180691
* This is my Driver refactoring patch. Nick Kledzik2013-04-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | The major changes are: 1) LinkerOptions has been merged into TargetInfo 2) LinkerInvocation has been merged into Driver 3) Drivers no longer convert arguments into an intermediate (core) argument list, but instead create a TargetInfo object and call setter methods on it. This is only how in-process linking would work. That is, you can programmatically set up a TargetInfo object which controls the linking. 4) Lots of tweaks to test suite to work with driver changes 5) Add the DarwinDriver 6) I heavily doxygen commented TargetInfo.h Things to do after this patch is committed: a) Consider renaming TargetInfo, given its new roll. b) Consider pulling the list of input files out of TargetInfo. This will enable in-process clients to create one TargetInfo the re-use it with different input file lists. c) Work out a way for Drivers to format the warnings and error done in core linking. llvm-svn: 178776
* [ELF] Set the symbol type for undefined atoms properlyShankar Easwaran2013-04-011-1/+4
| | | | llvm-svn: 178466
* [ELF] Add dynamic hash table and get simple dynamic libraries working with ↵Shankar Easwaran2013-03-291-34/+178
| | | | | | Hexagon llvm-svn: 178323
* [ELF] no change in functionality, add functions to symbol table so that they ↵Shankar Easwaran2013-03-261-69/+112
| | | | | | can be overridden by derived classes llvm-svn: 177990
* memcpy instead of copy_n. Faster than copy_n on MSVC :(.Michael J. Spencer2013-03-201-1/+1
| | | | llvm-svn: 177557
* [lld] remove trailing whitespaceShankar Easwaran2013-03-141-8/+8
| | | | llvm-svn: 177079
* [ELF] Set symbol type to STT_SECTION, so that objdump.bfd doesnot get ↵Shankar Easwaran2013-03-051-1/+7
| | | | | | confused when disassembling output llvm-svn: 176489
* [ELF] add dynamic library supportShankar Easwaran2013-03-051-7/+29
| | | | llvm-svn: 176483
* [ELF] Remove commentShankar Easwaran2013-03-051-1/+0
| | | | llvm-svn: 176482
* [ELF] no functionality change, update dynamicTable functionalityShankar Easwaran2013-03-041-0/+78
| | | | llvm-svn: 176430
* [lld][ELF] Order segmentsShankar Easwaran2013-02-271-2/+5
| | | | llvm-svn: 176207
* [ELF][Writer] Add dynamic relocation tables.Michael J. Spencer2013-02-271-7/+60
| | | | | | | This adds separate PLT and dynamic relocation tables. It also fills in the dynamic table entries for them. llvm-svn: 176150
* [ELF][Hexagon]add typeZeroFillFastShankar Easwaran2013-02-241-10/+16
| | | | llvm-svn: 175983
* [ELF][Writer] Add hash table.Michael J. Spencer2013-02-231-0/+37
| | | | llvm-svn: 175972
* [ELF][Writer] Add dynamic string and symbol table.Michael J. Spencer2013-02-231-36/+87
| | | | llvm-svn: 175941
* sort quickdata for the hexagon targetShankar Easwaran2013-02-221-7/+6
| | | | llvm-svn: 175904
* add changes for typeDataFastShankar Easwaran2013-02-221-1/+4
| | | | llvm-svn: 175901
* [ELF][Writer] Add .interp section.Michael J. Spencer2013-02-201-0/+25
| | | | llvm-svn: 175657
* [ELF][Writer] Add dynamic table.Michael J. Spencer2013-02-201-0/+42
| | | | llvm-svn: 175654
* [ELF] Fix memory leak by deleting BumpPtr allocated objects.Michael J. Spencer2013-02-191-1/+1
| | | | llvm-svn: 175558
* Switch a vector<pair<const T &, const U &>> to a vector<pair<const T *,Chandler Carruth2013-02-191-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
* [ELF][Writer] Refactor Section to not have atoms. Move atoms into AtomSection.Michael J. Spencer2013-02-141-218/+158
| | | | | | | | | 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
* remove duplicate strings from the string tableShankar Easwaran2013-02-011-7/+31
| | | | llvm-svn: 174200
* [ELF][x86-84] Add static TLS support.Michael J. Spencer2013-02-011-1/+13
| | | | llvm-svn: 174154
* add support for assigning virtual addresses to TDATA/TBSS sectionsShankar Easwaran2013-01-311-1/+0
| | | | llvm-svn: 174065
* [ELF] Use TargetRelocationHandler to apply relocations.Michael J. Spencer2013-01-301-13/+5
| | | | llvm-svn: 173911
* add targethandler hooks from Writer and cleanupShankar Easwaran2013-01-301-7/+17
| | | | llvm-svn: 173904
* [ELF] Make AtomLayout more accessible.Michael J. Spencer2013-01-301-20/+21
| | | | | | This is needed to allow constant time access to the final layout of atoms. llvm-svn: 173874
* [ELF] Chop the ELF prefix off of most things.Michael J. Spencer2013-01-291-0/+744
llvm-svn: 173838
OpenPOWER on IntegriCloud