- Mar 26, 2017
-
-
Rui Ueyama authored
llvm-svn: 298818
-
Rui Ueyama authored
Previously, computeAddend had many parameters but most of them were used only for MIPS. The MIPS ABI is too odd that I don't want to mix it into the regular code path. Splitting the function into non-MIPS and MIPS parts makes the regular code path easy to follow. llvm-svn: 298817
-
Rui Ueyama authored
llvm-svn: 298815
-
Rui Ueyama authored
llvm-svn: 298814
-
Rui Ueyama authored
llvm-svn: 298797
-
Rui Ueyama authored
llvm-svn: 298796
-
Rui Ueyama authored
llvm-svn: 298795
-
Rui Ueyama authored
llvm-svn: 298794
-
Rui Ueyama authored
llvm-svn: 298793
-
Rui Ueyama authored
llvm-svn: 298792
-
Rui Ueyama authored
llvm-svn: 298790
-
Rui Ueyama authored
llvm-svn: 298789
-
Rui Ueyama authored
llvm-svn: 298788
-
Rui Ueyama authored
llvm-svn: 298787
-
Rui Ueyama authored
C is short for Chunk, but we are no longer using that term. RI is probably short for relocation iterator, but this is not an interator. llvm-svn: 298786
-
Rui Ueyama authored
Previously, relocation offsets are recalculated for .eh_frame sections inside the main loop, and that messed up the main loop. This patch separates that logic into a dedicated class. llvm-svn: 298785
-
- Mar 25, 2017
-
-
Rui Ueyama authored
I just didn't know that raw_fd_ostream has has_colors() function. llvm-svn: 298749
-
Rui Ueyama authored
llvm-svn: 298748
-
- Mar 24, 2017
-
-
Rui Ueyama authored
llvm-svn: 298675
-
Rui Ueyama authored
The original code is a big `if` and `else` which ends with `continue` like this: if (cond) { ... // fall through } else { ... continue; } This patch rewrites it with the following. if (!cond) { ... continue; } ... llvm-svn: 298672
-
Rui Ueyama authored
llvm-svn: 298669
-
Rui Ueyama authored
llvm-svn: 298668
-
Rui Ueyama authored
llvm-svn: 298667
-
- Mar 23, 2017
-
-
Rui Ueyama authored
llvm-svn: 298632
-
Simon Atanasyan authored
These targets are related to MIPS N32 ABI. llvm-svn: 298591
-
Petr Hosek authored
This requires collectign all symbols referenced in the linker script and adding them to symbol table as undefined symbol. Differential Revision: https://reviews.llvm.org/D31147 llvm-svn: 298577
-
Rui Ueyama authored
I honestly do not understand this part of code as it is too tangled. What I'm trying now is to carefully disentangle it by transforming code without changing meaining to see if I can improve overall readability. llvm-svn: 298576
-
Rui Ueyama authored
llvm-svn: 298575
-
Rui Ueyama authored
llvm-svn: 298571
-
Rui Ueyama authored
Fixes https://bugs.llvm.org/show_bug.cgi?id=32307. Differential Revision: https://reviews.llvm.org/D31255 llvm-svn: 298569
-
Rui Ueyama authored
This is to improve compatibility with GNU Libtool that expect /supported targets:.* elf/ in a message for the -help option. Differential Revision: https://reviews.llvm.org/D31208 llvm-svn: 298568
-
Davide Italiano authored
Patch by Mark Kettenis. llvm-svn: 298567
-
Rui Ueyama authored
"Parallel" is the most important aspect of the functions, so we shouldn't omit that. llvm-svn: 298557
-
- Mar 22, 2017
-
-
Rui Ueyama authored
Previous output: $ ld.lld -version LLD 5.0.0 New output: $ ld.lld -version LLD 5.0.0 (compatible with GNU linkers) Differential Revision: https://reviews.llvm.org/D31199 llvm-svn: 298532
-
Rui Ueyama authored
This is a shorthand for Config->Wordsize == 8. So this is not strictly necessary but seems handy. "Is 64 bit?" is easier to read than "Is wordsize 8 byte?" llvm-svn: 298463
-
Rui Ueyama authored
LinkerScript used to be a template class, so we couldn't instantiate that class in elf::link. We instantiated ScriptConfig class earlier instead so that the linker script parser can store configurations to the object. Now that LinkerScript is not a template, it doesn't make sense to separate ScriptConfig from LinkerScript. This patch merges them. llvm-svn: 298457
-
Rui Ueyama authored
llvm-svn: 298456
-
- Mar 21, 2017
-
-
Rui Ueyama authored
llvm-svn: 298447
-
Rui Ueyama authored
This is a shorthand for `Config->IsLE ? support::little : support::big`. llvm-svn: 298445
-
Rui Ueyama authored
llvm-svn: 298403
-