llvm-project/lld/test
Peter Collingbourne 1f71d748ae ELF: Do not create relative relocations for undefined symbols.
We need to ensure that the address of an undefined weak symbol evaluates to
zero. We were getting this right for non-PIC executables (where the symbol
can be evaluated directly) and for DSOs (where we emit a symbolic relocation
for these symbols, as they are preemptible). But we weren't getting it right
for PIEs. Probably the simplest way to ensure that these symbols evaluate
to zero is by not creating a relocation in .got for them.

Differential Revision: http://reviews.llvm.org/D19044

llvm-svn: 266161
2016-04-13 02:24:48 +00:00
..
COFF [COFF] Correct tests with bogus alignment 2016-03-18 21:47:12 +00:00
Driver/Inputs Remove the old ELF linker. 2016-02-28 00:10:58 +00:00
ELF ELF: Do not create relative relocations for undefined symbols. 2016-04-13 02:24:48 +00:00
Unit [lit] Python 3. 2014-03-26 00:53:48 +00:00
darwin Add the GC commandline options and throw errors if they are used 2016-01-15 17:39:02 +00:00
mach-o Parsed alignment should be a power of 2. 2016-03-24 00:36:37 +00:00
CMakeLists.txt Add dependency to llvm-dis. 2016-03-14 23:16:13 +00:00
lit.cfg Fix the detection of the shell feature and disable some tests when its not present 2016-03-30 20:15:50 +00:00
lit.site.cfg.in [lit] Python 3. 2014-03-26 00:53:48 +00:00