| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With this patch, it can now resolve relocations in the same output file.
"Hello world" program does not still work because call to the DLL routine
is not supported yet.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D985
llvm-svn: 184063
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
writers.
Summary: I'm planning to use AtomLayout in WriterPECOFF.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D977
llvm-svn: 184062
|
|
|
|
|
|
|
|
|
|
|
|
| |
non-ELF writers.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D977
llvm-svn: 184061
|
|
|
|
| |
llvm-svn: 184058
|
|
|
|
| |
llvm-svn: 184055
|
|
|
|
| |
llvm-svn: 184050
|
|
|
|
|
|
|
|
| |
Archive file in Windows has file extension of ".lib" but the file format is
in fact the same as Unix. It's an ar archive holding multiple .obj files.
The existing archive reader can read .lib files.
llvm-svn: 184036
|
|
|
|
| |
llvm-svn: 184035
|
|
|
|
| |
llvm-svn: 183965
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
COFFReference class is defined to represent relocation information for
COFFDefinedAtom, as ELFReference for ELFDefinedAtom. ReaderCOFF can now
read relocation entries and create COFFReferences accordingly.
I need to make WriterPECOFF to handle the relocation references created by
the reader, but this patch is already big, so I think it's probably better
to get it reviewed now.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D976
llvm-svn: 183964
|
|
|
|
| |
llvm-svn: 183887
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Architecture specific code should reside in architecture specific directory
not in Atom. Looks like there are no efforts being made at this moment to
support ARM, so let's remove it for now.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D959
llvm-svn: 183877
|
|
|
|
| |
llvm-svn: 183876
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: shankarke
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D961
llvm-svn: 183850
|
|
|
|
|
|
| |
Segfaults.
llvm-svn: 183817
|
|
|
|
|
|
| |
_end.
llvm-svn: 183816
|
|
|
|
|
|
| |
space
llvm-svn: 183815
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change for http://llvm-reviews.chandlerc.com/D952
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D953
llvm-svn: 183789
|
|
|
|
|
|
| |
No functionality change.
llvm-svn: 183762
|
|
|
|
|
|
|
|
|
|
|
| |
The yaml reader is not specific to any file format. This patch moves
it to TargetInfo and makes validate a non virtual interface so that it
can be constructed from a single location.
The same method will be used to create a reader for llvm bitcode
files.
llvm-svn: 183740
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Split FileCOFF's constructor into mainly two private methods.
One method is responsible to iterate over symbol tables, and other
method is to atomize defined atoms. This is for readability and
no changes in functionality.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D940
llvm-svn: 183708
|
|
|
|
| |
llvm-svn: 183705
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Split createAtom() in lib/ReaderWriter/ELF/File.h into small methods.
- Added comments to code in other methods.
No functionality changes.
Reviewers: shankarke
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D921
llvm-svn: 183696
|
|
|
|
| |
llvm-svn: 183670
|
|
|
|
|
|
| |
No functionality change.
llvm-svn: 183659
|
|
|
|
| |
llvm-svn: 183622
|
|
|
|
| |
llvm-svn: 183604
|
|
|
|
|
|
|
|
| |
This fixes a recent regression (r183338). Stripped elf files (like installed
crtn.o for example), are not required to have a symbol table. Handle that
correctly.
llvm-svn: 183573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lld can now output a valid Windows executable with a text section that does nothing
but just returns immediately. It's not able to handle relocations, symbol tables,
data sections, etc, so it still can't do anything practical, though.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D892
llvm-svn: 183478
|
|
|
|
| |
llvm-svn: 183338
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the parser for the ENTRY command. Note that because the parsing result
is currentlyd discarded, lld can parse but just ignore the command.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D833
llvm-svn: 183141
|
|
|
|
|
|
|
|
|
| |
Users can override the default value of the dynamic linker to be set to the
one that appears in the command line. The path can even be empty!.
Added a test for the option.
llvm-svn: 182889
|
|
|
|
| |
llvm-svn: 182795
|
|
|
|
|
|
| |
The expression _atomToAddressMap[atom] may modify _atomToAddressMap.
llvm-svn: 182793
|
|
|
|
| |
llvm-svn: 182789
|
|
|
|
|
|
| |
Reference::Kind.
llvm-svn: 182787
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add WinLinkDriver and connect it to the existing COFF reader. Remaining
parts are still stubs, so while it can now read a COFF file, it still
cannot link or output PE/COFF files yet.
Reviewers: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D865
llvm-svn: 182784
|
|
|
|
| |
llvm-svn: 182721
|
|
|
|
| |
llvm-svn: 182714
|
|
|
|
| |
llvm-svn: 182709
|
|
|
|
| |
llvm-svn: 182697
|
|
|
|
| |
llvm-svn: 182427
|
|
|
|
|
|
|
|
| |
so that their names are hidden.
This addresses comments raised by Sean/Rafael.
llvm-svn: 182230
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
only if they are relative. This removes the FIXME when the
relocations are being emitted and checks if the relocation
is relative and only then populates the addend information.
I couldnt add a testcase for this as llvm-readobj lacks
functionality of printing dynamic relocations.
When the functionality is added, remove the commented lines
from elf/ifunc.test to test functionality.
llvm-svn: 182077
|
|
|
|
|
|
|
|
|
|
|
| |
This patch splits X86_64Target specific code so that
the dynamic atoms and the Relocation handlers are in seperate
files for easier maintenace. The files are sure to grow and this
makes it easier to work with.
* There is no change in functionality *
llvm-svn: 182076
|
|
|
|
| |
llvm-svn: 182033
|
|
|
|
| |
llvm-svn: 182031
|
|
|
|
| |
llvm-svn: 181852
|
|
|
|
| |
llvm-svn: 181622
|
|
|
|
| |
llvm-svn: 181325
|