]> granicus.if.org Git - clang/commit
[Driver] Use --warn-shared-textrel for Android.
authorDan Albert <danalbert@google.com>
Fri, 29 Mar 2019 18:34:25 +0000 (18:34 +0000)
committerDan Albert <danalbert@google.com>
Fri, 29 Mar 2019 18:34:25 +0000 (18:34 +0000)
commit653be2dd432756f65cfe29ab932175e5b99e3d1c
tree9634bff0ef85056f623088a556eece9c38abb489
parenta68f2a2d4e387b369202c9d421857adef34a7ed8
[Driver] Use --warn-shared-textrel for Android.

Android does not allow shared text relocations. Enable the linker
warning to detect them by default.

Reviewers: srhines, pirama

Reviewed By: srhines

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D53344

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