summaryrefslogtreecommitdiffstats
path: root/lld/ELF/InputFiles.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Make getSymbols non-virtual. NFC.Rafael Espindola2015-09-021-4/+1
| | | | llvm-svn: 246731
* Split out the ELF kind from the InputFile Kind.Rafael Espindola2015-09-021-13/+20
| | | | | | | | | There were at least two issues with having them together: * For compatibility checks, we only want to look at the ELF kind. * Adding support for shared libraries should introduce one InputFile kind, not 4. llvm-svn: 246707
* Fix the gcc build:Rafael Espindola2015-08-281-0/+2
| | | | | | | InputFiles.h:98:53: error: invalid use of incomplete type ‘class lld::elf2::SymbolBody’ return SymbolBodies[SymbolIndex - FirstNonLocal]->getReplacement(); llvm-svn: 246262
* [elf2] Add basic relocation support for x86-64.Michael J. Spencer2015-08-271-0/+7
| | | | | | | | This currently doesn't handle local symbols. Differential Revision: http://reviews.llvm.org/D11612 llvm-svn: 246234
* Add support for reading files with more than 0xff00 sections.Rafael Espindola2015-08-241-0/+2
| | | | llvm-svn: 245880
* Make these headers as being c++.Rafael Espindola2015-08-141-1/+1
| | | | llvm-svn: 245050
* Don't depend on getDotSymtabSec. It is going away.Rafael Espindola2015-08-101-0/+2
| | | | llvm-svn: 244451
* For now we only have on Chunk type. Simplify.Rafael Espindola2015-08-051-6/+6
| | | | | | | | | | | | | | | | The others we have in sight are * common symbols. * entries in SHF_MERGE sections. They will have a substantially different treatment. It is not clear if it is worth it putting them all in a single list just to dispatch based on the kind on the other side. I hope to implement common symbols soon, and then we will be in a position to have a concrete discussion. For now this is simpler for the the implemented features. llvm-svn: 244042
* lld elf2: Diagnose trying to mix incompatible files.Rafael Espindola2015-08-051-5/+27
| | | | | | | This is also a step in instantiating the writer with the correct template argument. llvm-svn: 244035
* The SymbolTable doesn't need to be a template.Rafael Espindola2015-08-041-13/+21
| | | | | | It was already using just code that is common to all object files. llvm-svn: 243985
* [ELF2] Add a new ELF linker based on the new PE/COFF linker.Michael J. Spencer2015-07-241-0/+78
| | | | | | Differential Revision: http://reviews.llvm.org/D11188 llvm-svn: 243161
* Revert ELF port. Posting to mailing list.Michael J. Spencer2015-07-141-158/+0
| | | | llvm-svn: 242118
* Initial ELF port.Michael J. Spencer2015-07-131-0/+158
This is a direct port of the new PE/COFF linker to ELF. It can take a single object file and generate a valid executable that executes at the first byte in the text section. llvm-svn: 242088
OpenPOWER on IntegriCloud