summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/android-pie.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't use -pie in relocatable link.Evgeniy Stepanov2018-03-091-0/+17
| | | | | | | | | | | | | | Summary: Android, in particular, got PIE enabled by default in r316606. It resulted in relocatable links passing both -r and -pie to the linker, which is not allowed. Reviewers: srhines Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D44229 llvm-svn: 327165
* Enable -pie and --enable-new-dtags by default on Android.Evgeniy Stepanov2017-10-251-0/+66
Summary: Also enable -no-pie on Gnu toolchain (previously available on Darwin only). Non-PIE executables won't even start on recent Android, and DT_RPATH is ignored by the loader. Reviewers: srhines, danalbert Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D38430 llvm-svn: 316606
OpenPOWER on IntegriCloud