| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
I think it is clear by now that the new linker is viable.
llvm-svn: 262158
|
|
|
|
| |
llvm-svn: 234932
|
|
|
|
| |
llvm-svn: 233418
|
|
|
|
|
|
|
| |
I actually spend my time to understand this piece of code
and then realized that this is all dead.
llvm-svn: 233417
|
|
|
|
|
|
|
| |
Some virtual member functions in ELF directory don't have
virtual type specifier. Add override to them.
llvm-svn: 233406
|
|
|
|
|
|
| |
Make these functions non-pure and define the default implementations.
llvm-svn: 233405
|
|
|
|
| |
llvm-svn: 233344
|
|
|
|
| |
llvm-svn: 231271
|
|
|
|
|
|
| |
No change in functionality.
llvm-svn: 222975
|
|
|
|
|
|
| |
No change in functionality.
llvm-svn: 222972
|
|
|
|
|
|
|
|
|
| |
This reverts commit r222310.
Not sure which commit is the cause of the failure on the darwin bot. Will need
to revert my changes and commit one change at a time.
llvm-svn: 222330
|
|
|
|
|
|
| |
No change in functionality.
llvm-svn: 222310
|
|
|
|
|
|
|
|
|
| |
The segment alignment for PT_LOAD segments is set to page size by default, but
if any of the sections require an alignment more than the page size, the segment
alignment property is set to the maximum alignment of the sections that are part
of the segment.
llvm-svn: 221862
|
|
|
|
|
|
|
|
|
|
| |
ELFLinkingContext had these two functions, which is really not needed since
the Writer uses a llvm::object template composed of Endianness, Alignment,
Is32bit/64bit. We could just use that and not duplicate functionality.
No Change In Functionality.
llvm-svn: 221523
|
|
|
|
|
|
|
|
|
| |
The ELF writer creates a invalid binary for few cases with large filesize and
memory size for segments. This patch addresses the functionality and updates the
test. This patch also cleans up parts of the ELF writer for future enhancements
to support Linker scripts.
llvm-svn: 221233
|
|
|
|
|
|
|
|
|
| |
This would permit the ELF reader to check the architecture that is being
selected by the linking process.
This patch also sorts the include files according to LLVM conventions.
llvm-svn: 220129
|
|
|
|
|
|
|
|
| |
X86_64,X86,PPC,Hexagon,Mips
No change in functionality.
llvm-svn: 200177
|
|
|
|
|
|
|
|
|
| |
This also makes it support debugging executables built with lld.
Initial patch done by Bigcheese. This is only a revised patch to
have the functionality in the Writer.
llvm-svn: 191032
|
|
|
|
|
|
|
|
|
|
| |
The cleanup includes :-
* Rename ambiguous Header class to ELFHeader
* Convert Chunk contentype and kind to be a enumerated class
* Remove functions that are not being used, avoids future confusion
llvm-svn: 189209
|
|
|
|
|
|
|
|
|
| |
Also change some local variable names: "ti" -> "context" and
"_targetInfo" -> "_context".
Differential Revision: http://llvm-reviews.chandlerc.com/D1301
llvm-svn: 187823
|
|
|
|
| |
llvm-svn: 184055
|
|
|
|
| |
llvm-svn: 182033
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The major changes are:
1) LinkerOptions has been merged into TargetInfo
2) LinkerInvocation has been merged into Driver
3) Drivers no longer convert arguments into an intermediate (core) argument
list, but instead create a TargetInfo object and call setter methods on
it. This is only how in-process linking would work. That is, you can
programmatically set up a TargetInfo object which controls the linking.
4) Lots of tweaks to test suite to work with driver changes
5) Add the DarwinDriver
6) I heavily doxygen commented TargetInfo.h
Things to do after this patch is committed:
a) Consider renaming TargetInfo, given its new roll.
b) Consider pulling the list of input files out of TargetInfo. This will
enable in-process clients to create one TargetInfo the re-use it with
different input file lists.
c) Work out a way for Drivers to format the warnings and error done in
core linking.
llvm-svn: 178776
|
|
|
|
| |
llvm-svn: 177079
|
|
|
|
|
|
| |
load segments with RW permissions, bss_start and end may get set inappropriate
llvm-svn: 176795
|
|
|
|
|
|
| |
This only happens when the section header count is > 1024.
llvm-svn: 176747
|
|
|
|
| |
llvm-svn: 176279
|
|
|
|
| |
llvm-svn: 176207
|
|
|
|
| |
llvm-svn: 175951
|
|
|
|
| |
llvm-svn: 175904
|
|
|
|
| |
llvm-svn: 175657
|
|
|
|
| |
llvm-svn: 175654
|
|
|
|
|
|
|
|
|
| |
The purpose of this change is to simplify creating non-atom sections.
Previously _contentType, _sectionKind and _order were used for multiple
purposes and collided in places. This moves all of the Atom specific logic down
into AtomSection and makes Section just have raw Elf_Shdr flags.
llvm-svn: 175207
|
|
|
|
| |
llvm-svn: 174154
|
|
llvm-svn: 173838
|