aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2022-11-16 12:50:33 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-11-16 12:50:33 +0000
commit46490941f7b2b9d20d2426bad98271a155ba9869 (patch)
tree356591786e6ded5557a2301bcbb7c4d0630d27ec
parent3d7d7fab1c9ea03d23dc8eb1b546c30a9b2ef7fe (diff)
parent538697eeaaba4640dbe85ba439e2de60ff7b2695 (diff)
downloadarm-optimized-routines-46490941f7b2b9d20d2426bad98271a155ba9869.tar.gz
Merge "Add mem*, str* functions to baremetal static lib"
-rw-r--r--Android.bp22
1 files changed, 22 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index ea238fe..4050312 100644
--- a/Android.bp
+++ b/Android.bp
@@ -151,15 +151,37 @@ cc_library_static {
arch: {
arm64: {
srcs: [
+ "string/aarch64/memchr.S",
"string/aarch64/memcmp.S",
"string/aarch64/memcpy.S",
+ "string/aarch64/memrchr.S",
"string/aarch64/memset.S",
+ "string/aarch64/stpcpy.S",
+ "string/aarch64/strchr.S",
+ "string/aarch64/strchrnul.S",
+ "string/aarch64/strcmp.S",
+ "string/aarch64/strcpy.S",
+ "string/aarch64/strlen.S",
+ "string/aarch64/strncmp.S",
+ "string/aarch64/strnlen.S",
+ "string/aarch64/strrchr.S",
],
asflags: [
+ "-D__memchr_aarch64=memchr",
"-D__memcmp_aarch64=memcmp",
"-D__memcpy_aarch64=memcpy",
"-D__memmove_aarch64=memmove",
+ "-D__memrchr_aarch64=memrchr",
"-D__memset_aarch64=memset",
+ "-D__stpcpy_aarch64=stpcpy",
+ "-D__strchr_aarch64=strchr",
+ "-D__strchrnul_aarch64=strchrnul",
+ "-D__strcmp_aarch64=strcmp",
+ "-D__strcpy_aarch64=strcpy",
+ "-D__strlen_aarch64=strlen",
+ "-D__strncmp_aarch64=strncmp",
+ "-D__strnlen_aarch64=strnlen",
+ "-D__strrchr_aarch64=strrchr",
],
},
},