]> granicus.if.org Git - clang/commit
Don't enable PIE on i686-unknown-cloudabi.
authorEd Schouten <ed@nuxi.nl>
Thu, 11 Aug 2016 20:03:22 +0000 (20:03 +0000)
committerEd Schouten <ed@nuxi.nl>
Thu, 11 Aug 2016 20:03:22 +0000 (20:03 +0000)
commite5174eea266bb5ec9e752f898a42ce3266400fd5
treeb1015c7bc87dc437dacc20659f673064cd9aa54e
parent0882cc1ad83d061bb2a27aec757a5cac6e50a38d
Don't enable PIE on i686-unknown-cloudabi.

We're only going to provide support for using PIE on architectures that
provide PC-relative addressing. i686 is not one of those, so add the
necessary bits for only passing in -pie -zrelro conditionally.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278395 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
lib/Driver/Tools.cpp
test/Driver/cloudabi.c
test/Driver/cloudabi.cpp