- Jul 25, 2013
-
-
Rui Ueyama authored
LLD still accepts both Unix and Windows style options when it's run as link.exe. This patch does not change functionality. llvm-svn: 187086
-
Rui Ueyama authored
The /include command line option is equivalent to Unix --undefined option, which forces the linker to resolve the given symbol name as if it's an unresolved symbol in one of its input files. This feature is used to link an additional object file or a shared library that no input files refer to. llvm-svn: 187084
-
- Jul 24, 2013
-
-
Nick Kledzik authored
llvm-svn: 186996
-
- Jul 23, 2013
-
-
Rui Ueyama authored
llvm-svn: 186957
-
Rui Ueyama authored
llvm-svn: 186911
-
Rui Ueyama authored
llvm-svn: 186888
-
Rui Ueyama authored
llvm-svn: 186882
-
- Jul 22, 2013
-
-
Rui Ueyama authored
llvm-svn: 186843
-
- Jul 20, 2013
-
-
Rui Ueyama authored
llvm-svn: 186771
-
Nick Kledzik authored
llvm-svn: 186755
-
Rui Ueyama authored
llvm-svn: 186739
-
- Jul 19, 2013
-
-
Rui Ueyama authored
llvm-svn: 186654
-
Rui Ueyama authored
llvm-svn: 186650
-
Rui Ueyama authored
llvm-svn: 186648
-
Rui Ueyama authored
llvm-svn: 186645
-
Rui Ueyama authored
The logic to search a library from the library paths will be implemented in a different patch. llvm-svn: 186644
-
Nick Kledzik authored
llvm-svn: 186640
-
Nick Kledzik authored
Add support for -all_load. Enhance DarwinLdDriverTest unit test test cases to test all options parsed so far llvm-svn: 186626
-
- Jul 18, 2013
-
-
Rui Ueyama authored
llvm-svn: 186612
-
- Jul 16, 2013
-
-
Rafael Espindola authored
llvm-svn: 186450
-
Rui Ueyama authored
llvm-svn: 186428
-
Rui Ueyama authored
This is a follow up patch for r186336. Reviewers: LegalizeAdulthood CC: silvas, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1144 llvm-svn: 186384
-
Rui Ueyama authored
llvm-svn: 186382
-
Rui Ueyama authored
llvm-svn: 186368
-
Rafael Espindola authored
This reverts commit 185657. It will be used by unit tests. llvm-svn: 186366
-
Rui Ueyama authored
- Make a const reference instead of copying an object - Fix a comment llvm-svn: 186355
-
Rui Ueyama authored
llvm-svn: 186353
-
- Jul 15, 2013
-
-
Rui Ueyama authored
llvm-svn: 186352
-
Rui Ueyama authored
llvm-svn: 186346
-
Rui Ueyama authored
Emit .reloc section. This is the first step to support DLL creation. The executable doesn't need .reloc section, but the DLL does. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1126 llvm-svn: 186336
-
- Jul 11, 2013
-
-
Rui Ueyama authored
This patch adds a new pass, IdataPass, to transform shared atom references to real references and to construct the .idata section data. With this patch lld can produce a working Hello World program by linking it against kernel32.dll and user32.dll. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1096 llvm-svn: 186071
-
Rui Ueyama authored
llvm-svn: 186066
-
- Jul 09, 2013
-
-
Rui Ueyama authored
Contents of ".reloc" section depends on the addresses of other sections, so the section cannot be created until all the other sections are created and get their memory addresses (RVAs). That means that computation of section size needs to be at least two pass. Techynically there's no reason to compute it all at once, but instead we can compute the address of a section as added to the output file. Doing so helps us to create ".reloc" section. llvm-svn: 185902
-
- Jul 08, 2013
-
-
Rui Ueyama authored
llvm-svn: 185803
-
- Jul 04, 2013
-
-
Rafael Espindola authored
llvm-svn: 185657
-
Rafael Espindola authored
llvm-svn: 185655
-
- Jul 03, 2013
-
-
Rui Ueyama authored
llvm-svn: 185534
-
Rui Ueyama authored
The optional data directory header contains addresses to some atoms such as the import address table in data section. Such fields can naturally be set by relocation if we make the optional data driectory as an atom. Currently we assume that atoms are always in a section, so we can't create a file header with atoms. This patch separates section chunk from atom chunk, to allow atom-based file header. llvm-svn: 185521
-
Rui Ueyama authored
llvm-svn: 185517
-
Rui Ueyama authored
A hint is an index of the export pointer table in a DLL, at which PE/COFF loader starts looking for a symbol name. The import library comes with hints and symbol pairs, and as long as hints are in sync with the actual symbol table in DLL, the symbols will be resolved quickly. So, we shouldn't ignore hints but propagate them to an output. llvm-svn: 185516
-