]> granicus.if.org Git - clang/commit
Wrong crtbegin/crtend pair used for PIE on Android.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 10 Sep 2012 10:30:12 +0000 (10:30 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 10 Sep 2012 10:30:12 +0000 (10:30 +0000)
commita92983d236c88c942c283a1ee98003b2d5b56ea5
tree0f3fdf817dfc92a1cda3459b5d4351ec1e250148
parent2343b3d0c29356583a013d900f2817083ac2d4a0
Wrong crtbegin/crtend pair used for PIE on Android.

Android uses the same flavour of crt*.o for PIE and non-PIE executables, and a
different one for DSOs. GNU/Linux, on the other hand, uses one set of crt*.o
for non-PIE executables, and another for both PIE executables and DSOs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163500 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/linux-ld.c