- Jul 16, 2016
-
-
Rui Ueyama authored
llvm-svn: 275695
-
Rui Ueyama authored
llvm-svn: 275694
-
Rui Ueyama authored
llvm-svn: 275693
-
Rui Ueyama authored
llvm-svn: 275692
-
George Rimar authored
BSD toolchain contains a bug: https://sourceforge.net/p/elftoolchain/tickets/491/ In short demangler works differently, fix was to update the testcase. It should fix the FreeBSD bot failture: http://lab.llvm.org:8011/builders/lld-x86_64-freebsd/builds/19432/steps/test_lld/logs/stdio Original commit message was: [ELF] - Implement extern "c++" version script tag Patch implements 'extern' version script tag. Currently only values in quotes(") are supported. Matching of externs is performed in the same pass as exact match of globals. Differential revision: http://reviews.llvm.org/D21930 llvm-svn: 275682
-
Rui Ueyama authored
llvm-svn: 275675
-
Rui Ueyama authored
SymbolVersions sounds like it had versions for a symbol, so rename it. llvm-svn: 275674
-
Rui Ueyama authored
The identifier `Version` was used too often in the code to handle symbol versions. The struct that contains version definitions is named `Version`. Local variables for version ID are named `Version`. Local varaible for version string are named `Version`. This patch give them different names. llvm-svn: 275673
-
Rui Ueyama authored
skip(S) consumes a token if the next token is S, so it can be used instead of peek() & next(). llvm-svn: 275672
-
Rui Ueyama authored
llvm-svn: 275670
-
Rui Ueyama authored
llvm-svn: 275669
-
Rui Ueyama authored
llvm-svn: 275667
-
Rui Ueyama authored
llvm-svn: 275666
-
Rui Ueyama authored
Previously, Verdefs and Verdauxs are separated in the section. The new layout is easier to write as we do not have to maintain two pointers and can avoid passing a reference to a pointer. llvm-svn: 275665
-
Rui Ueyama authored
llvm-svn: 275660
-
- Jul 15, 2016
-
-
Rui Ueyama authored
llvm-svn: 275608
-
Rui Ueyama authored
llvm-svn: 275605
-
Eugene Leviant authored
llvm-svn: 275549
-
Rui Ueyama authored
llvm-svn: 275531
-
Rui Ueyama authored
llvm-svn: 275530
-
Rui Ueyama authored
llvm-svn: 275528
-
Rui Ueyama authored
In a linker script, `.` is a special symbol indicating a counter. Previously, we had two expression types, ExprKind and SymbolAssignmentKind for `.` and all the other symbol names, respectively. But we could merge them because the former is a special case of the latter. llvm-svn: 275527
-
Rui Ueyama authored
Differential Revision: https://reviews.llvm.org/D22396 llvm-svn: 275526
-
Rui Ueyama authored
We should write to ErrorOS instead. Normaly, *ErrorOS == errs(), but they can be different if LLD is embedded. llvm-svn: 275525
-
Rui Ueyama authored
llvm-svn: 275524
-
Rui Ueyama authored
llvm-svn: 275523
-
Rui Ueyama authored
This patch corresponds to r275511 for COFF. llvm-svn: 275521
-
Rui Ueyama authored
Previously, it checked for the EC parameter and set HasError only when there was an error. But in most places we called error only when error had occurred, so this behavior was confusing. llvm-svn: 275517
-
- Jul 14, 2016
-
-
Peter Collingbourne authored
llvm-svn: 275477
-
Rui Ueyama authored
llvm-svn: 275447
-
Rui Ueyama authored
Differential Revision: http://reviews.llvm.org/D22323 llvm-svn: 275446
-
Eugene Leviant authored
llvm-svn: 275385
-
Eugene Leviant authored
llvm-svn: 275383
-
Rui Ueyama authored
ELF spec says that alignment of 0 is equivalent to 1. Previously, we arbitrary set to 0 or 1, but always setting to 1 makes our program simpler. llvm-svn: 275374
-
Rui Ueyama authored
r275301 made .got section be aligned on Target->GotEntrySize, so GotEntrySize must have been initialized. We didn't initialize it for AMDGPU. llvm-svn: 275373
-
Lang Hames authored
llvm-svn: 275362
-
- Jul 13, 2016
-
-
Rui Ueyama authored
Patch by H.J Lu. For x86-64 psABI, the entry size of .got and .got.plt sections is 8 bytes for both LP64 and ILP32. Add GotEntrySize and GotPltEntrySize to ELF target instead of using size of ELFT::uint. Now we can generate a simple working x32 executable. Differential Revision: http://reviews.llvm.org/D22288 llvm-svn: 275301
-
Rui Ueyama authored
Config members are named after corresponding command line options. This patch renames VAStart ImageBase so that they are in line with --image-base. Differential Revision: http://reviews.llvm.org/D22277 llvm-svn: 275298
-
George Rimar authored
Minor cleanup. Currently it looks wierd that having method addPredefinedSections() we still add 2 sections outside it without real reasons. Patch fixes that. Differential revision: http://reviews.llvm.org/D19981 llvm-svn: 275269
-
George Rimar authored
It broke build bots: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/8204 http://lab.llvm.org:8011/builders/lld-x86_64-freebsd/builds/19432 llvm-svn: 275258
-