Skip to content

Commit 9b2599b

Browse files
maade93791thestinger
authored andcommitted
android: switch to armv8-a+memtag target ARM architecture
this is required for hardened_malloc to work on MTE-enabled devices (currently, 8th and 9th generation Pixels). As PVMFW only supports ARMv8 cores. ref: https://android.googlesource.com/platform/packages/modules/Virtualization/+/refs/tags/android-15.0.0_r1/pvmfw/platform.dts#100
1 parent 3f07acf commit 9b2599b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Android.bp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ cc_library {
7474
cflags: ["-DLABEL_MEMORY"],
7575
},
7676
device_has_arm_mte: {
77-
cflags: ["-DHAS_ARM_MTE", "-march=armv9-a+memtag"]
77+
cflags: ["-DHAS_ARM_MTE", "-march=armv8-a+dotprod+memtag"]
7878
},
7979
},
8080
apex_available: [

0 commit comments

Comments
 (0)