about summary refs log tree commit diff
path: root/sysdeps/aarch64/Makefile
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2021-01-29 17:07:28 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2021-03-26 11:03:06 +0000
commitc076a0bc698c537f72c33bad2925f4e3da59d23c (patch)
tree188e36bfaa2c51ca50df2f1ef882a8fd57a61780 /sysdeps/aarch64/Makefile
parent42bac88a211a7fac9dd1bfe7d1e45e59ac50c24f (diff)
downloadglibc-c076a0bc698c537f72c33bad2925f4e3da59d23c.tar.gz
glibc-c076a0bc698c537f72c33bad2925f4e3da59d23c.tar.xz
glibc-c076a0bc698c537f72c33bad2925f4e3da59d23c.zip
malloc: Only support zeroing and not arbitrary memset with mtag
The memset api is suboptimal and does not provide much benefit. Memory
tagging only needs a zeroing memset (and only for memory that's sized
and aligned to multiples of the tag granule), so change the internal
api and the target hooks accordingly.  This is to simplify the
implementation of the target hook.

Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'sysdeps/aarch64/Makefile')
-rw-r--r--sysdeps/aarch64/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/aarch64/Makefile b/sysdeps/aarch64/Makefile
index d3ab37a40a..259070cfad 100644
--- a/sysdeps/aarch64/Makefile
+++ b/sysdeps/aarch64/Makefile
@@ -41,7 +41,7 @@ endif
 ifeq ($(subdir),misc)
 sysdep_headers += sys/ifunc.h
 sysdep_routines += __mtag_address_get_tag \
-		   __mtag_memset_tag \
+		   __mtag_tag_zero_region \
 		   __mtag_new_tag \
 		   __mtag_tag_region