summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/android-aarch64-link.cpp
Commit message (Collapse)AuthorAgeFilesLines
* set default max-page-size to 4KB in lld for Android Aarch64Zhizhou Yang2018-11-291-0/+5
| | | | | | | | | | | | | | | | | | | | Summary: This patch passes an option '-z max-page-size=4096' to lld through clang driver. This is for Android on Aarch64 target. The lld default page size is too large for Aarch64, which produces larger .so files and images for arm64 device targets. In this patch we set default page size to 4KB for Android Aarch64 targets instead. Reviewers: srhines, danalbert, ruiu, chh, peter.smith Reviewed By: srhines Subscribers: javed.absar, kristof.beyls, cfe-commits, george.burgess.iv, llozano Differential Revision: https://reviews.llvm.org/D55029 llvm-svn: 347897
* Use linker flag --fix-cortex-a53-843419 on Android ARM64 compilation.Stephen Hines2016-10-251-0/+17
Summary: This is only forced on if there is no non-Cortex-A53 CPU specified as well. Android's platform and NDK builds need to assume that the code can be run on Cortex-A53 devices, so we always enable the fix unless we know specifically that the code is only running on a different kind of CPU. Reviewers: cfe-commits Subscribers: aemerson, rengolin, tberghammer, pirama, danalbert Differential Revision: https://reviews.llvm.org/D25761 llvm-svn: 285127
OpenPOWER on IntegriCloud