summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF
Commit message (Collapse)AuthorAgeFilesLines
...
* [ELF] Fix header sort order.Michael J. Spencer2013-01-2924-113/+147
| | | | llvm-svn: 173822
* [ELF] Add support for IFUNC.Michael J. Spencer2013-01-297-36/+261
| | | | | | | | This sadly doesn't have a test for the final output because llvm-objdump can't dump relocations that don't belong to a section :( llvm-svn: 173808
* [ELF] Give Chunk a ELFTargetInfo.Michael J. Spencer2013-01-296-85/+59
| | | | llvm-svn: 173743
* [ELF] Remove OwningPtr from the Chunk::write interface.Michael J. Spencer2013-01-295-49/+36
| | | | llvm-svn: 173741
* [ELF] Clean up doxygen comments.Michael J. Spencer2013-01-291-11/+10
| | | | llvm-svn: 173740
* add register section, remove contentType from sectionKeyShankar Easwaran2013-01-282-46/+106
| | | | llvm-svn: 173709
* [ELF] Use entry point from LinkerOptions.Michael J. Spencer2013-01-282-2/+9
| | | | | | Patch by Ahmed Bougacha! llvm-svn: 173655
* lldX86_64ELFTarget depends on lldCore.Benjamin Kramer2013-01-261-0/+4
| | | | llvm-svn: 173573
* [ELF][x86-64] Add relocation string<->kind.Michael J. Spencer2013-01-252-0/+115
| | | | llvm-svn: 173533
* [ELF][X86-64] Use the correct base address.Michael J. Spencer2013-01-252-1/+7
| | | | llvm-svn: 173527
* [CMake] Setup include dirs properly.Michael J. Spencer2013-01-253-24/+16
| | | | llvm-svn: 173488
* change all occurences of File to FileELFShankar Easwaran2013-01-251-6/+6
| | | | llvm-svn: 173449
* add elf targethandlerShankar Easwaran2013-01-2526-364/+856
| | | | llvm-svn: 173430
* Add SectionPosition and OrderPassNick Kledzik2013-01-231-0/+4
| | | | llvm-svn: 173300
* [ELF] Read IFUNC symbols correctly as typeResolver.Michael J. Spencer2013-01-231-0/+3
| | | | llvm-svn: 173299
* Move everything over to TargetInfo.Michael J. Spencer2013-01-2311-107/+85
| | | | | | | | 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
* Add {,ELF,MachO}TargetInfo.Michael J. Spencer2013-01-222-0/+82
| | | | llvm-svn: 173117
* no functionality changes(split WriterELF into multiple files)Shankar Easwaran2013-01-218-1882/+2252
| | | | llvm-svn: 173082
* [Core] Use LLVM's ErrorOr<T>.Michael J. Spencer2013-01-201-1/+1
| | | | llvm-svn: 172993
* Replace the 'final' keyword with 'LLVM_FINAL' as GCC 4.6 doesn't supportChandler Carruth2013-01-191-4/+4
| | | | | | | | | | the keyword. If anyone cares deeply about the final optimizations with GCC, we might want to add a version test to the LLVM definition, but I'm perfectly happy with this just only firing under Clang and modern MSVC builds. llvm-svn: 172898
* [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-154-389/+238
| | | | llvm-svn: 172516
* [ELF] Replace [...] x_{begin,end}() with range<[...]> x().Michael J. Spencer2013-01-151-170/+112
| | | | llvm-svn: 172513
* [ELF] Fix use of LLVM RTTI.Michael J. Spencer2013-01-151-51/+29
| | | | llvm-svn: 172511
* remove const from FindByNameShankar Easwaran2013-01-151-1/+1
| | | | llvm-svn: 172507
* Fix shadowed variable warningNick Kledzik2013-01-141-3/+3
| | | | llvm-svn: 172482
* 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] Fix comment.Michael J. Spencer2013-01-111-1/+1
| | | | llvm-svn: 172266
* [ELF] Add AtomLayout instead of using pair<Atom, pair<uint64_t, uint64_t>>.Michael J. Spencer2013-01-111-19/+26
| | | | llvm-svn: 172265
* [ELF] Use the correct cast.Michael J. Spencer2013-01-111-2/+1
| | | | llvm-svn: 172264
* [ELF] Simplify assert.Michael J. Spencer2013-01-111-4/+2
| | | | llvm-svn: 172255
* better implementation for findOutputSectionShankar Easwaran2013-01-111-16/+6
| | | | llvm-svn: 172236
* [ELF] Add support for __init_array_{start,end}.Michael J. Spencer2013-01-102-1/+48
| | | | | | With this change c++ global constructors and destructors work. llvm-svn: 172133
* [ELF] Fixed -Wunused in -asserts mode.Michael J. Spencer2013-01-101-5/+4
| | | | llvm-svn: 172131
* style changesShankar Easwaran2013-01-101-8/+8
| | | | llvm-svn: 172080
* support for adding linker defined symbolsShankar Easwaran2013-01-102-47/+310
| | | | llvm-svn: 172040
* [ELF] Add R_X86_64_64 relocation.Michael J. Spencer2013-01-081-0/+12
| | | | llvm-svn: 171836
* [ELF] Properly handle constant data.Michael J. Spencer2013-01-071-0/+4
| | | | | | With this hello world works with dietlibc on x86-64 Linux. llvm-svn: 171711
* [ELF] Emit the file header and program headers at the beginning of the first ↵Michael J. Spencer2013-01-071-38/+44
| | | | | | | | | | segment. This is required for the loader to correctly set AT_PHDR. With this lld can correctly link against dietlibc and get to main. llvm-svn: 171709
* [ELF] Change Segment to hold Chunks instead of Sections. No functionality ↵Michael J. Spencer2013-01-071-4/+7
| | | | | | change. llvm-svn: 171708
* [ELF] Remove dead variable.Michael J. Spencer2013-01-071-2/+0
| | | | llvm-svn: 171707
* [ELF] Emit zeroFill as STT_OBJECT in the final executable. ld does this.Michael J. Spencer2013-01-071-1/+1
| | | | llvm-svn: 171704
* [ELF] Add common x86_64 relocation types.Michael J. Spencer2013-01-071-0/+39
| | | | llvm-svn: 171703
* [ELF] Give a slightly better message for unknown relocation types.Michael J. Spencer2013-01-071-1/+4
| | | | llvm-svn: 171692
* [ELF] Update to llvm change.Michael J. Spencer2013-01-061-1/+1
| | | | llvm-svn: 171652
* Avoid MSVCRT assertion on comparing phdr iteratorsReid Kleckner2013-01-051-1/+3
| | | | llvm-svn: 171591
* [ELF] Add skeleton for X86-64 relocations.Michael J. Spencer2013-01-054-4/+104
| | | | llvm-svn: 171578
OpenPOWER on IntegriCloud