platform_bionic/libc/arch-arm
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
..
bionic Move dl_unwind_find_exidx from libdl.a to libc.a 2019-10-14 16:34:12 -07:00
cortex-a7/bionic Remove denver from bionic 2018-12-04 06:38:08 +00:00
cortex-a9/bionic libc: import ARM strcmp from newlib 2019-05-16 04:37:26 +00:00
cortex-a15/bionic libc: import ARM strcmp from newlib 2019-05-16 04:37:26 +00:00
cortex-a53/bionic Remove denver from bionic 2018-12-04 06:38:08 +00:00
cortex-a55/bionic Remove denver from bionic 2018-12-04 06:38:08 +00:00
generic/bionic libc: Optimize ARM memcmp by using NEON. 2018-12-22 01:04:27 +00:00
krait/bionic libc: import ARM strcmp from newlib 2019-05-16 04:37:26 +00:00
kryo/bionic Remove denver from bionic 2018-12-04 06:38:08 +00:00
dynamic_function_dispatch.cpp Add arm64 string.h function implementations for use with hardware supporting MTE. 2019-10-29 16:18:31 -07:00
static_function_dispatch.S Use ifunc for ARM32 fortify functions 2018-11-28 10:56:21 -08:00