aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-12-27 07:29:55 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-12-27 07:29:55 +0000
commita0ab8d7a5890f0c4c3dc7b1c919fe7d65251ab31 (patch)
treedaf20b28e9bb7da97ad58f3a5e71827980261574 /llvm/lib/Support/CommandLine.cpp
parentedf3c8292b3694f1fb6dd4ef88d872aa22b2add9 (diff)
downloadllvm-a0ab8d7a5890f0c4c3dc7b1c919fe7d65251ab31.zip
llvm-a0ab8d7a5890f0c4c3dc7b1c919fe7d65251ab31.tar.gz
llvm-a0ab8d7a5890f0c4c3dc7b1c919fe7d65251ab31.tar.bz2
[ELF] - Allow relocation to a weak undefined symbol when -z notext is given.
Previously we failed to resolve them when produced executables: "relocation R_X86_64_32 cannot be used against shared object; recompile with -fPIC" Patch fixes it so that we resolve them to 0 for executables. And for -shared case we still should produce the relocation. This finishes fixing PR35720. DIfferential revision: https://reviews.llvm.org/D41551 llvm-svn: 321473
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions