diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2021-02-04 10:04:07 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2021-03-26 11:03:06 +0000 |
commit | 40dc773f92ad33b6c742bbb84884761e399b9ce8 (patch) | |
tree | e9223aaca1a99fe76d799ba4367166975b77e780 /sysdeps/aarch64/Makefile | |
parent | d32624802d0b2105c95f699dd6a887b54cebf197 (diff) | |
download | glibc-40dc773f92ad33b6c742bbb84884761e399b9ce8.tar.gz glibc-40dc773f92ad33b6c742bbb84884761e399b9ce8.tar.xz glibc-40dc773f92ad33b6c742bbb84884761e399b9ce8.zip |
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.
Diffstat (limited to 'sysdeps/aarch64/Makefile')
-rw-r--r-- | sysdeps/aarch64/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
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 |