summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorTilmann Scheller <t.scheller@samsung.com>2014-04-25 13:43:18 +0000
committerTilmann Scheller <t.scheller@samsung.com>2014-04-25 13:43:18 +0000
commite1cd93134fc2629b4be907c75bb5c7b4dd9b4657 (patch)
tree14109c2580f8d18523d7d13e99eea04844caaa98 /lib/CodeGen/CodeGenPrepare.cpp
parent0c4797c31a29964acdbdb70694b91c4c647a5fa2 (diff)
downloadllvm-e1cd93134fc2629b4be907c75bb5c7b4dd9b4657.tar.gz
llvm-e1cd93134fc2629b4be907c75bb5c7b4dd9b4657.tar.bz2
llvm-e1cd93134fc2629b4be907c75bb5c7b4dd9b4657.tar.xz
[ARM64] When compiling for ELF in PIC mode, local symbols shouldn't go through the GOT
There's no need for local symbols to go through the GOT, in fact it seems GNU ld is not even emitting GOT entries for local symbols and will error out when trying to resolve a GOT relocation for a local symbol. This bug triggers when bootstrapping clang on AArch64 Linux with -fPIC and the ARM64 backend. The AArch64 backend is not affected. With this commit it's now possible to bootstrap clang on AArch64 Linux with the ARM64 backend (-fPIC, -O3). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions