- Jul 03, 2013
-
-
Rui Ueyama authored
llvm-svn: 185524
-
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
-
Rui Ueyama authored
llvm-svn: 185515
-
- Jul 02, 2013
-
-
Rui Ueyama authored
llvm-svn: 185420
-
- Jul 01, 2013
-
-
Rui Ueyama authored
llvm-svn: 185310
-
Rui Ueyama authored
llvm-svn: 185309
-
Rui Ueyama authored
llvm-svn: 185308
-
Rui Ueyama authored
llvm-svn: 185307
-
- Jun 30, 2013
-
-
Rui Ueyama authored
llvm-svn: 185285
-
Rui Ueyama authored
llvm-svn: 185283
-
- Jun 29, 2013
-
-
Rui Ueyama authored
function is not used in release build. llvm-svn: 185248
-
Rui Ueyama authored
llvm-svn: 185247
-
- Jun 28, 2013
-
-
Rui Ueyama authored
llvm-svn: 185205
-
Rui Ueyama authored
llvm-svn: 185200
-
Rui Ueyama authored
In order to support linking against DLL, the linker needs to create defined atoms for jump tables and etc. Because such atoms are not read from a file, they lack some information such as an ordinal. With this patch, COFFDefinedAtom is split into two classes; one is the base class of all COFF defined atoms, and another is a concrete class for atoms read from file. More classes inheriting COFFBaseDefinedAtom will be added for jump tables and etc. llvm-svn: 185195
-
Rui Ueyama authored
llvm-svn: 185134
-
Rui Ueyama authored
llvm-svn: 185133
-
Rui Ueyama authored
llvm-svn: 185130
-
Rui Ueyama authored
llvm-svn: 185129
-
Rui Ueyama authored
llvm-svn: 185128
-
Rui Ueyama authored
Templatize connectAtomsWithLayoutEdge() so that it can handle other types of defined atoms. llvm-svn: 185125
-
- Jun 27, 2013
-
-
Rui Ueyama authored
llvm-svn: 185102
-
- Jun 24, 2013
-
-
Shankar Easwaran authored
This renames variable name to reflect initial undefined symbols that are defined by the linker -u option. This doesnot change any functionality in lld, and updates code to reflect Nick's comment. llvm-svn: 184682
-
- Jun 23, 2013
-
-
Rui Ueyama authored
llvm-svn: 184653
-
Rui Ueyama authored
llvm-svn: 184651
-
Rui Ueyama authored
llvm-svn: 184649
-
- Jun 21, 2013
-
-
Rui Ueyama authored
llvm-svn: 184589
-
Rui Ueyama authored
llvm-svn: 184585
-
Rui Ueyama authored
llvm-svn: 184521
-
- Jun 20, 2013
-
-
Shankar Easwaran authored
This change moves the functionality of undefinedSymbols that were created in ELFTargetInfo into TargetInfo. Looks like MachO/Windows use similiar options like in ELF for creating undefined symbols when the linker is invoked. Address comment from Ruiu. (No change in functionality, except moving the functionality from ELF to TargetInfo, so that multiple architectures can use the same) llvm-svn: 184398
-
- Jun 19, 2013
-
-
Rui Ueyama authored
Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D998 llvm-svn: 184327
-
Shankar Easwaran authored
llvm-svn: 184266
-
- Jun 17, 2013
-
-
Rui Ueyama authored
Extract atom definitions as Atoms.h so that we can use them in other files. Also applied clang-format to Atoms.h. Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D995 llvm-svn: 184124
-
Rui Ueyama authored
This is the first patch toward full DLL support. With this patch, lld can read .lib file for a DLL. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D987 llvm-svn: 184101
-
Rui Ueyama authored
Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D988 llvm-svn: 184091
-
Rui Ueyama authored
Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D989 llvm-svn: 184085
-
Shankar Easwaran authored
This change adds functionality to add more sections like .gcc_except_table, .data.rel.local, .data.rel.ro into the default section map, so that they are all merged into appropriate output sections. This also makes c++ static binaries comparable to what you get with the default linker. Adds a test for testing the functionality. llvm-svn: 184071
-
- Jun 16, 2013
-
-
Rui Ueyama authored
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
-