| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D13167
llvm-svn: 248641
|
|
|
|
| |
llvm-svn: 248604
|
|
|
|
| |
llvm-svn: 248502
|
|
|
|
| |
llvm-svn: 248490
|
|
|
|
|
|
| |
Thanks to Sean Silva for noticing.
llvm-svn: 248488
|
|
|
|
| |
llvm-svn: 248380
|
|
|
|
| |
llvm-svn: 248324
|
|
|
|
|
|
| |
I will add a couple of ppc64 relocs in the next patches.
llvm-svn: 248319
|
|
|
|
|
|
|
|
|
|
| |
This is just enough to get PLT working on 32 bit x86.
The idea behind using a virtual interface is that it should be easy to
convert any of the functions to template parameters if any turns out to be
performance critical.
llvm-svn: 248308
|
|
|
|
| |
llvm-svn: 247888
|
|
|
|
|
|
|
|
|
|
| |
They are not fully functional yet, but this implements enough support for lld
itself to read them.
With that, delete the .so binary we were using for tests and start eating our
own dog food.
llvm-svn: 247487
|
|
|
|
| |
llvm-svn: 247169
|
|
|
|
| |
llvm-svn: 247096
|
|
|
|
| |
llvm-svn: 247089
|
|
|
|
| |
llvm-svn: 247019
|
|
|
|
| |
llvm-svn: 247016
|
|
|
|
| |
llvm-svn: 246886
|
|
|
|
| |
llvm-svn: 246823
|
|
|
|
|
|
|
| |
This just adds the types and enough support to detect incompatibilities among
shared libraries and object files.
llvm-svn: 246797
|
|
|
|
|
|
| |
Also preparation for shared objects. It will become the first ELF file.
llvm-svn: 246796
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 246593
|
|
|
|
|
|
| |
Now that resolved is templated anyway, we can use the regular Undefined.
llvm-svn: 246407
|
|
|
|
|
|
|
| |
This requires templating some functions over ELFT, but that opens other cleanup
opportunities for future patches.
llvm-svn: 246405
|
|
|
|
|
|
|
| |
Tested with a weak undefined. Testing with a plain undefined will have to wait
for support for -shared.
llvm-svn: 245069
|
|
|
|
|
|
|
|
|
|
|
| |
With this patch only the name is set. I will set the other fields shortly.
For now the table doesn't include local symbols. This is equivalent to using
--discard-all with gnu ld. This is OK for now since the symbols are not
needed for execution and for testing symbol resolution we only need the
global symbols.
llvm-svn: 245044
|
|
|
|
| |
llvm-svn: 244216
|
|
|
|
| |
llvm-svn: 244040
|
|
|
|
|
|
|
| |
This is also a step in instantiating the writer with the correct template
argument.
llvm-svn: 244035
|
|
|
|
|
|
| |
It was already using just code that is common to all object files.
llvm-svn: 243985
|
|
|
|
| |
llvm-svn: 243983
|
|
|
|
|
|
|
|
|
|
| |
When we were using a std::sort over all the chunks we needed to put them in a
single storage.
Now that we just iterate over them and use a map to find the output section,
we can avoid allocating the temporary storage.
llvm-svn: 243980
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D11188
llvm-svn: 243161
|
|
|
|
| |
llvm-svn: 242118
|
|
|
|
| |
llvm-svn: 242093
|
|
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
|