Add kryo support.

Currently, using kryo is the same as using krait, but there are specialized
routines that are pending that will be used after this commit.

Bug: 36728278

Test: Built and booted a sailfish using kryo.
Change-Id: Id7510640673c31f7536367041212db6d96a564f0
This commit is contained in:
Christopher Ferris 2017-03-29 13:10:56 -07:00
parent aa0b5054c5
commit 950a95836d

View file

@ -622,6 +622,13 @@ cc_library_static {
"upstream-openbsd/lib/libc/string/strcat.c",
],
},
kryo: {
exclude_srcs: [
"upstream-openbsd/lib/libc/string/memmove.c",
"upstream-openbsd/lib/libc/string/stpcpy.c",
"upstream-openbsd/lib/libc/string/strcat.c",
],
},
},
arm64: {
exclude_srcs: [
@ -1004,7 +1011,32 @@ cc_library_static {
"bionic/__strcpy_chk.cpp",
],
},
kryo: {
srcs: [
"arch-arm/krait/bionic/memcpy.S",
"arch-arm/krait/bionic/memset.S",
"arch-arm/krait/bionic/strcmp.S",
"arch-arm/krait/bionic/__strcat_chk.S",
"arch-arm/krait/bionic/__strcpy_chk.S",
// Use cortex-a15 versions of strcat/strcpy/strlen.
"arch-arm/cortex-a15/bionic/stpcpy.S",
"arch-arm/cortex-a15/bionic/strcat.S",
"arch-arm/cortex-a15/bionic/strcpy.S",
"arch-arm/cortex-a15/bionic/strlen.S",
"arch-arm/denver/bionic/memmove.S",
],
exclude_srcs: [
"arch-arm/generic/bionic/memcpy.S",
"arch-arm/generic/bionic/memset.S",
"arch-arm/generic/bionic/strcmp.S",
"arch-arm/generic/bionic/strcpy.S",
"arch-arm/generic/bionic/strlen.c",
"bionic/__strcat_chk.cpp",
"bionic/__strcpy_chk.cpp",
],
},
},
arm64: {
srcs: [