platform_bionic/libc/arch-arm64/generic/bionic
Peter Collingbourne 900d07d6a1 Add arm64 string.h function implementations for use with hardware supporting MTE.
As it turns out, our "generic" arm64 implementations of certain string.h
functions are not actually generic, since they will eagerly read memory
possibly outside of the bounds of an MTE granule, which may lead to a segfault
on MTE-enabled hardware. Therefore, move the implementations into a "default"
directory and use ifuncs to select between them and a new set of "mte"
implementations, conditional on whether the hardware and kernel support MTE.

The MTE implementations are currently naive implementations written in C
but will later be replaced with a set of optimized assembly implementations.

Bug: 135772972
Change-Id: Ife37c4e0e6fd60ff20a34594cc09c541af4d1dd7
2019-10-29 16:18:31 -07:00
..
__memcpy_chk.S (arm64) Extend branch range in __memcpy_chk. 2018-08-31 15:02:12 -07:00
memcmp.S [AArch64] Optimize memcmp for medium to large sizes 2018-08-21 17:48:12 +00:00
memcpy.S Make memcpy memmove 2018-06-11 18:12:45 +00:00
memcpy_base.S libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings 2016-11-28 19:35:12 +00:00
memmove.S Make memcpy memmove 2018-06-11 18:12:45 +00:00
memset.S libc: ARM64: fix memset for non-standard ZVA sizes 2017-05-16 11:29:49 +01:00
stpcpy.S Add optimized stpcpy. 2014-06-30 12:48:13 -07:00
strcpy.S Add optimized stpcpy. 2014-06-30 12:48:13 -07:00
string_copy.S Regenerate the bionic NOTICE files. 2014-07-07 15:42:06 -07:00
wmemmove.S Add optimized AArch64 versions of bcopy and wmemmove based on memmove 2014-05-23 18:49:57 -07:00