summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/ReaderELF.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [ELF] Chop the ELF prefix off of most things.Michael J. Spencer2013-01-291-147/+0
| | | | llvm-svn: 173838
* [ELF] Fix header sort order.Michael J. Spencer2013-01-291-4/+4
| | | | llvm-svn: 173822
* add elf targethandlerShankar Easwaran2013-01-251-299/+24
| | | | llvm-svn: 173430
* Move everything over to TargetInfo.Michael J. Spencer2013-01-231-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. Spencer2013-01-201-1/+1
| | | | llvm-svn: 172993
* [ELF] Use operator new(std::size_t, BumpPtrAllocator).Michael J. Spencer2013-01-161-16/+13
| | | | llvm-svn: 172675
* [ELF] clang-format ReaderELF.cppMichael J. Spencer2013-01-161-91/+78
| | | | llvm-svn: 172674
* [ELF] Never allocate content to weak symbols as they may be merged away.Michael J. Spencer2013-01-151-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. Spencer2013-01-151-84/+80
| | | | llvm-svn: 172552
* [ELF] Update for LLVM Object/ELF changes.Michael J. Spencer2013-01-151-35/+35
| | | | llvm-svn: 172516
* Factor File::addAtom out to MutableFile::addAtom.Michael J. Spencer2013-01-121-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. Spencer2013-01-041-0/+1
| | | | | | implement its semantics. llvm-svn: 171533
* [ELF] Handle misaligned ELF files properly.Michael J. Spencer2013-01-041-48/+76
| | | | llvm-svn: 171526
* changes for the ELF Reader : split up into AtomsELF.h/Adding new permissions ↵Shankar Easwaran2012-12-271-379/+3
| | | | | | permRWX llvm-svn: 171127
* [ELF][Reader] Ignore SHF_GROUP when switching on flags.Michael J. Spencer2012-12-201-2/+2
| | | | llvm-svn: 170624
* Style fixes.Michael J. Spencer2012-12-201-138/+79
| | | | llvm-svn: 170623
* Populate entry point into ELF executable.Hemant Kulkarni2012-11-211-1/+4
| | | | llvm-svn: 168461
* Fix style violations.Michael J. Spencer2012-11-131-39/+35
| | | | llvm-svn: 167869
* Adding support to resolve symbols with archive libraries in lldShankar Easwaran2012-11-131-26/+57
| | | | llvm-svn: 167854
* This update does the following:Sid Manning2012-10-181-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 Manning2012-10-031-4/+4
| | | | llvm-svn: 165170
* This change:Sid Manning2012-10-011-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 Manning2012-09-171-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 Kulkarni2012-09-141-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. Spencer2012-09-101-5/+1
| | | | llvm-svn: 163573
* Fix warning from -Wshadow. Report errors back to caller rather than callingSid Manning2012-07-271-27/+20
| | | | | | llvm::report_fatal_error. llvm-svn: 160864
* Implement the ELF reader. The original implementation was by Hemant KulkarniSid Manning2012-07-251-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 Kledzik2012-05-311-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
OpenPOWER on IntegriCloud