From 40dc773f92ad33b6c742bbb84884761e399b9ce8 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 4 Feb 2021 10:04:07 +0000 Subject: aarch64: inline __libc_mtag_address_get_tag This is a common operation when heap tagging is enabled, so inline the instruction instead of using an extern call. The .inst directive is used instead of the name of the instruction (or acle intrinsics) because malloc.c is not compiled for armv8.5-a+memtag architecture, runtime cpu support detection is used. Prototypes are removed from the comments as they were not always correct. --- sysdeps/aarch64/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysdeps/aarch64/Makefile') diff --git a/sysdeps/aarch64/Makefile b/sysdeps/aarch64/Makefile index 259070cfad..5d594debea 100644 --- a/sysdeps/aarch64/Makefile +++ b/sysdeps/aarch64/Makefile @@ -40,8 +40,7 @@ endif ifeq ($(subdir),misc) sysdep_headers += sys/ifunc.h -sysdep_routines += __mtag_address_get_tag \ - __mtag_tag_zero_region \ +sysdep_routines += __mtag_tag_zero_region \ __mtag_new_tag \ __mtag_tag_region -- cgit 1.4.1