- Sep 04, 2013
-
-
Shankar Easwaran authored
Emit note sections if the input contains a note section. Also emit a note segment. llvm-svn: 189896
-
Rui Ueyama authored
Before this patch, name of driver implementation is not consistent with its option table file. Specifically, LDOptions has a different prefix than GnuLdDriver. This patch renames option files, so that the option files have the same prefix as the corresponding driver files. Differential Revision: http://llvm-reviews.chandlerc.com/D1591 llvm-svn: 189895
-
Shankar Easwaran authored
llvm-svn: 189891
-
Joerg Sonnenberger authored
llvm-svn: 189890
-
Shankar Easwaran authored
Also add a llvm_unreachable call so that the linker will trip on unhandled inputElement types. llvm-svn: 189887
-
Joerg Sonnenberger authored
llvm-svn: 189883
-
Rui Ueyama authored
llvm-svn: 189881
-
Rui Ueyama authored
llvm-svn: 189877
-
Shankar Easwaran authored
llvm-svn: 189876
-
Shankar Easwaran authored
llvm-svn: 189875
-
Shankar Easwaran authored
llvm-svn: 189874
-
Shankar Easwaran authored
llvm-svn: 189873
-
Shankar Easwaran authored
This adds init/fini support for Hexagon. llvm-svn: 189872
-
Shankar Easwaran authored
This changes the interface of createLinkerInput to use ErrorOr, so that errors from the linker can be captured. Also adds a convenience function for error strings to be returned from file nodes. llvm-svn: 189871
-
Rui Ueyama authored
llvm-svn: 189865
-
- Sep 03, 2013
-
-
Joerg Sonnenberger authored
llvm-svn: 189847
-
Joerg Sonnenberger authored
llvm-svn: 189826
-
Joerg Sonnenberger authored
dependencies should remain weak, not get promoted to undef or dropped. llvm-svn: 189793
-
Rui Ueyama authored
llvm-svn: 189778
-
Rui Ueyama authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1577 llvm-svn: 189777
-
Rui Ueyama authored
Also added a test to verify that entry symbol is not stripped even if dead stripping is enabled. llvm-svn: 189776
-
Rui Ueyama authored
llvm-svn: 189775
-
Rui Ueyama authored
llvm-svn: 189774
-
- Sep 02, 2013
-
-
Joerg Sonnenberger authored
llvm-svn: 189771
-
Joerg Sonnenberger authored
llvm-svn: 189752
-
Joerg Sonnenberger authored
llvm-svn: 189751
-
- Aug 31, 2013
-
-
Shankar Easwaran authored
* Renames few tests which had extension objtxt to test * created core directory that contains all the core tests llvm-svn: 189720
-
Shankar Easwaran authored
This creates .init_array/.fini_array section for X86_64 ELF targets and executes init/fini functions specified by the -init/-fini options respectively. llvm-svn: 189719
-
Shankar Easwaran authored
This adds an API to the LinkingContext for flavors to add Internal files containing atoms that need to appear in the YAML output as well, when -emit-yaml switch is used. Flavors can add more internal files for other options that are needed. llvm-svn: 189718
-
Rui Ueyama authored
llvm-svn: 189714
-
Rui Ueyama authored
llvm-svn: 189713
-
Rui Ueyama authored
llvm-svn: 189708
-
- Aug 29, 2013
-
-
Rui Ueyama authored
llvm-svn: 189614
-
Rui Ueyama authored
We added layout edges to the head atoms in grouped sections. That was wrong, because the head atom needs to be followed by the other atoms in the *same* section, not by the other section contents. With this patch, layout edges are added from tail atom, which is the last atom in a section, to head atom. llvm-svn: 189573
-
Rui Ueyama authored
Because of a bug, the last atom of each section contained a garbage at the end of its data. In most cases the garbage is harmless but it could have cause SEGV. llvm-svn: 189572
-
Rui Ueyama authored
llvm-svn: 189570
-
Rui Ueyama authored
We were creating undefined atoms for common symbols by mistake. That did not lead to a link failure, for undefined atoms would be resolved by common symbols in the same file, but that's a waste of resource. llvm-svn: 189534
-
Rui Ueyama authored
We scanned the symbol table twice; first to gather all regular symbols, and second to process aux symbols. That's a bit inefficient and complicated. We can instead cache aux symbols in the first pass, to eliminate the need of the second pass. llvm-svn: 189525
-
- Aug 28, 2013
-
-
Rui Ueyama authored
llvm-svn: 189505
-
Rui Ueyama authored
llvm-svn: 189423
-