- Jul 03, 2013
-
-
Rui Ueyama authored
llvm-svn: 185524
-
- Jul 01, 2013
-
-
Rui Ueyama authored
llvm-svn: 185310
-
Rui Ueyama authored
llvm-svn: 185308
-
- Jun 30, 2013
-
-
Rui Ueyama authored
llvm-svn: 185283
-
- Jun 28, 2013
-
-
Rui Ueyama authored
llvm-svn: 185205
-
Rui Ueyama authored
llvm-svn: 185133
-
Rui Ueyama authored
llvm-svn: 185130
-
Rui Ueyama authored
llvm-svn: 185129
-
- Jun 27, 2013
-
-
Rui Ueyama authored
llvm-svn: 185102
-
- 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
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
-
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
-
Shankar Easwaran authored
[ELF] Add test so that _end value is set appropriately for NMAGIC/OMAGIC executables(Fix comment from espindola) llvm-svn: 184060
-
Shankar Easwaran authored
llvm-svn: 184055
-
- Jun 15, 2013
-
-
Rui Ueyama authored
llvm-svn: 184037
-
Rui Ueyama authored
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
-
Rui Ueyama authored
llvm-svn: 184035
-
- Jun 14, 2013
-
-
Rui Ueyama authored
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
-
- Jun 13, 2013
-
-
Rui Ueyama authored
Because the test does not actually cover basic features. llvm-svn: 183870
-
- Jun 12, 2013
-
-
Rui Ueyama authored
llvm-svn: 183853
-
Shankar Easwaran authored
llvm-svn: 183819
-
Shankar Easwaran authored
llvm-svn: 183817
-
Shankar Easwaran authored
llvm-svn: 183815
-
- Jun 10, 2013
-
-
Rui Ueyama authored
- 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
-
- Jun 07, 2013
-
-
Rafael Espindola authored
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
-
Rui Ueyama authored
Found that having a method to check the strucutre of the followon graph makes it easy to debug file readers. The method checks if there's no wrong edge in followOnNexts and followOnRoots. It is called only when debuggging is enabled for LayoutPass. Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D922 llvm-svn: 183553
-
Rui Ueyama authored
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
-
- Jun 05, 2013
-
-
Rafael Espindola authored
llvm-svn: 183285
-
- Jun 03, 2013
-
-
Rui Ueyama authored
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
-
- May 30, 2013
-
-
Shankar Easwaran authored
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
-
- May 28, 2013
-
-
Rui Ueyama authored
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
-
- May 22, 2013
-
-
Shankar Easwaran authored
be laid out by their ordinal overrides first, there was a bug that two atoms may get the same override index due to which atoms were not ordered properly. This commit fixes the problem. Now the atoms are ordered by - Section Position hints - Atom override (Using layout-after/layout-before/in-group) - Content Permissions - Content Type - File Ordinal This also fixes the problem of running c++ static executables that was broken by an earlier patch. llvm-svn: 182494
-
- May 21, 2013
-
-
Rui Ueyama authored
This binary file is created from shared.c. llvm-svn: 182410
-
- May 17, 2013
-
-
Shankar Easwaran authored
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
-
- May 10, 2013
-
-
Shankar Easwaran authored
llvm-svn: 181622
-
Shankar Easwaran authored
Layoutpass by ordering atoms if they appear in the override list first and then looking at the way of ordering atoms in the default way. The fix also fixes issues with the sizes of the sections, that appear in the output properly too. The commit also adds a testcase(orderatoms-by-override.test) to test it and fixes all the other relevant testcases. llvm-svn: 181605
-
Rui Ueyama authored
Also shuffle the atoms so that it can verify the layout pass actually changed the layout. llvm-svn: 181573
-
- May 01, 2013
-
-
Shankar Easwaran authored
llvm-svn: 180872
-