- 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
-
- Apr 24, 2013
-
-
Michael J. Spencer authored
Patch by Rui Ueyama. llvm-svn: 180209
-
- Apr 12, 2013
-
-
Nico Rieck authored
llvm-svn: 179364
-
- Apr 11, 2013
-
-
Shankar Easwaran authored
llvm-svn: 179264
-
Shankar Easwaran authored
llvm-svn: 179260
-
Shankar Easwaran authored
to the list of undefined atoms. The processing of undefined atoms from dynamic libraries is controlled by use-shlib-undefines command line option. This patch also adds additional command line arguments to allow/disallow unresolved symbols from shared libraries and mimics GNU ld behavior. llvm-svn: 179257
-
- Apr 05, 2013
-
-
Shankar Easwaran authored
llvm-svn: 178840
-
Shankar Easwaran authored
llvm-svn: 178817
-
- Apr 04, 2013
-
-
Nick Kledzik authored
llvm-svn: 178788
-
Nick Kledzik authored
llvm-svn: 178777
-
Nick Kledzik authored
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
-
- Apr 03, 2013
-
-
Rafael Espindola authored
llvm-svn: 178693
-
- Apr 01, 2013
-
-
Shankar Easwaran authored
llvm-svn: 178495
-
Shankar Easwaran authored
llvm-svn: 178467
-
Shankar Easwaran authored
llvm-svn: 178466
-
- Mar 29, 2013
-
-
Shankar Easwaran authored
llvm-svn: 178323
-
- Mar 26, 2013
-
-
Shankar Easwaran authored
[ELF][Hexagon] Fixing failing test on Bots, few symbol names are available only in debug builds, dont check the symbol names llvm-svn: 177991
-
Shankar Easwaran authored
llvm-svn: 177970
-
Shankar Easwaran authored
llvm-svn: 177969
-
- Mar 25, 2013
-
-
Shankar Easwaran authored
llvm-svn: 177875
-