summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/Atoms.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unnecessary namespace qualifier.Rui Ueyama2013-11-051-6/+6
| | | | llvm-svn: 194037
* [ELF] Set ordinals properly to all atoms.Shankar Easwaran2013-10-181-5/+3
| | | | llvm-svn: 192939
* [ELF] Mark STT_GNU_IFUNC symbols as code.Michael J. Spencer2013-09-271-0/+1
| | | | llvm-svn: 191566
* [ELF] Add COPY relocations.Michael J. Spencer2013-09-261-0/+31
| | | | llvm-svn: 191467
* [Core] Add type and size to SharedLibraryAtom.Michael J. Spencer2013-09-261-0/+15
| | | | llvm-svn: 191466
* [lld][ELF] Support non alloc sections in the Writer.Shankar Easwaran2013-09-191-0/+7
| | | | | | | | | This also makes it support debugging executables built with lld. Initial patch done by Bigcheese. This is only a revised patch to have the functionality in the Writer. llvm-svn: 191032
* [lld][ELF] Assign sectionChoice properly to ELF atomsShankar Easwaran2013-09-171-3/+15
| | | | | | | | | This sets the sectionChoice property for DefinedAtoms. The output section name is derived by the property of the atom. This also decreases native file size. Adds a test. llvm-svn: 190840
* [lld][ELF] Fix vaddr of the first sectionShankar Easwaran2013-09-121-0/+1
| | | | | | The first section in the output was not aligned to the alignment of the section. llvm-svn: 190610
* [lld][ELF] Fix the readonly section order.Shankar Easwaran2013-09-121-0/+4
| | | | | | | This associates rodata and sections which just have the SHF_ALLOC flag to be set to typeConstant. llvm-svn: 190609
* Handle _DYNAMIC correctly in the x86_64 backend.Joerg Sonnenberger2013-09-091-0/+25
| | | | llvm-svn: 190302
* [lld][ELF] Differentiate between Note sections(RW/RO)Shankar Easwaran2013-09-041-6/+12
| | | | | | | | | | It looks like there is a possibility of seeing RO/RW note sections and we would need to create an appropriate RO/RW segment associated with them. Adds a test too. llvm-svn: 189907
* [lld][ELF] Emit note sectionsShankar Easwaran2013-09-041-0/+6
| | | | | | | | Emit note sections if the input contains a note section. Also emit a note segment. llvm-svn: 189896
* [lld][ELF] Change the InitFini atom type from Stub to DataShankar Easwaran2013-09-031-1/+1
| | | | llvm-svn: 189873
* [lld][ELF] Add Init/Fini supportShankar Easwaran2013-08-311-0/+33
| | | | | | | | This creates .init_array/.fini_array section for X86_64 ELF targets and executes init/fini functions specified by the -init/-fini options respectively. llvm-svn: 189719
* [lld][ELF] process fini_array sectionsShankar Easwaran2013-08-251-0/+2
| | | | | | | | This change processes fini_array section in addition to processing init_array sections. This also makes functions registered at compile time for initialization and finalization to be run during execution llvm-svn: 189196
* [lld][ELF] Rename typeTLV content type for ELFShankar Easwaran2013-08-231-2/+2
| | | | | | | | | | | typeTLV content type is used by Darwin to represent thread local storage. A new contentType has to be made to represent ELF thread local storage data. These have been set to - typeThreadZeroFill (represents TBSS storage) - typeThreadData (represents TDATA storage) llvm-svn: 189137
* Update to llvm changes.Michael J. Spencer2013-08-081-0/+116
| | | | llvm-svn: 188021
* Rename TargetInfo -> LinkingContext.Rui Ueyama2013-08-061-5/+5
| | | | | | | | | Also change some local variable names: "ti" -> "context" and "_targetInfo" -> "_context". Differential Revision: http://llvm-reviews.chandlerc.com/D1301 llvm-svn: 187823
* Removed unnecessary "class" keyword.Rui Ueyama2013-06-211-1/+1
| | | | llvm-svn: 184589
* [ARM] Remove isThumb() as it's not used and it's not in the right place.Rui Ueyama2013-06-131-6/+0
| | | | | | | | | | | | | | Architecture specific code should reside in architecture specific directory not in Atom. Looks like there are no efforts being made at this moment to support ARM, so let's remove it for now. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D959 llvm-svn: 183877
* [ELF] Remove unused parameter from ELFReference c'tor.Rui Ueyama2013-06-121-8/+13
| | | | | | | | | | Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D961 llvm-svn: 183850
* Fix indentation.Rui Ueyama2013-05-251-2/+6
| | | | llvm-svn: 182709
* [lld][ELF] set ordinals for mergeAtoms and fix testcaseShankar Easwaran2013-05-101-0/+2
| | | | llvm-svn: 181622
* This adds functionality for undefined atoms from dynamic libraries to be addedShankar Easwaran2013-04-111-9/+4
| | | | | | | | | | | | to the list of undefined atoms. The processing of undefined atoms from dynamic libraries is controlled by use-shlib-undefines command line option. This patch also adds additional command line arguments to allow/disallow unresolved symbols from shared libraries and mimics GNU ld behavior. llvm-svn: 179257
* This is my Driver refactoring patch. Nick Kledzik2013-04-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | 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
* Update for API change for handling mips64el.Rafael Espindola2013-04-031-6/+8
| | | | llvm-svn: 178695
* [ELF] Cache contentType and permissions.Michael J. Spencer2013-03-281-17/+27
| | | | llvm-svn: 178269
* [ELF][Reader] Remove static ordinal.Michael J. Spencer2013-03-201-4/+1
| | | | llvm-svn: 177561
* Devirtualize Reference::kind.Michael J. Spencer2013-03-201-12/+6
| | | | | | Improves performance. llvm-svn: 177556
* [lld] remove trailing whitespaceShankar Easwaran2013-03-141-6/+6
| | | | llvm-svn: 177079
* move dynamic linking atoms to Atoms.hShankar Easwaran2013-03-011-0/+136
| | | | llvm-svn: 176370
* [ELF][x86-64] Separate static and dynamic GOT/PLT generation.Michael J. Spencer2013-02-281-5/+3
| | | | llvm-svn: 176294
* [ELF][Hexagon]add typeZeroFillFastShankar Easwaran2013-02-241-0/+10
| | | | llvm-svn: 175983
* add changes for typeDataFastShankar Easwaran2013-02-221-17/+64
| | | | llvm-svn: 175901
* fix the mergeable string atom, when the target points to a symbol which is ↵Shankar Easwaran2013-02-131-0/+2
| | | | | | at a relative offset from the start of the .rodata section llvm-svn: 175039
* add support for merging common stringsShankar Easwaran2013-02-121-5/+85
| | | | llvm-svn: 174990
* [ELF] Add support for reading dynamic libraries.Michael J. Spencer2013-02-111-3/+47
| | | | llvm-svn: 174916
* add changes for layoutafter/layoutbefore/ingroup/layoutpass and test casesShankar Easwaran2013-02-071-25/+27
| | | | llvm-svn: 174658
* [ELF][x86-84] Add static TLS support.Michael J. Spencer2013-02-011-0/+6
| | | | llvm-svn: 174154
* [ELF] Chop the ELF prefix off of most things.Michael J. Spencer2013-01-291-0/+438
llvm-svn: 173838
OpenPOWER on IntegriCloud