aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Lozano <ivanlozano@google.com>2018-11-27 12:59:52 -0800
committerIvan Lozano <ivanlozano@google.com>2018-11-27 12:59:52 -0800
commitfaaabc9c95ffbe83fab70606108071ae923db97f (patch)
tree415ec8753ac0c25ee36cc95a930d0180ee235cae
parentd2a27d5d2e688f8f43b317c42cb6ce1b28690acf (diff)
downloadplatform_external_libjpeg-turbo-nougat-iot-release.tar.gz
platform_external_libjpeg-turbo-nougat-iot-release.tar.bz2
platform_external_libjpeg-turbo-nougat-iot-release.zip
Some of the handwritten assembly in ./simd/arm64/jsimd_neon.S contains data intermixed with code. This is incompatible with execute-only memory layouts, so we need to disable XOM in this library. Bug: 77958880 Test: No more xom-related crashes in libjpeg. Change-Id: Ie79c0bc23d6ae8cf40d45fa53a50aba7259c90de
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 39f06bd9..f69f64ed 100644
--- a/Android.bp
+++ b/Android.bp
@@ -201,6 +201,7 @@ cc_defaults {
],
},
},
+ xom: false,
}
// Also build as a shared library.