Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ELF] Chop the ELF prefix off of most things. | Michael J. Spencer | 2013-01-29 | 1 | -147/+0 |
| | | | | llvm-svn: 173838 | ||||
* | [ELF] Fix header sort order. | Michael J. Spencer | 2013-01-29 | 1 | -4/+4 |
| | | | | llvm-svn: 173822 | ||||
* | add elf targethandler | Shankar Easwaran | 2013-01-25 | 1 | -299/+24 |
| | | | | llvm-svn: 173430 | ||||
* | Move everything over to TargetInfo. | Michael J. Spencer | 2013-01-23 | 1 | -16/+10 |
| | | | | | | | | I really would have liked to split this patch up, but it would greatly complicate the lld-core and lld drivers having to deal with both {Reader,Writer}Option and TargetInfo. llvm-svn: 173217 | ||||
* | [Core] Use LLVM's ErrorOr<T>. | Michael J. Spencer | 2013-01-20 | 1 | -1/+1 |
| | | | | llvm-svn: 172993 | ||||
* | [ELF] Use operator new(std::size_t, BumpPtrAllocator). | Michael J. Spencer | 2013-01-16 | 1 | -16/+13 |
| | | | | llvm-svn: 172675 | ||||
* | [ELF] clang-format ReaderELF.cpp | Michael J. Spencer | 2013-01-16 | 1 | -91/+78 |
| | | | | llvm-svn: 172674 | ||||
* | [ELF] Never allocate content to weak symbols as they may be merged away. | Michael J. Spencer | 2013-01-15 | 1 | -0/+18 |
| | | | | | | | | This is done by creating a new non-weak anonymous symbol and creating an atom with content for that symbol. This is added after the weak symbol so that they have the same address. llvm-svn: 172553 | ||||
* | [ELF] Refactoring and style cleanup. No functionality change. | Michael J. Spencer | 2013-01-15 | 1 | -84/+80 |
| | | | | llvm-svn: 172552 | ||||
* | [ELF] Update for LLVM Object/ELF changes. | Michael J. Spencer | 2013-01-15 | 1 | -35/+35 |
| | | | | llvm-svn: 172516 | ||||
* | Factor File::addAtom out to MutableFile::addAtom. | Michael J. Spencer | 2013-01-12 | 1 | -4/+3 |
| | | | | | | This removes a bunch of llvm_unreachables and makes a File's mutability part of the type system. llvm-svn: 172297 | ||||
* | [ELF] STT_GNU_IFUNC is a known symbol type, so accept it. We do not yet ↵ | Michael J. Spencer | 2013-01-04 | 1 | -0/+1 |
| | | | | | | implement its semantics. llvm-svn: 171533 | ||||
* | [ELF] Handle misaligned ELF files properly. | Michael J. Spencer | 2013-01-04 | 1 | -48/+76 |
| | | | | llvm-svn: 171526 | ||||
* | changes for the ELF Reader : split up into AtomsELF.h/Adding new permissions ↵ | Shankar Easwaran | 2012-12-27 | 1 | -379/+3 |
| | | | | | | permRWX llvm-svn: 171127 | ||||
* | [ELF][Reader] Ignore SHF_GROUP when switching on flags. | Michael J. Spencer | 2012-12-20 | 1 | -2/+2 |
| | | | | llvm-svn: 170624 | ||||
* | Style fixes. | Michael J. Spencer | 2012-12-20 | 1 | -138/+79 |
| | | | | llvm-svn: 170623 | ||||
* | Populate entry point into ELF executable. | Hemant Kulkarni | 2012-11-21 | 1 | -1/+4 |
| | | | | llvm-svn: 168461 | ||||
* | Fix style violations. | Michael J. Spencer | 2012-11-13 | 1 | -39/+35 |
| | | | | llvm-svn: 167869 | ||||
* | Adding support to resolve symbols with archive libraries in lld | Shankar Easwaran | 2012-11-13 | 1 | -26/+57 |
| | | | | llvm-svn: 167854 | ||||
* | This update does the following: | Sid Manning | 2012-10-18 | 1 | -5/+17 |
| | | | | | | | | | | | * Moves enum Scope from DefinedAtom.h to Atom.h * Adds scope method to AbsoluteAtom class * Updates YAML to print scope of AbsoluteAtoms * Update Native Reader/Writer to handle this new, "attribute" * Adds testcase Reviewed and approved by Nick Kledzik llvm-svn: 166189 | ||||
* | * Return correct size and alignment for common symbols. | Sid Manning | 2012-10-03 | 1 | -4/+4 |
| | | | | llvm-svn: 165170 | ||||
* | This change: | Sid Manning | 2012-10-01 | 1 | -9/+29 |
| | | | | | | | | | | * Updates ReaderELF.cpp contentType method to match ELF.h's logic and now handle typeData * Add -arch to ldd-core testdriver * Add testcase to check typeData * Update others to stay in sync with this change. llvm-svn: 164976 | ||||
* | Add ELFReference class - parse relocations needed by that class and update ↵ | Sid Manning | 2012-09-17 | 1 | -160/+386 |
| | | | | | | DefinedAtom to use the class. Tweak coding style. Add testcase to check relocations. Change was signed-off-by: Michael Spencer llvm-svn: 164027 | ||||
* | ELF support for LLD writer. The writer at present emits ELF header and section | Hemant Kulkarni | 2012-09-14 | 1 | -1/+1 |
| | | | | | | | | | | table header. Skeleton code for ReferenceKinds. Credits: Doxygen by Michael Spencer. Origianl implementation from Macho by Sidney Manning. Templatization, implementation of section header chunks, string table, ELF header by Hemant Kulkarni. llvm-svn: 163906 | ||||
* | Fix warnings. | Michael J. Spencer | 2012-09-10 | 1 | -5/+1 |
| | | | | llvm-svn: 163573 | ||||
* | Fix warning from -Wshadow. Report errors back to caller rather than calling | Sid Manning | 2012-07-27 | 1 | -27/+20 |
| | | | | | | llvm::report_fatal_error. llvm-svn: 160864 | ||||
* | Implement the ELF reader. The original implementation was by Hemant Kulkarni | Sid Manning | 2012-07-25 | 1 | -7/+526 |
| | | | | | | with subsequent changes to use lower level interfaces done by me. llvm-svn: 160732 | ||||
* | Major refactoring: Remove Platform concept. In its place there are | Nick Kledzik | 2012-05-31 | 1 | -0/+41 |
now Reader and Writer subclasses for each file format. Each Reader and Writer subclass defines an "options" class which controls how that Reader or Writer operates. llvm-svn: 157774 |