- Sep 01, 2016
-
-
Rafael Espindola authored
They were both pointing to the start of the got, not the end. Fixes pr28924. llvm-svn: 280310
-
Rafael Espindola authored
llvm-svn: 280305
-
- Aug 31, 2016
-
-
Rui Ueyama authored
Target->RelativeRel is used for all platforms, but AMDGPU did not send that member. Fixes bug 30227 - RelativeRel is used, but not initialized for AMDGPU. Differential Revision: https://reviews.llvm.org/D24100 llvm-svn: 280291
-
Rui Ueyama authored
Summary: VERSION commands define symbol versions. The grammar of the commnad is as follows VERSION { version-script-commands } where version-script-commands is [ name ] { version-definitions }. Note that we already support version-script-commands because it is being used for version script command. This patch is based on George's patch https://reviews.llvm.org/D23609 Reviewers: grimar Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24089 llvm-svn: 280284
-
Ivan Krasin authored
Summary: UBSan complains like the following: tools/lld/COFF/Writer.cpp:97:15: runtime error: null pointer passed as argument 2, which is declared to never be null The reason is that the vector could be empty. Reviewers: rsmith Subscribers: Eugene.Zelenko, kcc Differential Revision: https://reviews.llvm.org/D24050 llvm-svn: 280259
-
Petr Hosek authored
Symbol assignments outside of SECTIONS command need to be created even when SECTIONS command is not used. Differential Revision: https://reviews.llvm.org/D23751 llvm-svn: 280252
-
Rafael Espindola authored
llvm-svn: 280243
-
Rafael Espindola authored
Before this lld was always creating common symbols itself. It worked, but prevented them from being internalized when possible. Now it preserves common symbols is the bitcode and they are internalized. Fixes pr30184. llvm-svn: 280242
-
Rafael Espindola authored
llvm-svn: 280237
-
Rafael Espindola authored
Given that we almost always want to handle it as DefinedRegular, just use DefinedRegular. llvm-svn: 280226
-
Davide Italiano authored
llvm-svn: 280225
-
Davide Italiano authored
llvm-svn: 280224
-
Simon Atanasyan authored
llvm-svn: 280223
-
Simon Atanasyan authored
llvm-svn: 280222
-
George Rimar authored
Patch removes VersionScriptParser class and moves the members to ScriptParser It opens road for implementation of VERSION linkerscript command. Differential revision: https://reviews.llvm.org/D23774 llvm-svn: 280212
-
George Rimar authored
As stated in PR28843: we should handle command lines with -target1-rel -target1-abs --demangle --no-demangle Patch implements this for specified options. There are probably other conflicting options can exist, so fix is called "partial". Differential revision: https://reviews.llvm.org/D23867 llvm-svn: 280211
-
Eugene Leviant authored
This patch groups relative relocations in a single block in combrelocs mode and adds DT_RELCOUNT or DT_RELACOUNT tag to .dynamic section Differential revision: https://reviews.llvm.org/D23661 llvm-svn: 280210
-
George Rimar authored
DiscardPolicy is enum replacing several boolean options. This approach is not only consistent with what we use for unresolveds (UnresolvedPolicy), but also should help to solve a problem of options with opposing meanings, mentioned in PR28843 Differential revision: https://reviews.llvm.org/D23868 llvm-svn: 280209
-
George Rimar authored
This approach is not only consistent with UnresolvedPolicy, but also should help to solve a problem of options with opposing meanings, mentioned in PR28843 Differential revision: https://reviews.llvm.org/D23869 llvm-svn: 280206
-
Eugene Leviant authored
Allows adding start and/or end symbols to special output sections, like .eh_frame_hdr, which aren't lists of regular input sections. Differential revision: https://reviews.llvm.org/D23716 llvm-svn: 280205
-
Eugene Leviant authored
Differential revision: https://reviews.llvm.org/D24041 llvm-svn: 280203
-
- Aug 30, 2016
-
-
Rafael Espindola authored
We were computing the binding on both the caller and callee. llvm-svn: 280156
-
Davide Italiano authored
Differential Revision: https://reviews.llvm.org/D24037 llvm-svn: 280144
-
George Rimar authored
ADDR(section) Return the absolute address (the VMA) of the named section. Used in the wild, eg.: https://searchcode.com/file/53617342/arch/x86/kernel/vmlinux.lds.S Differential revision: https://reviews.llvm.org/D23913 llvm-svn: 280070
-
George Rimar authored
FreeBSD/mips script has non-wildcard filename specifications: .text : { start.o(.text*) Patch adds support for that, this is PR29115. Differential revision: https://reviews.llvm.org/D23839 llvm-svn: 280069
-
George Rimar authored
This addresses forgotten review comment for r280067: "[ELF] - Versionscript: support wildcards for extern "c++" tag." llvm-svn: 280068
-
George Rimar authored
Previously for extern keyword only names in quotes (exact match) was supported. Patch adds support for wildcards, so next scripts can be handled properly: LIBSAMPLE_1.0 { global: extern "C++" { foo*; }; }; Differential revision: https://reviews.llvm.org/D23794 llvm-svn: 280067
-
George Rimar authored
llvm-svn: 280066
-
Rui Ueyama authored
GNU gold handles output section fillers as 32-bit values. This patch makes LLD compatible with that behavior. Differential revision: https://reviews.llvm.org/D23181 llvm-svn: 280018
-
- Aug 29, 2016
-
-
Saleem Abdulrasool authored
This disambiguates `llvm::make_unqiue` and `std::make_unique` for the Windows buildbots. llvm-svn: 280014
-
Saleem Abdulrasool authored
The IMAGE_FILE_HEADER structure contains a (RVA, size) to an array of COFF_DEBUG_DIRECTORY records. Each one of these records contains an RVA to a OMF Debug Directory. These OMF debug directories are derived into newer types such as PDB70, PDB20, etc. This constructs a PDB70 structure which will allow us to associate a GUID with a build to actually tie debug information. llvm-svn: 280012
-
- Aug 26, 2016
-
-
Eugene Leviant authored
Differential revision: https://reviews.llvm.org/D23349 llvm-svn: 279810
-
Eugene Leviant authored
llvm-svn: 279809
-
- Aug 25, 2016
-
-
Hemant Kulkarni authored
llvm-svn: 279775
-
George Rimar authored
llvm-svn: 279729
-
George Rimar authored
-oformat output-format `-oformat' option can be used to specify the binary format for the output object file. Patch implements binary format output type. Differential revision: https://reviews.llvm.org/D23769 llvm-svn: 279726
-
- Aug 24, 2016
-
-
Nico Weber authored
llvm-svn: 279638
-
Peter Smith authored
The ARM Exception handling ABI requires that all ARM exception index table sections have a prefix of .ARM.exidx and are combined into a single contiguous block either in their own output section or as part of another output section. In general clang will output a single .ARM.exidx section per object, but will use .ARM.exidx.<section name> when -ffunction-sections is used. This change canonicalizes the names of sections with the .ARM.exidx prefix to just .ARM.exidx, which ensures that there is only a single output section. Differential Revision: https://reviews.llvm.org/D23775 llvm-svn: 279617
-
- Aug 22, 2016
-
-
Rafael Espindola authored
llvm-svn: 279480
-
Petr Hosek authored
Not only symbols (like sections) have names, in case where we fail to create relocation against such symbol, we should not print out an empty string, instead we should print a generic message. Differential Revision: https://reviews.llvm.org/D23731 llvm-svn: 279459
-