diff options
author | Matthias Maennich <maennich@google.com> | 2019-02-25 17:27:39 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-02-25 17:27:39 -0800 |
commit | 57b4e5f13396ae5f3657d127e4337f3632f11f63 (patch) | |
tree | d030dbd98b5482cb352c8c2d459ec09debff68f1 | |
parent | cf1f040c9daabdeb11da13151a3696fc7e3d30fb (diff) | |
parent | c1ba17411ec66ea6a300c0bb2167fe11d4f36657 (diff) | |
download | linux-kselftest-57b4e5f13396ae5f3657d127e4337f3632f11f63.tar.gz |
x86 tests: address test failures caused by Text Relocations am: 4a58c555e9
am: c1ba17411e
Change-Id: Icc9d5e72c80404e93a1b469502a284533c9bd646
-rw-r--r-- | Android.bp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/Android.bp b/Android.bp index 52689a08c8ff..91edc09928c5 100644 --- a/Android.bp +++ b/Android.bp @@ -321,7 +321,7 @@ cc_test { } } -// x86 test +// x86 tests cc_test { name: "kselftest_x86_tests", relative_install_path: "linux-kselftest/x86", @@ -349,11 +349,6 @@ cc_test { "tools/testing/selftests/x86/test_FISTTP.c", "tools/testing/selftests/x86/vdso_restorer.c", ], - // Allow text (read-only) relocations, which is the default - // for ld.bfd, but not lld. - ldflags: [ - "-Wl,-z,notext", - ], }, }, cflags: [ @@ -361,6 +356,7 @@ cc_test { "-pthread", ], c_std: "gnu99", + static_executable: true, defaults: ["kselftest_defaults"], } @@ -428,17 +424,13 @@ cc_test { "-pthread", ], c_std: "gnu99", + static_executable: true, test_per_src: false, defaults: ["kselftest_defaults"], enabled: false, arch: { x86: { enabled: true, - // Allow text (read-only) relocations, which is the default - // for ld.bfd, but not lld. - ldflags: [ - "-Wl,-z,notext", - ], }, }, } |