- Aug 29, 2013
-
-
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
-
Rui Ueyama authored
r189416 changed the order of command line options shown in help message, so the test needs adjusting. llvm-svn: 189417
-
Rui Ueyama authored
llvm-svn: 189413
-
- Aug 27, 2013
-
-
Rui Ueyama authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1527 llvm-svn: 189318
-
Rui Ueyama authored
llvm-svn: 189310
-
Rui Ueyama authored
llvm-svn: 189308
-
Rui Ueyama authored
With this patch the entry symbol is treated as an undefined symbol, to force the resolver to resolve the entry symbol. Differential Revision: http://llvm-reviews.chandlerc.com/D1524 llvm-svn: 189307
-
Rui Ueyama authored
This should have been done in r187823 when I renamed LinkingContext from TargetInfo. I missed a few files. llvm-svn: 189298
-
- Aug 26, 2013
-
-
Rui Ueyama authored
Patch by Jesús Serrano García. llvm-svn: 189267
-
Shankar Easwaran authored
The cleanup includes :- * Rename ambiguous Header class to ELFHeader * Convert Chunk contentype and kind to be a enumerated class * Remove functions that are not being used, avoids future confusion llvm-svn: 189209
-
Shankar Easwaran authored
llvm-svn: 189207
-
- Aug 25, 2013
-
-
Shankar Easwaran authored
llvm-svn: 189197
-
Shankar Easwaran authored
This change processes fini_array section in addition to processing init_array sections. This also makes functions registered at compile time for initialization and finalization to be run during execution llvm-svn: 189196
-
- Aug 24, 2013
-
-
Saleem Abdulrasool authored
This completes the subsystem name parsing to support the identifiers that the Microsoft link.exe linker supports. "windows" and "console" are left as the first items as they are the expected common paths. Signed-off-by:
Saleem Abdulrasool <compnerd@compnerd.org> llvm-svn: 189181
-
Rui Ueyama authored
in order to match link.exe's behaviour. Patch by Ron Ofir. llvm-svn: 189159
-
Hans Wennborg authored
llvm-svn: 189157
-
Rui Ueyama authored
Patch by Ron Ofir. llvm-svn: 189151
-
- Aug 23, 2013
-
-
Tim Northover authored
The debug flag being checked for seems to be controlled by whether the build is asserts/non-asserts rather than debug/non-debug. Mostly these correlate, but not necessarily. As far as I can tell with various combinations of debug/assetions this change makes no difference on autotools builds, but fixes a check-all failure with CMake. llvm-svn: 189147
-
Shankar Easwaran authored
There may be relocations that may be pointing to the section even if the section sizes are 0. We shouldnot ignore them for that regard. llvm-svn: 189139
-
Shankar Easwaran authored
There is no change in functionality, this uses the defined way to access the relocation section that belongs to a particular section. llvm-svn: 189138
-
Shankar Easwaran authored
typeTLV content type is used by Darwin to represent thread local storage. A new contentType has to be made to represent ELF thread local storage data. These have been set to - typeThreadZeroFill (represents TBSS storage) - typeThreadData (represents TDATA storage) llvm-svn: 189137
-
Shankar Easwaran authored
BSS atoms dont take any file space in the Input file. They are associated with a contentType(typeZeroFill). Similiar zero fill types also exist which have the same meaning in terms of occupying file space in the Input. These atoms have to be handled seperately when writing to the lld's intermediate file or the lld test infrastructure. Also adds a test. llvm-svn: 189136
-
Hans Wennborg authored
Previously, the CMake build would look for llvm-tblgen to determine if a directory is an LLVM build or install directory. Since we don't want to include llvm-tblgen in the install, look for llvm-config instead, and use that to find llvm-tblgen. (This is the lld equivalent of Clang r189127.) llvm-svn: 189128
-
- Aug 22, 2013
-
-
Shankar Easwaran authored
llvm-svn: 189035
-
Shankar Easwaran authored
llvm-svn: 189025
-
Shankar Easwaran authored
llvm-svn: 189023
-
Shankar Easwaran authored
llvm-svn: 188988
-
Shankar Easwaran authored
llvm-svn: 188983
-
Shankar Easwaran authored
llvm-svn: 188982
-
Shankar Easwaran authored
llvm-svn: 188981
-
Shankar Easwaran authored
llvm-svn: 188978
-
Shankar Easwaran authored
llvm-svn: 188965
-
Shankar Easwaran authored
llvm-svn: 188963
-
Shankar Easwaran authored
llvm-svn: 188961
-